mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2026-10-04 02:05:36 +00:00
Refactor console ending this saga
This commit is contained in:
13 files changed
+274
-64
No files matched your search
@@ -184,6 +184,13 @@ enum dvar_type : std::int8_t {
|
||||
DVAR_TYPE_FLOAT_3_COLOR = 0x9,
|
||||
};
|
||||
|
||||
enum class DvarSetSource {
|
||||
DVAR_SOURCE_INTERNAL,
|
||||
DVAR_SOURCE_EXTERNAL,
|
||||
DVAR_SOURCE_SCRIPT,
|
||||
DVAR_SOURCE_DEVGUI,
|
||||
};
|
||||
|
||||
union DvarValue {
|
||||
bool enabled;
|
||||
int integer;
|
||||
@@ -194,6 +201,8 @@ union DvarValue {
|
||||
char color[4];
|
||||
};
|
||||
|
||||
static_assert(sizeof(DvarValue) == 0x10);
|
||||
|
||||
struct enum_limit {
|
||||
int stringCount;
|
||||
const char** strings;
|
||||
|
||||
Reference in new issue
Block a user