From 65ada37a4d62ca2865f6de1575e00651e143477c Mon Sep 17 00:00:00 2001 From: Foereaper Date: Fri, 29 Nov 2024 22:27:36 +0100 Subject: [PATCH] Fix annotation case and cleanup --- methods/TrinityCore/GlobalMethods.h | 100 ++++++++++++++-------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/methods/TrinityCore/GlobalMethods.h b/methods/TrinityCore/GlobalMethods.h index dffbc5ffaa..fd8112d000 100644 --- a/methods/TrinityCore/GlobalMethods.h +++ b/methods/TrinityCore/GlobalMethods.h @@ -669,56 +669,56 @@ namespace LuaGlobalFunctions * * @table * @columns [ID, Event, State, Parameters, Comment] - * @values [1, ON_CHARACTER_CREATE, "WORLD", , ""] - - * @values [2, ON_CHARACTER_DELETE, "WORLD", , ""] - - * @values [3, ON_LOGIN, "WORLD", , ""] - - * @values [4, ON_LOGOUT, "WORLD", , ""] - - * @values [5, ON_SPELL_CAST, "MAP", , ""] - - * @values [6, ON_KILL_PLAYER, "MAP", , ""] - - * @values [7, ON_KILL_CREATURE, "MAP", , ""] - - * @values [8, ON_KILLED_BY_CREATURE, "MAP", , ""] - - * @values [9, ON_DUEL_REQUEST, "MAP", , ""]- - * @values [10, ON_DUEL_START, "MAP", , ""] - - * @values [11, ON_DUEL_END, "MAP", , ""] - - * @values [12, ON_GIVE_XP, "MAP", , "Can return new XP amount"] - - * @values [13, ON_LEVEL_CHANGE, "MAP", , ""] - - * @values [14, ON_MONEY_CHANGE, "MAP", , "Can return new money amount"] - * @values [15, ON_REPUTATION_CHANGE, "MAP", , "Can return new standing"] - * @values [16, ON_TALENTS_CHANGE, "MAP", , ""] - * @values [17, ON_TALENTS_RESET, "MAP", , ""] - * @values [18, ON_CHAT, "WORLD", , "Can return false, newMessage"] - * @values [19, ON_WHISPER, "WORLD", , "Can return false, newMessage"] - * @values [20, ON_GROUP_CHAT, "WORLD", , "Can return false, newMessage"] - * @values [21, ON_GUILD_CHAT, "WORLD", , "Can return false, newMessage"] - * @values [22, ON_CHANNEL_CHAT, "WORLD", , "Can return false, newMessage"] - * @values [23, ON_EMOTE, "MAP", , "Not triggered on any known emote"] - * @values [24, ON_TEXT_EMOTE, "MAP", , ""] - * @values [25, ON_SAVE, "MAP", , ""] - - * @values [26, ON_BIND_TO_INSTANCE, "MAP", , ""] - * @values [27, ON_UPDATE_ZONE, "MAP", , ""] - * @values [28, ON_MAP_CHANGE, "MAP", , ""] - - * @values [29, ON_EQUIP, "MAP", , ""] - * @values [30, ON_FIRST_LOGIN, "WORLD", , ""] - - * @values [31, ON_CAN_USE_ITEM, "MAP", , "Can return InventoryResult enum value"] - * @values [32, ON_LOOT_ITEM, "MAP", , ""] - * @values [33, ON_ENTER_COMBAT, "MAP", , ""] - * @values [34, ON_LEAVE_COMBAT, "MAP", , ""] - - * @values [35, ON_REPOP, "MAP", , ""] - - * @values [36, ON_RESURRECT, "MAP", , ""] - - * @values [37, ON_LOOT_MONEY, "MAP", , ""] - * @values [38, ON_QUEST_ABANDON, "MAP", , ""] - * @values [39, ON_LEARN_TALENTS, "MAP", , ""] - * @values [40, ON_ENVIRONMENTAL_DEATH, "MAP", , ""] - * @values [41, ON_TRADE_ACCEPT, "MAP", , "Can return false to interrupt trade"] - * @values [42, ON_COMMAND, "MAP", , "Player is nil if command used from console. Can return false"] - * @values [43, ON_SKILL_CHANGE, "MAP", , "Returns new skill level value"] - * @values [44, ON_LEARN_SPELL, "MAP", , ""] - * @values [45, ON_ACHIEVEMENT_COMPLETE, "MAP", , ""] - * @values [46, ON_DISCOVER_AREA, "MAP", , ""] - * @values [47, ON_UPDATE_AREA, "MAP", , ""] - * @values [48, ON_TRADE_INIT, "MAP", , "Can return false to interrupt trade"] - * @values [49, ON_SEND_MAIL, "MAP", , "Can return false to interrupt sending"] - * @values [54, ON_QUEST_STATUS_CHANGED, "MAP", , ""] - + * @values [1, ON_CHARACTER_CREATE, "WORLD", , ""] + * @values [2, ON_CHARACTER_DELETE, "WORLD", , ""] + * @values [3, ON_LOGIN, "WORLD", , ""] + * @values [4, ON_LOGOUT, "WORLD", , ""] + * @values [5, ON_SPELL_CAST, "MAP", , ""] + * @values [6, ON_KILL_PLAYER, "MAP", , ""] + * @values [7, ON_KILL_CREATURE, "MAP", , ""] + * @values [8, ON_KILLED_BY_CREATURE, "MAP", , ""] + * @values [9, ON_DUEL_REQUEST, "MAP", , ""] + * @values [10, ON_DUEL_START, "MAP", , ""] + * @values [11, ON_DUEL_END, "MAP", , ""] + * @values [12, ON_GIVE_XP, "MAP", , "Can return new XP amount"] + * @values [13, ON_LEVEL_CHANGE, "MAP", , ""] + * @values [14, ON_MONEY_CHANGE, "MAP", , "Can return new money amount"] + * @values [15, ON_REPUTATION_CHANGE, "MAP", , "Can return new standing"] + * @values [16, ON_TALENTS_CHANGE, "MAP", , ""] + * @values [17, ON_TALENTS_RESET, "MAP", , ""] + * @values [18, ON_CHAT, "WORLD", , "Can return false, newMessage"] + * @values [19, ON_WHISPER, "WORLD", , "Can return false, newMessage"] + * @values [20, ON_GROUP_CHAT, "WORLD", , "Can return false, newMessage"] + * @values [21, ON_GUILD_CHAT, "WORLD", , "Can return false, newMessage"] + * @values [22, ON_CHANNEL_CHAT, "WORLD", , "Can return false, newMessage"] + * @values [23, ON_EMOTE, "MAP", , "Not triggered on any known emote"] + * @values [24, ON_TEXT_EMOTE, "MAP", , ""] + * @values [25, ON_SAVE, "MAP", , ""] + * @values [26, ON_BIND_TO_INSTANCE, "MAP", , ""] + * @values [27, ON_UPDATE_ZONE, "MAP", , ""] + * @values [28, ON_MAP_CHANGE, "MAP", , ""] + * @values [29, ON_EQUIP, "MAP", , ""] + * @values [30, ON_FIRST_LOGIN, "WORLD", , ""] + * @values [31, ON_CAN_USE_ITEM, "MAP", , "Can return InventoryResult enum value"] + * @values [32, ON_LOOT_ITEM, "MAP", , ""] + * @values [33, ON_ENTER_COMBAT, "MAP", , ""] + * @values [34, ON_LEAVE_COMBAT, "MAP", , ""] + * @values [35, ON_REPOP, "MAP", , ""] + * @values [36, ON_RESURRECT, "MAP", , ""] + * @values [37, ON_LOOT_MONEY, "MAP", , ""] + * @values [38, ON_QUEST_ABANDON, "MAP", , ""] + * @values [39, ON_LEARN_TALENTS, "MAP", , ""] + * @values [40, ON_ENVIRONMENTAL_DEATH, "MAP", , ""] + * @values [41, ON_TRADE_ACCEPT, "MAP", , "Can return false to interrupt trade"] + * @values [42, ON_COMMAND, "MAP", , "Player is nil if command used from console. Can return false"] + * @values [43, ON_SKILL_CHANGE, "MAP", , "Returns new skill level value"] + * @values [44, ON_LEARN_SPELL, "MAP", , ""] + * @values [45, ON_ACHIEVEMENT_COMPLETE, "MAP", , ""] + * @values [46, ON_DISCOVER_AREA, "MAP", , ""] + * @values [47, ON_UPDATE_AREA, "MAP", , ""] + * @values [48, ON_TRADE_INIT, "MAP", , "Can return false to interrupt trade"] + * @values [49, ON_SEND_MAIL, "MAP", , "Can return false to interrupt sending"] + * @values [54, ON_QUEST_STATUS_CHANGED, "MAP", , ""] * * @proto cancel = (event, function) * @proto cancel = (event, function, shots)