mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
* 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
33 lines
700 B
C++
33 lines
700 B
C++
#ifndef EQEMU_LOOTDROP_ENTRIES_REPOSITORY_H
|
|
#define EQEMU_LOOTDROP_ENTRIES_REPOSITORY_H
|
|
|
|
#include "../database.h"
|
|
#include "../strings.h"
|
|
#include "base/base_lootdrop_entries_repository.h"
|
|
|
|
class LootdropEntriesRepository: public BaseLootdropEntriesRepository {
|
|
public:
|
|
|
|
static LootdropEntries NewNpcEntity()
|
|
{
|
|
LootdropEntries e{};
|
|
|
|
e.lootdrop_id = 0;
|
|
e.item_id = 0;
|
|
e.item_charges = 1;
|
|
e.equip_item = 1;
|
|
e.chance = 0;
|
|
e.disabled_chance = 0;
|
|
e.trivial_min_level = 0;
|
|
e.trivial_max_level = 0;
|
|
e.multiplier = 0;
|
|
e.npc_min_level = 0;
|
|
e.npc_max_level = 0;
|
|
|
|
return e;
|
|
}
|
|
|
|
};
|
|
|
|
#endif //EQEMU_LOOTDROP_ENTRIES_REPOSITORY_H
|