This commit is contained in:
aixianling
2025-01-09 17:45:40 +08:00
commit 5c9f1dae4a
3482 changed files with 1146531 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
class CActor;
// 玩家消息处理
class EventDispatcher
{
private:
EventDispatcher(){};
~EventDispatcher(){};
public:
static void Init();
// 处理玩家消息
static bool OnActorEvent(CActor* pActor, INT_PTR nEventID, CScriptValueList & paramList, CScriptValueList & retParamList);
// 注册脚本处理的消息
static bool RegistActorEvent(INT_PTR nEventID);
};