Merge pull request #261 from addtheice/RunQueryToDatabaseQuery_common_shareddb

Run query to database query common shareddb
This commit is contained in:
JJ committed 2014-10-15 21:37:33 -04:00
commit 09e1155a26
2 files changed
+1179 -1277

No files matched your search

+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);