feat(glue): initialize realm list

This commit is contained in:
fallenoak 2023-02-14 23:23:09 -06:00
parent ef834d938e
commit 780de91468
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
4 changed files with 36 additions and 2 deletions

View file

@ -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();
};