Added corpse encode and decode translators

This commit is contained in:
Uleat
2014-10-05 06:12:33 -04:00
parent 806a9fbb99
commit fa1fe55e01
4 changed files with 118 additions and 9 deletions
+2 -2
View File
@@ -112,8 +112,8 @@ public:
inline int GetRezzExp() { return rezzexp; }
// these are a temporary work-around until corpse inventory is removed from the database blob
//static uint32 ServerToCorpseSlot(int16 server_slot); // encode
//static int16 CorpseToServerSlot(uint32 corpse_slot); // decode
static uint16 ServerToCorpseSlot(uint16 server_slot); // encode
static uint16 CorpseToServerSlot(uint16 corpse_slot); // decode
protected:
std::list<uint32> MoveItemToCorpse(Client *client, ItemInst *item, int16 equipslot);