format codebase

This commit is contained in:
aronwk-aaron
2022-07-28 08:39:57 -05:00
parent 4f7aa11067
commit 19e77a38d8
881 changed files with 34700 additions and 38689 deletions

View File

@@ -9,7 +9,7 @@
\brief Contains data for the CDEmoteTable table
*/
//! CDEmoteEntry Struct
//! CDEmoteEntry Struct
struct CDEmoteTable {
CDEmoteTable() {
ID = -1;
@@ -22,35 +22,35 @@ struct CDEmoteTable {
gateVersion = -1;
}
int ID;
std::string animationName;
std::string iconFilename;
int locState;
int channel;
bool locked;
bool localize;
int gateVersion;
int ID;
std::string animationName;
std::string iconFilename;
int locState;
int channel;
bool locked;
bool localize;
int gateVersion;
};
//! CDEmoteTable table
class CDEmoteTableTable : public CDTable {
private:
std::map<int, CDEmoteTable*> entries;
std::map<int, CDEmoteTable*> entries;
public:
//! Constructor
CDEmoteTableTable(void);
//! Constructor
CDEmoteTableTable(void);
//! Destructor
~CDEmoteTableTable(void);
//! Destructor
~CDEmoteTableTable(void);
//! Returns the table's name
/*!
\return The table name
*/
std::string GetName(void) const override;
//! Returns an emote by ID
CDEmoteTable* GetEmote(int id);
//! Returns the table's name
/*!
\return The table name
*/
std::string GetName(void) const override;
//! Returns an emote by ID
CDEmoteTable* GetEmote(int id);
};