mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 20:46:47 +03:00
Implement GiveInvItem, TakeInvItem, GetInvItemCount and SetInvItemCount (names to be finalized).
This commit is contained in:
parent
9823087e32
commit
a00f3a23fb
2 changed files with 21 additions and 13 deletions
|
@ -96,10 +96,10 @@ public:
|
|||
void Earthquake(int strength);
|
||||
|
||||
// Inventory
|
||||
static void InventoryAdd(int slot, int count);
|
||||
static void InventoryRemove(int slot, int count);
|
||||
void InventoryGetCount(int slot);
|
||||
void InventorySetCount(int slot, int count);
|
||||
static void InventoryAdd(int slot, sol::optional<int> count);
|
||||
static void InventoryRemove(int slot, sol::optional<int> count);
|
||||
static int InventoryGetCount(int slot);
|
||||
static void InventorySetCount(int slot, int count);
|
||||
void InventoryCombine(int slot1, int slot2);
|
||||
void InventorySeparate(int slot);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue