Advertisement
Guest User

creatureevent.h

a guest
Feb 10th, 2013
918
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.63 KB | None | 0 0
  1. 57,757,8
  2.     CREATURE_EVENT_CAST,
  3.     CREATURE_EVENT_KILL,
  4.     CREATURE_EVENT_DEATH,
  5. -    CREATURE_EVENT_PREPAREDEATH
  6. +    CREATURE_EVENT_PREPAREDEATH,
  7. +    CREATURE_EVENT_EXTENDED_OPCODE // otclient additional network opcodes
  8. };
  9.  
  10. enum StatsChange_t
  11. 150,6151,7
  12.     uint32_t executeKill(Creature* creature, Creature* target, const DeathEntry& entry);
  13.     uint32_t executeDeath(Creature* creature, Item* corpse, DeathList deathList);
  14.     uint32_t executePrepareDeath(Creature* creature, DeathList deathList);
  15. +    uint32_t executeExtendedOpcode(Creature* creature, uint8_t opcode, const std::string& buffer);
  16. //
  17.  
  18. protected:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement