diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-11-12 20:58:30 -0500 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-11-12 21:16:08 -0500 |
commit | 009cfa4b2959bf89370e9d271f2244ef5446f3a0 (patch) | |
tree | 88f9185140a636b8c6fc3badfdec55cfee826290 /src/event.h | |
parent | 9ac7645f10d1e419703bdd35b276ce6e4eaf8152 (diff) | |
download | mana-009cfa4b2959bf89370e9d271f2244ef5446f3a0.tar.gz mana-009cfa4b2959bf89370e9d271f2244ef5446f3a0.tar.bz2 mana-009cfa4b2959bf89370e9d271f2244ef5446f3a0.tar.xz mana-009cfa4b2959bf89370e9d271f2244ef5446f3a0.zip |
Change NPC handling in the net code
Instead of using events to invoke netcode,
invoke netcode directly and have it send events
Reviewed-by: Freeyorp
Diffstat (limited to 'src/event.h')
-rw-r--r-- | src/event.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/event.h b/src/event.h index 99bd6fcb..4264232f 100644 --- a/src/event.h +++ b/src/event.h @@ -49,23 +49,17 @@ enum Events EVENT_BEING, EVENT_CLOSE, EVENT_CLOSEALL, + EVENT_CLOSESENT, EVENT_CONSTRUCTED, EVENT_DBSLOADING, EVENT_DESTROYED, EVENT_DESTRUCTED, EVENT_DESTRUCTING, - EVENT_DOCLOSE, EVENT_DOCLOSEINVENTORY, EVENT_DODROP, EVENT_DOEQUIP, - EVENT_DOINTEGERINPUT, - EVENT_DOMENU, EVENT_DOMOVE, - EVENT_DONEXT, - EVENT_DOSENDLETTER, EVENT_DOSPLIT, - EVENT_DOSTRINGINPUT, - EVENT_DOTALK, EVENT_DOUNEQUIP, EVENT_DOUSE, EVENT_END, @@ -76,19 +70,25 @@ enum Events EVENT_GUIWINDOWSUNLOADED, EVENT_GUIWINDOWSUNLOADING, EVENT_INTEGERINPUT, + EVENT_INTEGERINPUTSENT, EVENT_MAPLOADED, EVENT_MENU, + EVENT_MENUSENT, EVENT_MESSAGE, EVENT_NEXT, + EVENT_NEXTSENT, EVENT_NPCCOUNT, EVENT_PLAYER, EVENT_POST, EVENT_POSTCOUNT, + EVENT_SENDLETTERSENT, EVENT_SERVERNOTICE, EVENT_STATECHANGE, EVENT_STORAGECOUNT, EVENT_STRINGINPUT, + EVENT_STRINGINPUTSENT, EVENT_STUN, + EVENT_TALKSENT, EVENT_TRADING, EVENT_UPDATEATTRIBUTE, EVENT_UPDATESTAT, |