Core/AI: Added EventInform hook for GameObjectAI and implemented it in SAI
This commit is contained in:
1 parent
20b97b0119
commit
28f8e42a69
7 files changed
+53
-26
No files matched your search
@@ -153,9 +153,10 @@ enum SMART_EVENT
|
||||
SMART_EVENT_IS_BEHIND_TARGET = 67, //1 // cooldownMin, CooldownMax
|
||||
SMART_EVENT_GAME_EVENT_START = 68, //1 // game_event.Entry
|
||||
SMART_EVENT_GAME_EVENT_END = 69, //1 // game_event.Entry
|
||||
SMART_EVENT_GO_STATE_CHANGED = 70, // go state
|
||||
SMART_EVENT_GO_STATE_CHANGED = 70, //1 // go state
|
||||
SMART_EVENT_GO_EVENT_INFORM = 71, //1 // eventId
|
||||
|
||||
SMART_EVENT_END = 71,
|
||||
SMART_EVENT_END = 72,
|
||||
};
|
||||
|
||||
struct SmartEvent
|
||||
@@ -350,6 +351,11 @@ struct SmartEvent
|
||||
uint32 state;
|
||||
} goStateChanged;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 eventId;
|
||||
} eventInform;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 param1;
|
||||
|
||||
Reference in new issue
Block a user