mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +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:
+12
-1
@@ -9099,6 +9099,7 @@ void Client::ShowDevToolsMenu()
|
||||
|
||||
menu_reload_four += Saylink::Silent("#reload logs", "Level Based Experience Modifiers");
|
||||
menu_reload_four += " | " + Saylink::Silent("#reload logs", "Log Settings");
|
||||
menu_reload_four += " | " + Saylink::Silent("#reload Loot", "Loot");
|
||||
|
||||
menu_reload_five += Saylink::Silent("#reload merchants", "Merchants");
|
||||
menu_reload_five += " | " + Saylink::Silent("#reload npc_emotes", "NPC Emotes");
|
||||
@@ -10667,7 +10668,7 @@ std::vector<Client *> Client::GetPartyMembers()
|
||||
return clients_to_update;
|
||||
}
|
||||
|
||||
void Client::SummonBaggedItems(uint32 bag_item_id, const std::vector<ServerLootItem_Struct>& bag_items)
|
||||
void Client::SummonBaggedItems(uint32 bag_item_id, const std::vector<LootItem>& bag_items)
|
||||
{
|
||||
if (bag_items.empty())
|
||||
{
|
||||
@@ -11118,6 +11119,16 @@ void Client::SendReloadCommandMessages() {
|
||||
).c_str()
|
||||
);
|
||||
|
||||
auto loot_link = Saylink::Silent("#reload loot");
|
||||
|
||||
Message(
|
||||
Chat::White,
|
||||
fmt::format(
|
||||
"Usage: {} - Reloads Loot globally",
|
||||
loot_link
|
||||
).c_str()
|
||||
);
|
||||
|
||||
auto merchants_link = Saylink::Silent("#reload merchants");
|
||||
|
||||
Message(
|
||||
|
||||
Reference in New Issue
Block a user