mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
30 lines
728 B
C++
30 lines
728 B
C++
#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 float s_avgLoad;
|
|
static TSFixedArray<RealmCategory*> s_categories;
|
|
static int32_t s_preferredCategory;
|
|
static int32_t s_selectedCategory;
|
|
|
|
// Static functions
|
|
static void Initialize();
|
|
static void SetPreferredInfo(uint32_t index, int32_t pvp, int32_t rp);
|
|
static uint32_t Sub4DE910(uint32_t a1);
|
|
static void UpdateList();
|
|
};
|
|
|
|
#endif
|