DarkflameServer/dDatabase/Tables/CDEmoteTable.h

39 lines
638 B
C
Raw Permalink 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 = "";
}
2022-07-28 13:39:57 +00:00
int ID;
std::string animationName;
std::string iconFilename;
int locState;
int channel;
bool locked;
bool localize;
std::string gateVersion;
};
class CDEmoteTableTable : public CDTable<CDEmoteTableTable> {
private:
2022-07-28 13:39:57 +00:00
std::map<int, CDEmoteTable*> entries;
public:
CDEmoteTableTable();
~CDEmoteTableTable();
// Returns an emote by ID
2022-07-28 13:39:57 +00:00
CDEmoteTable* GetEmote(int id);
};