DarkflameServer/dDatabase/CDClientDatabase/CDClientTables/CDEmoteTable.h

35 lines
621 B
C
Raw Normal View History

#pragma once
// Custom Classes
#include "CDTable.h"
#include <map>
struct CDEmoteTable {
CDEmoteTable() {
ID = -1;
animationName = "";
iconFilename = "";
locState = -1;
channel = -1;
locked = false;
localize = false;
gateVersion = "";
}
int32_t ID;
2022-07-28 13:39:57 +00:00
std::string animationName;
std::string iconFilename;
int32_t locState;
int32_t channel;
2022-07-28 13:39:57 +00:00
bool locked;
bool localize;
std::string gateVersion;
};
class CDEmoteTableTable : public CDTable<CDEmoteTableTable, std::map<int, CDEmoteTable>> {
public:
void LoadValuesFromDatabase();
// Returns an emote by ID
CDEmoteTable* GetEmote(int32_t id);
};