This commit is contained in:
aozhiwei 2023-11-04 18:33:40 +08:00
parent 1bad51439f
commit fd42b3047f
2 changed files with 7 additions and 7 deletions

View File

@ -18,6 +18,13 @@
#include "mt/SkillNumber.h" #include "mt/SkillNumber.h"
#include "mt/Equip.h" #include "mt/Equip.h"
struct EventHandler
{
a8::CommonCbProc cb;
list_head entry;
std::shared_ptr<EventHandlerPtr> ptr;
};
static void DeleteEventHandler(void* context) static void DeleteEventHandler(void* context)
{ {
EventHandler* e = (EventHandler*)context; EventHandler* e = (EventHandler*)context;

View File

@ -6,13 +6,6 @@ struct EventHandlerPtr
struct EventHandler* data = nullptr; struct EventHandler* data = nullptr;
}; };
struct EventHandler
{
a8::CommonCbProc cb;
list_head entry;
std::shared_ptr<EventHandlerPtr> ptr;
};
enum EventId_e enum EventId_e
{ {
kNoneEvent = 0, kNoneEvent = 0,