找回密码
 register

QQ登录

只需一步,快速开始

查看: 557|回复: 0

[游戏教程] 七、武侠世界2源码分析:Interface

[复制链接]

[游戏教程] 七、武侠世界2源码分析:Interface

[复制链接]
  • 打卡等级:热心大叔
  • 打卡总天数:94
  • 打卡月天数:17
  • 打卡总奖励:94
  • 最近打卡:2025-01-18 01:28:20
Waylee

主题

0

回帖

1万

积分

仙帝

积分
12364
Waylee 2023-6-16 09:09 | 显示全部楼层 |阅读模式

马上注册,查看网站隐藏内容!!

您需要 登录 才可以下载或查看,没有账号?register

×
Interface 包含
模块描述
CEngineInterface(game\Engine\EngineInterface.h)负责图形相关接口
CGameInterface(game\Interface\GMGameInterface.h)负责游戏交互逻辑相关接口
GameInterface 模块(Client\GameInterface\)底层逻辑接口



7.1 ClassView

Collaboration diagram for CEngineInterface:

6.jpg


Public Member Functions

Oooo
CEngineInterface

virtual~CEngineInterface
voidInitial
voidRelease
voidTick
voidRenderFrame
voidRenderLodingFrame
voidOnPaint
voidOnSizeChange
virtual HWNDGetWindow
virtual BOOLPrintScreen
Fairy::System *GetFairySystem
fVector3GetSacle
voidCheckObjectTransparent
virtual BOOLAxis_Trans
virtual BOOLAxis_CheckValid
voidCamera_SetCurrent
voidCamera_SetOffset
voidCamera_SetLookAt
voidCamera_SetZoom
virtual FLOATCamera_GetZoom
voidCamera_Direction
voidCamera_AddDirection
virtual FLOATCamera_GetDirection
voidCamera_GetWindowToViewportRay
voidCamera_VibrateOneTime
voidCamera_SetEyePos
voidCamera_SetLookAtPos
voidPushDebugString
voidSetDebugString
voidSetHitObjText
voidScene_PreLoad
voidScene_Load
voidScene_UnLoad
voidScene_SetPostFilter
voidScene_SetPostFilter_Death
voidScene_SetLightmapQuality
voidScene_SetEnviromentInfo
voidScene_Enable32BitTextures
voidScene_SetTextureFiltering
voidScene_SetAnimationQuality
voidScene_SetPostFilterEnabled
voidScene_SetShadowTechnique
voidScene_ShowGridSwitch
voidSetShowObjectByType
voidDebug_AddParticle
voidDebug_SetFakeCamera
voidDebug_ToggleShowDebugPanel
voidDebug_ToggleShowBoundingBox
virtual tEntityNode*New_EntityObject
voidDestroy_EntityObject
virtual tEntityNode*Find_HitFairyObject
voidFakeObj_Create
voidFakeObj_Destroy
voidFakeObj_Show
virtual boolFakeObj_SetAttach
初始化
7.jpg

CGameInterface
voidObject_SelectAsMainTarget
voidObject_ShowContexMenu
voidPlayer_MoveTo
voidPlayer_UseSkill
voidPlayer_UseLifeAbility
voidPlayer_DestroyEquip
voidPlayer_UnEquip
voidPlayer_AskLevelUp
voidPlayer_AskCleanBat1Point
voidPlayer_Speak
voidSetAutoPathNPC
voidTripperObj_Active
voidItemBox_PickItem
voidPacketItem_UserItem
voidPacketItem_UserItem_ToTarget
voidPacketItem_UserEquip
voidPacketItem_UserGem
voidPacketItem_Destroy
voidPacketItem_SaveSuit
voidPacketItem_AddHole
voidPacketItem_EquipMount
voidPacketItem_CallMount
voidPacketItem_RecallMount
voidPacketItem_DiscardMount
voidHumanEquip_AddHole
voidPacketItem_BangDing
voidHumanEquip_BangDing
voidEquipSynthesize
voidEquipRework
voidGM_SendCommand
voidSendChatCommand
voidScene_SetPostFilter
voidScene_SetLightmapQuality
voidSkill_SetActive
virtual tActionItem*Skill_GetActive
voidSkill_CancelAction
voidBooth_BuyItem
voidBooth_SellItem
voidBooth_Close
voidBooth_Repair
voidBooth_EnterRepair
voidTitle_UpdateCurTitle
voidStall_OpenStallSale
virtual ENUM_RELATIONGetCampType
VOIDCheckAutoMove
oooo CGameInterface
virtual ~CGameInterface
voidInitial
voidTick
voidRelease


您需要登录后才可以回帖 登录 | register

本版积分规则

雪舞知识库 | 浙ICP备15015590号-1 | 萌ICP备20232229号|浙公网安备33048102000118号 |天天打卡

GMT+8, 2025-1-20 04:49 , Processed in 0.103645 second(s), 10 queries , Redis On.

Powered by XueWu Licensed

Copyright © Tencent Cloud.

快速回复 返回顶部 返回列表