diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-02-27 03:36:52 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-02-27 03:36:52 +0200 |
commit | 1b57518ca97c670174f89c5af28659b6ad0c3d42 (patch) | |
tree | 369c6e2f8cfbd791f252de68c0f85bd1af47c351 /src/inventory.h | |
parent | 037248d338291529e0c044a80ca8345abe05dd2b (diff) | |
download | manaverse-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.gz manaverse-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.bz2 manaverse-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.xz manaverse-1b57518ca97c670174f89c5af28659b6ad0c3d42.zip |
Implement receiving item color from server.
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inventory.h b/src/inventory.h index e53052f2b..1e2d8a2bc 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -91,13 +91,14 @@ class Inventory /** * Adds a new item in a free slot. */ - void addItem(int id, int quantity, int refine, bool equipment = false); + void addItem(int id, int quantity, int refine, unsigned char color, + bool equipment = false); /** * Sets the item at the given position. */ void setItem(int index, int id, int quantity, int refine, - bool equipment = false); + unsigned char color, bool equipment = false); /** * Remove a item from the inventory. |