forked from teamnwah/openmw-tes3coop
Rename GetEquipmentSlotCount() into GetEquipmentSize()
This commit is contained in:
parent
977e93288e
commit
356143faed
2 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ void ItemFunctions::UnequipItem(unsigned short pid, unsigned short slot) noexcep
|
|||
//ItemFunctions::EquipItem(pid, slot, "", 0);
|
||||
}
|
||||
|
||||
int ItemFunctions::GetEquipmentSlotCount() noexcept
|
||||
int ItemFunctions::GetEquipmentSize() noexcept
|
||||
{
|
||||
return MWWorld::InventoryStore::Slots;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
\
|
||||
{"EquipItem", ItemFunctions::EquipItem},\
|
||||
{"UnequipItem", ItemFunctions::UnequipItem},\
|
||||
{"GetEquipmentSlotCount", ItemFunctions::GetEquipmentSlotCount},\
|
||||
{"GetEquipmentSize", ItemFunctions::GetEquipmentSize},\
|
||||
{"HasItemEquipped", ItemFunctions::HasItemEquipped},\
|
||||
\
|
||||
{"GetItemSlot", ItemFunctions::GetItemSlot},\
|
||||
|
@ -32,7 +32,7 @@ public:
|
|||
|
||||
static void EquipItem(unsigned short pid, unsigned short slot, const char* itemName, unsigned int count, int health) noexcept;
|
||||
static void UnequipItem(unsigned short pid, unsigned short slot) noexcept;
|
||||
static int GetEquipmentSlotCount() noexcept;
|
||||
static int GetEquipmentSize() noexcept;
|
||||
static bool HasItemEquipped(unsigned short pid, const char* itemName);
|
||||
|
||||
static const char *GetItemSlot(unsigned short pid, unsigned short slot) noexcept;
|
||||
|
|
Loading…
Reference in a new issue