Files
wowdecomp/Engine/Source/ConsoleBase/ConsoleVar.h
T
SatyandClaude Opus 5.5 509a43e7cb SoundEngine: port 12340 SoundEngine.cpp (SE2), 146 definitions verified
SESoundInternal + file/memory/chat subclasses, SESound handle, wave cache,
channel groups, drivers, capture, Init/InitCapture/ShutDown. SoundCache.h
declared only. Adds CRndSeed::SetSeed, IsNaN, SFile::SetReadFatal,
FMOD_ErrorString OFFSET; SoundEngine becomes a static library. Note re/305.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 10:23:03 +02:00

47 lines
1.4 KiB
C++

#ifndef ENGINE_SOURCE_CONSOLEBASE_CONSOLEVAR_H
#define ENGINE_SOURCE_CONSOLEBASE_CONSOLEVAR_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/Base/RCString.h"
#include "Engine/Source/Storm/H/stpl.h"
class CVar;
struct HASHKEY_STRI;
class CVar : public TSHashObject<CVar, HASHKEY_STRI> {
public:
static CVar* Lookup(const char* name);
static CVar* Register(const char* name, const char* help, uint32_t flags, const char* value, bool (__stdcall* callback)(CVar*, const char*, const char*, void*), uint32_t category, bool setCommand, void* arg, bool unk);
/* 0018 */ uint32_t m_category;
/* 001C */ uint32_t m_flags;
/* 0020 */ RCString m_stringValue;
/* 002C */ float m_floatValue;
/* 0030 */ int32_t m_intValue;
/* 0034 */ int32_t m_modified;
/* 0038 */ RCString m_defaultValue;
/* 0044 */ RCString m_resetValue;
/* 0050 */ RCString m_latchedValue;
/* 005C */ RCString m_help;
/* 0068 */ bool (__stdcall* m_callback )(CVar*, const char*, const char*, void*);
/* 006C */ void* m_arg;
bool Set(const char* value, bool setValue, bool setReset, bool setDefault, bool unk);
};
class CVarArrayWrapper {
public:
/* 0000 */ uint32_t unk_0000;
};
class CVarIntListWrapper {
public:
/* 0000 */ uint32_t unk_0000;
/* 0004 */ uint32_t unk_0004;
/* 0008 */ uint8_t unk_0008[256];
/* 0108 */ uint32_t unk_0108;
};
#endif