Merge pull request #261 from addtheice/RunQueryToDatabaseQuery_common_shareddb

Run query to database query common shareddb
This commit is contained in:
JJ
2014-10-15 21:37:33 -04:00
2 changed files with 1179 additions and 1277 deletions
+1175 -1277
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -54,6 +54,10 @@ public:
*/
bool SaveCursor(uint32 char_id, std::list<ItemInst*>::const_iterator &start, std::list<ItemInst*>::const_iterator &end);
bool SaveInventory(uint32 char_id, const ItemInst* inst, int16 slot_id);
bool DeleteSharedBankSlot(uint32 char_id, int16 slot_id);
bool DeleteInventorySlot(uint32 char_id, int16 slot_id);
bool UpdateInventorySlot(uint32 char_id, const ItemInst* inst, int16 slot_id);
bool UpdateSharedBankSlot(uint32 char_id, const ItemInst* inst, int16 slot_id);
bool VerifyInventory(uint32 account_id, int16 slot_id, const ItemInst* inst);
bool GetSharedBank(uint32 id, Inventory* inv, bool is_charid);
int32 GetSharedPlatinum(uint32 account_id);