mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-04 17:19:09 +00:00
feat(ui): use class and area IDs for Character Selection
This commit is contained in:
parent
3689ef9b41
commit
152cb7dea4
3 changed files with 51 additions and 8 deletions
|
|
@ -1,11 +1,15 @@
|
|||
#ifndef CLIENTOBJECT_UNIT_C_HPP
|
||||
#define CLIENTOBJECT_UNIT_C_HPP
|
||||
|
||||
#include "db/rec/ChrRacesRec.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
class ChrRacesRec;
|
||||
class ChrClassesRec;
|
||||
|
||||
class CGUnit_C {
|
||||
public:
|
||||
static const char* GetDisplayRaceNameFromRecord(ChrRacesRec* record, uint8_t sexIn, uint8_t* sexOut = nullptr);
|
||||
static const char* GetDisplayClassNameFromRecord(ChrClassesRec* record, uint8_t sexIn, uint8_t* sexOut = nullptr);
|
||||
};
|
||||
|
||||
#endif // CLIENTOBJECT_UNIT_C_HPP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue