feat: add chat handler methods

This commit is contained in:
Axel Cocat
2022-02-09 23:04:35 +01:00
parent 61d13b7ffc
commit b23b33713a
6 changed files with 223 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ namespace Hooks
PLAYER_EVENT_ON_LEARN_TALENTS = 39, // (event, player, talentId, talentRank, spellid)
// UNUSED = 40, // (event, player)
// UNUSED = 41, // (event, player)
PLAYER_EVENT_ON_COMMAND = 42, // (event, player, command) - player is nil if command used from console. Can return false
PLAYER_EVENT_ON_COMMAND = 42, // (event, player, command, chatHandler) - player is nil if command used from console. Can return false
PLAYER_EVENT_ON_PET_ADDED_TO_WORLD = 43, // (event, player, pet)
PLAYER_EVENT_COUNT