2023-02-11 23:35:53 -06:00
|
|
|
#ifndef GLUE_C_REALM_LIST_HPP
|
|
|
|
|
#define GLUE_C_REALM_LIST_HPP
|
|
|
|
|
|
2023-02-14 23:23:09 -06:00
|
|
|
#include <cstdint>
|
|
|
|
|
#include <storm/Array.hpp>
|
|
|
|
|
|
|
|
|
|
class Cfg_CategoriesRec;
|
|
|
|
|
|
|
|
|
|
struct RealmCategory {
|
|
|
|
|
Cfg_CategoriesRec* m_category;
|
|
|
|
|
TSGrowableArray<uint32_t> m_realms;
|
|
|
|
|
uint32_t uint14;
|
|
|
|
|
};
|
|
|
|
|
|
2023-02-11 23:35:53 -06:00
|
|
|
class CRealmList {
|
|
|
|
|
public:
|
2023-02-14 23:23:09 -06:00
|
|
|
// Static variables
|
|
|
|
|
static TSFixedArray<RealmCategory*> s_categories;
|
|
|
|
|
|
2023-02-11 23:35:53 -06:00
|
|
|
// Static functions
|
2023-02-14 23:23:09 -06:00
|
|
|
static void Initialize();
|
2023-02-11 23:35:53 -06:00
|
|
|
static void UpdateList();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|