mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
feat(glue): initialize realm list
This commit is contained in:
parent
ef834d938e
commit
780de91468
4 changed files with 36 additions and 2 deletions
|
|
@ -1,9 +1,24 @@
|
|||
#ifndef GLUE_C_REALM_LIST_HPP
|
||||
#define GLUE_C_REALM_LIST_HPP
|
||||
|
||||
#include <cstdint>
|
||||
#include <storm/Array.hpp>
|
||||
|
||||
class Cfg_CategoriesRec;
|
||||
|
||||
struct RealmCategory {
|
||||
Cfg_CategoriesRec* m_category;
|
||||
TSGrowableArray<uint32_t> m_realms;
|
||||
uint32_t uint14;
|
||||
};
|
||||
|
||||
class CRealmList {
|
||||
public:
|
||||
// Static variables
|
||||
static TSFixedArray<RealmCategory*> s_categories;
|
||||
|
||||
// Static functions
|
||||
static void Initialize();
|
||||
static void UpdateList();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue