[Commands] Cleanup #raidloot Command. (#1757)

- Cleanup message and logic.
- Add RaidLootTypes enum and map for names.
This commit is contained in:
Kinglykrab
2021-11-14 20:50:51 -05:00
committed by GitHub
parent 264c6cb019
commit b2c86f5571
2 changed files with 62 additions and 47 deletions
+9
View File
@@ -257,6 +257,15 @@ namespace BeastlordPetData {
};
}
namespace RaidLootTypes {
enum : uint32 {
RaidLeader = 1,
GroupLeader,
Selected,
All
};
}
class ZoneDatabase : public SharedDatabase {
typedef std::list<ServerLootItem_Struct*> ItemList;
public: