// define event types by enumerating them here // global events def(GLOBAL, CLOCK) // per-player def(PLAYER, BIRTH) // called as very first thing after creating a player def(PLAYER, QUIT) // called after logout def(PLAYER, LOAD) def(PLAYER, SAVE) def(PLAYER, LOGIN) def(PLAYER, LOGOUT) def(PLAYER, DEATH) def(PLAYER, ENTER) def(PLAYER, LEAVE) // per-object events def(OBJECT, APPLY) // per-map def(MAP, LOAD) // Original map has been loaded def(MAP, SWAPIN) // Temporary map has been swapped in def(MAP, SWAPOUT) // Map has been swapped out def(MAP, RESET) // A map is resetting def(MAP, CLEAN) // Temporary map will be deleted