mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 09:37:55 +00:00
[Loot] Remove from shared memory, simplification (#3988)
* First pass of pulling loot out of shared memory, functional * More code cleanup * More cleanup * More cleanup * More cleanup * Add loot reload type * Reload, logging * Update npc.h * Cleanup * Logging, don't load attempt to load loottable id 0 * Update worldserver.cpp * Update client.cpp * Update zone_loot.cpp * PR feedback * Update zone.cpp * Memory leak suggestion * Update CMakeLists.txt * Post rebase issues
This commit is contained in:
+5
-5
@@ -44,9 +44,9 @@ public:
|
||||
void RemoveItem(int item_id);
|
||||
void RemoveItem(int item_id, int quantity);
|
||||
void RemoveItem(int item_id, int quantity, int slot);
|
||||
void ClearItemList();
|
||||
void AddCash(uint32 copper, uint32 silver, uint32 gold, uint32 platinum);
|
||||
void RemoveCash();
|
||||
void ClearLootItems();
|
||||
void AddLootCash(uint32 copper, uint32 silver, uint32 gold, uint32 platinum);
|
||||
void RemoveLootCash();
|
||||
int CountLoot();
|
||||
int GetLoottableID();
|
||||
uint32 GetCopper();
|
||||
@@ -147,8 +147,8 @@ public:
|
||||
void ClearLastName();
|
||||
bool HasItem(uint32 item_id);
|
||||
uint16 CountItem(uint32 item_id);
|
||||
uint32 GetItemIDBySlot(uint16 slot_id);
|
||||
uint16 GetFirstSlotByItemID(uint32 item_id);
|
||||
uint32 GetLootItemIDBySlot(uint16 loot_slot);
|
||||
uint16 GetFirstLootSlotByItemID(uint32 item_id);
|
||||
float GetHealScale();
|
||||
float GetSpellScale();
|
||||
Lua_NPC_Loot_List GetLootList(lua_State* L);
|
||||
|
||||
Reference in New Issue
Block a user