|
|
@ -20,11 +20,11 @@
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"GetEquipmentItemId", ItemFunctions::GetEquipmentItemId},\
|
|
|
|
{"GetEquipmentItemId", ItemFunctions::GetEquipmentItemId},\
|
|
|
|
{"GetEquipmentItemCount", ItemFunctions::GetEquipmentItemCount},\
|
|
|
|
{"GetEquipmentItemCount", ItemFunctions::GetEquipmentItemCount},\
|
|
|
|
{"GetEquipmentItemHealth", ItemFunctions::GetEquipmentItemHealth},\
|
|
|
|
{"GetEquipmentItemCharge", ItemFunctions::GetEquipmentItemCharge},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"GetInventoryItemId", ItemFunctions::GetInventoryItemId},\
|
|
|
|
{"GetInventoryItemId", ItemFunctions::GetInventoryItemId},\
|
|
|
|
{"GetInventoryItemCount", ItemFunctions::GetInventoryItemCount},\
|
|
|
|
{"GetInventoryItemCount", ItemFunctions::GetInventoryItemCount},\
|
|
|
|
{"GetInventoryItemHealth", ItemFunctions::GetInventoryItemHealth},\
|
|
|
|
{"GetInventoryItemCharge", ItemFunctions::GetInventoryItemCharge},\
|
|
|
|
\
|
|
|
|
\
|
|
|
|
{"SendEquipment", ItemFunctions::SendEquipment},\
|
|
|
|
{"SendEquipment", ItemFunctions::SendEquipment},\
|
|
|
|
{"SendInventoryChanges", ItemFunctions::SendInventoryChanges}
|
|
|
|
{"SendInventoryChanges", ItemFunctions::SendInventoryChanges}
|
|
|
@ -36,10 +36,10 @@ public:
|
|
|
|
static int GetEquipmentSize() noexcept;
|
|
|
|
static int GetEquipmentSize() noexcept;
|
|
|
|
static unsigned int GetInventoryChangesSize(unsigned short pid) noexcept;
|
|
|
|
static unsigned int GetInventoryChangesSize(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
static void EquipItem(unsigned short pid, unsigned short slot, const char* itemId, unsigned int count, int health) noexcept;
|
|
|
|
static void EquipItem(unsigned short pid, unsigned short slot, const char* itemId, unsigned int count, int charge) noexcept;
|
|
|
|
static void UnequipItem(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
static void UnequipItem(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
static void AddItem(unsigned short pid, const char* itemId, unsigned int count, int health) noexcept;
|
|
|
|
static void AddItem(unsigned short pid, const char* itemId, unsigned int count, int charge) noexcept;
|
|
|
|
static void RemoveItem(unsigned short pid, const char* itemId, unsigned short count) noexcept;
|
|
|
|
static void RemoveItem(unsigned short pid, const char* itemId, unsigned short count) noexcept;
|
|
|
|
static void ClearInventory(unsigned short pid) noexcept;
|
|
|
|
static void ClearInventory(unsigned short pid) noexcept;
|
|
|
|
|
|
|
|
|
|
|
@ -47,11 +47,11 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
static const char *GetEquipmentItemId(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
static const char *GetEquipmentItemId(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
static int GetEquipmentItemCount(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
static int GetEquipmentItemCount(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
static int GetEquipmentItemHealth(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
static int GetEquipmentItemCharge(unsigned short pid, unsigned short slot) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
static const char *GetInventoryItemId(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static const char *GetInventoryItemId(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetInventoryItemCount(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetInventoryItemCount(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetInventoryItemHealth(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
static int GetInventoryItemCharge(unsigned short pid, unsigned int i) noexcept;
|
|
|
|
|
|
|
|
|
|
|
|
static void SendEquipment(unsigned short pid) noexcept;
|
|
|
|
static void SendEquipment(unsigned short pid) noexcept;
|
|
|
|
static void SendInventoryChanges(unsigned short pid) noexcept;
|
|
|
|
static void SendInventoryChanges(unsigned short pid) noexcept;
|
|
|
|