From 199efc2ec8a869d4fbca20606c2327f305163dfa Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Wed, 19 Jul 2017 18:56:22 +0300 Subject: [PATCH] Change documentation a bit --- GlobalMethods.h | 2 +- Hooks.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GlobalMethods.h b/GlobalMethods.h index 78aaf03..36c252b 100644 --- a/GlobalMethods.h +++ b/GlobalMethods.h @@ -671,7 +671,7 @@ namespace LuaGlobalFunctions * // Custom * PLAYER_EVENT_ON_EQUIP = 29, // (event, player, item, bag, slot) * PLAYER_EVENT_ON_FIRST_LOGIN = 30, // (event, player) - * PLAYER_EVENT_ON_CAN_USE_ITEM = 31, // (event, player, itemEntry) - Can return InventoryResult + * PLAYER_EVENT_ON_CAN_USE_ITEM = 31, // (event, player, itemEntry) - Can return InventoryResult enum value * PLAYER_EVENT_ON_LOOT_ITEM = 32, // (event, player, item, count) * PLAYER_EVENT_ON_ENTER_COMBAT = 33, // (event, player, enemy) * PLAYER_EVENT_ON_LEAVE_COMBAT = 34, // (event, player) diff --git a/Hooks.h b/Hooks.h index 95e29f5..e693b1f 100644 --- a/Hooks.h +++ b/Hooks.h @@ -192,7 +192,7 @@ namespace Hooks // Custom PLAYER_EVENT_ON_EQUIP = 29, // (event, player, item, bag, slot) PLAYER_EVENT_ON_FIRST_LOGIN = 30, // (event, player) - PLAYER_EVENT_ON_CAN_USE_ITEM = 31, // (event, player, itemEntry) - Can return InventoryResult + PLAYER_EVENT_ON_CAN_USE_ITEM = 31, // (event, player, itemEntry) - Can return InventoryResult enum value PLAYER_EVENT_ON_LOOT_ITEM = 32, // (event, player, item, count) PLAYER_EVENT_ON_ENTER_COMBAT = 33, // (event, player, enemy) PLAYER_EVENT_ON_LEAVE_COMBAT = 34, // (event, player)