26.05.2023

This commit is contained in:
Konstantin 'cpz' L. 2024-05-26 22:43:57 +03:00
parent 2765fe2584
commit cc4240fe5c
14 changed files with 27353 additions and 16637 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2396
sdk/assetpreview.hpp Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -56,10 +56,108 @@ enum class SpawnDebugRestrictionOverrideState_t : uint32_t
SPAWN_DEBUG_RESTRICT_IGNORE_TARGET_COOLDOWN_LIMITS = 0x8,
};
struct ChangeAccessorFieldPathIndex_t;
struct CEntityIdentity;
struct CScriptComponent;
struct EngineLoopState_t;
struct EntComponentInfo_t;
struct CEntityComponentHelper;
struct ChangeAccessorFieldPathIndex_t;
// Registered binary: engine2.dll (project 'entity2')
// Alignment: 8
// Size: 0x8
// Has VTable
// Is Abstract
// Has Trivial Destructor
class CEntityComponent
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
// No schema binary for binding
};
// Registered binary: engine2.dll (project 'entity2')
// Alignment: 8
// Size: 0x38
// Has VTable
class CScriptComponent : public CEntityComponent
{
private:
[[maybe_unused]] uint8_t __pad0008[0x28]; // 0x8
public:
CUtlSymbolLarge m_scriptClassName; // 0x30
// Static fields:
static EntComponentInfo_t &Get_s_EntComponentInfo(){return *reinterpret_cast<EntComponentInfo_t*>(interfaces::g_schema->FindTypeScopeForModule("engine2.dll")->FindDeclaredClass("CScriptComponent")->m_static_fields[0]->m_instance);};
static int32_t &Get_entity_component_error_class_decl_says_contained_but_impl_is_referenced(){return *reinterpret_cast<int32_t*>(interfaces::g_schema->FindTypeScopeForModule("engine2.dll")->FindDeclaredClass("CScriptComponent")->m_static_fields[1]->m_instance);};
};
// Registered binary: engine2.dll (project 'entity2')
// Alignment: 8
// Size: 0x78
//
// MNetworkVarNames "int32 m_nameStringableIndex"
class CEntityIdentity
{
private:
[[maybe_unused]] uint8_t __pad0000[0x14]; // 0x0
public:
// MNetworkEnable
// MNetworkChangeCallback "entityIdentityNameChanged"
int32_t m_nameStringableIndex; // 0x14
CUtlSymbolLarge m_name; // 0x18
CUtlSymbolLarge m_designerName; // 0x20
private:
[[maybe_unused]] uint8_t __pad0028[0x8]; // 0x28
public:
uint32_t m_flags; // 0x30
private:
[[maybe_unused]] uint8_t __pad0034[0x4]; // 0x34
public:
// MNetworkDisable
WorldGroupId_t m_worldGroupId; // 0x38
uint32_t m_fDataObjectTypes; // 0x3c
// MNetworkDisable
// MNetworkChangeAccessorFieldPathIndex
ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x40
private:
[[maybe_unused]] uint8_t __pad0042[0x16]; // 0x42
public:
CEntityIdentity* m_pPrev; // 0x58
CEntityIdentity* m_pNext; // 0x60
CEntityIdentity* m_pPrevByClass; // 0x68
CEntityIdentity* m_pNextByClass; // 0x70
// Datamap fields:
// void m_pAttributes; // 0x48
};
// Registered binary: engine2.dll (project 'entity2')
// Alignment: 8
// Size: 0x38
// Has VTable
//
// MNetworkVarNames "CEntityIdentity * m_pEntity"
// MNetworkVarNames "CScriptComponent::Storage_t m_CScriptComponent"
class CEntityInstance
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
// MNetworkDisable
CUtlSymbolLarge m_iszPrivateVScripts; // 0x8
// MNetworkEnable
// MNetworkPriority "56"
CEntityIdentity* m_pEntity; // 0x10
private:
[[maybe_unused]] uint8_t __pad0018[0x10]; // 0x18
public:
// MNetworkEnable
// MNetworkDisable
CScriptComponent* m_CScriptComponent; // 0x28
bool m_bVisibleinPVS; // 0x30
};
// Registered binary: engine2.dll (project 'engine2')
// Alignment: 8
@ -254,18 +352,6 @@ public:
int32_t m_nCount; // 0x0
};
// Registered binary: engine2.dll (project 'engine2')
// Alignment: 8
// Size: 0x1
// Has Trivial Destructor
struct EventClientPredictionPostNetupdate_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
// No schema binary for binding
};
// Registered binary: engine2.dll (project 'engine2')
// Alignment: 8
// Size: 0x30
@ -514,6 +600,19 @@ public:
// No schema binary for binding
};
// Registered binary: engine2.dll (project 'engine2')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
struct EventClientAdvanceNonRenderedFrame_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
// No schema binary for binding
};
// Registered binary: engine2.dll (project 'engine2')
// Alignment: 8
// Size: 0x30

View File

@ -31,7 +31,7 @@ enum class ELayoutNodeType : uint32_t
};
// Registered binary: panorama.dll (project 'panorama_content')
// Enumerator count: 15
// Enumerator count: 16
// Alignment: 4
// Size: 0x4
enum class EStyleNodeType : uint32_t
@ -51,5 +51,6 @@ enum class EStyleNodeType : uint32_t
REFERENCE_CONTENT = 0xc,
REFERENCE_COMPILED = 0xd,
REFERENCE_PASSTHROUGH = 0xe,
COMPILER_CONDITIONAL = 0xf,
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@ enum class RenderPrimitiveType_t : uint32_t
};
// Registered binary: rendersystemdx11.dll (project 'rendersystemdx11')
// Enumerator count: 12
// Enumerator count: 13
// Alignment: 4
// Size: 0x4
enum class RenderBufferFlags_t : uint32_t
@ -48,6 +48,7 @@ enum class RenderBufferFlags_t : uint32_t
RENDER_BUFFER_ACCELERATION_STRUCTURE = 0x200,
RENDER_BUFFER_SHADER_BINDING_TABLE = 0x400,
RENDER_BUFFER_PER_FRAME_WRITE_ONCE = 0x800,
RENDER_BUFFER_POOL_ALLOCATED = 0x1000,
};
// Registered binary: rendersystemdx11.dll (project 'rendersystemdx11')

View File

@ -4,7 +4,7 @@
// /////////////////////////////////////////////////////////////
// Binary: resourcesystem.dll
// Classes count: 0 (Allocated) | 59 (Unallocated)
// Classes count: 0 (Allocated) | 58 (Unallocated)
// Enums count: 0 (Allocated) | 2 (Unallocated)
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////
@ -183,7 +183,7 @@ public:
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vgcxdata"
// MResourceTypeForInfoType "vgcxdatavxml"
class InfoForResourceTypeCGcExportableExternalData
{
private:
@ -197,7 +197,7 @@ public:
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vanmgrphvnmgrapheconitem"
// MResourceTypeForInfoType "vanmgrpheconitemvents"
class InfoForResourceTypeIAnimGraphModelBinding
{
private:
@ -498,34 +498,6 @@ private:
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmgrapheconitem"
class InfoForResourceTypeCNmGraph
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vdacdefsvsvg"
class InfoForResourceTypeCDACGameDefsData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
@ -560,7 +532,21 @@ public:
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "econitem"
// MResourceTypeForInfoType "vnmvar"
class InfoForResourceTypeCNmGraphVariation
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "econitemvents"
class InfoForResourceTypeCCSGOEconItem
{
private:
@ -568,6 +554,20 @@ private:
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmgraphvnmclip"
class InfoForResourceTypeCNmGraphDefinition
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
@ -783,20 +783,6 @@ public:
FuseVariableAccess_t m_eAccess; // 0x10
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmdset"
class InfoForResourceTypeCNmGraphDataSet
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1

File diff suppressed because it is too large Load Diff

View File

@ -4,11 +4,36 @@
// /////////////////////////////////////////////////////////////
// Binary: soundsystem.dll
// Classes count: 0 (Allocated) | 51 (Unallocated)
// Enums count: 0 (Allocated) | 13 (Unallocated)
// Classes count: 0 (Allocated) | 63 (Unallocated)
// Enums count: 0 (Allocated) | 18 (Unallocated)
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 2
// Alignment: 4
// Size: 0x4
enum class EMode_t : uint32_t
{
// MPropertyFriendlyName "Peak"
Peak = 0x0,
// MPropertyFriendlyName "RMS"
RMS = 0x1,
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 5
// Alignment: 1
// Size: 0x1
enum class EWaveform : uint8_t
{
Sine = 0x0,
Square = 0x1,
Saw = 0x2,
Triangle = 0x3,
Noise = 0x4,
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Enumerator count: 5
// Alignment: 4
@ -50,7 +75,7 @@ enum class SosActionStopType_t : uint32_t
SOS_STOPTYPE_NONE = 0x0,
// MPropertyFriendlyName "Elapsed Time"
SOS_STOPTYPE_TIME = 0x1,
// MPropertyFriendlyName "Opvar"
// MPropertyFriendlyName "Opvar Float"
SOS_STOPTYPE_OPVAR = 0x2,
};
@ -80,6 +105,22 @@ enum class SosActionSortType_t : uint32_t
SOS_SORTTYPE_LOWEST = 0x1,
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 4
// Alignment: 4
// Size: 0x4
enum class PlayBackMode_t : uint32_t
{
// MPropertyFriendlyName "Random"
Random = 0x0,
// MPropertyFriendlyName "Random No Repeats"
RandomNoRepeats = 0x1,
// MPropertyFriendlyName "Random Avoid Last"
RandomAvoidLast = 0x2,
// MPropertyFriendlyName "Sequential"
Sequential = 0x3,
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Enumerator count: 30
// Alignment: 2
@ -87,35 +128,35 @@ enum class SosActionSortType_t : uint32_t
enum class VMixProcessorType_t : uint16_t
{
VPROCESSOR_UNKNOWN = 0x0,
VPROCESSOR_STEAMAUDIO_REVERB = 0x1,
VPROCESSOR_RT_PITCH = 0x2,
VPROCESSOR_STEAMAUDIO_HRTF = 0x3,
VPROCESSOR_DYNAMICS = 0x4,
VPROCESSOR_PRESETDSP = 0x5,
VPROCESSOR_DELAY = 0x6,
VPROCESSOR_MOD_DELAY = 0x7,
VPROCESSOR_DIFFUSOR = 0x8,
VPROCESSOR_BOXVERB = 0x9,
VPROCESSOR_FREEVERB = 0xa,
VPROCESSOR_PLATEVERB = 0xb,
VPROCESSOR_FULLWAVE_INTEGRATOR = 0xc,
VPROCESSOR_FILTER = 0xd,
VPROCESSOR_STEAMAUDIO_PATHING = 0xe,
VPROCESSOR_EQ8 = 0xf,
VPROCESSOR_ENVELOPE = 0x10,
VPROCESSOR_VOCODER = 0x11,
VPROCESSOR_CONVOLUTION = 0x12,
VPROCESSOR_DYNAMICS_3BAND = 0x13,
VPROCESSOR_DYNAMICS_COMPRESSOR = 0x14,
VPROCESSOR_SHAPER = 0x15,
VPROCESSOR_PANNER = 0x16,
VPROCESSOR_UTILITY = 0x17,
VPROCESSOR_AUTOFILTER = 0x18,
VPROCESSOR_OSC = 0x19,
VPROCESSOR_STEREODELAY = 0x1a,
VPROCESSOR_EFFECT_CHAIN = 0x1b,
VPROCESSOR_SUBGRAPH_SWITCH = 0x1c,
VPROCESSOR_STEAMAUDIO_DIRECT = 0x1d,
VPROCESSOR_RT_PITCH = 0x1,
VPROCESSOR_STEAMAUDIO_HRTF = 0x2,
VPROCESSOR_DYNAMICS = 0x3,
VPROCESSOR_PRESETDSP = 0x4,
VPROCESSOR_DELAY = 0x5,
VPROCESSOR_MOD_DELAY = 0x6,
VPROCESSOR_DIFFUSOR = 0x7,
VPROCESSOR_BOXVERB = 0x8,
VPROCESSOR_FREEVERB = 0x9,
VPROCESSOR_PLATEVERB = 0xa,
VPROCESSOR_FULLWAVE_INTEGRATOR = 0xb,
VPROCESSOR_FILTER = 0xc,
VPROCESSOR_STEAMAUDIO_PATHING = 0xd,
VPROCESSOR_EQ8 = 0xe,
VPROCESSOR_ENVELOPE = 0xf,
VPROCESSOR_VOCODER = 0x10,
VPROCESSOR_CONVOLUTION = 0x11,
VPROCESSOR_DYNAMICS_3BAND = 0x12,
VPROCESSOR_DYNAMICS_COMPRESSOR = 0x13,
VPROCESSOR_SHAPER = 0x14,
VPROCESSOR_PANNER = 0x15,
VPROCESSOR_UTILITY = 0x16,
VPROCESSOR_AUTOFILTER = 0x17,
VPROCESSOR_OSC = 0x18,
VPROCESSOR_STEREODELAY = 0x19,
VPROCESSOR_EFFECT_CHAIN = 0x1a,
VPROCESSOR_SUBGRAPH_SWITCH = 0x1b,
VPROCESSOR_STEAMAUDIO_DIRECT = 0x1c,
VPROCESSOR_STEAMAUDIO_HYBRIDREVERB = 0x1d,
};
// Registered binary: soundsystem.dll (project 'soundsystem')
@ -180,6 +221,39 @@ enum class VMixChannelOperation_t : uint32_t
VMIX_CHAN_MID_SIDE = 0x5,
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 13
// Alignment: 1
// Size: 0x1
enum class EMidiNote : uint8_t
{
C = 0x0,
C_Sharp = 0x1,
D = 0x2,
D_Sharp = 0x3,
E = 0x4,
F = 0x5,
F_Sharp = 0x6,
G = 0x7,
G_Sharp = 0x8,
A = 0x9,
A_Sharp = 0xa,
B = 0xb,
Count = 0xc,
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 4
// Alignment: 1
// Size: 0x1
enum class CVSoundFormat_t : uint8_t
{
PCM16 = 0x0,
PCM8 = 0x1,
MP3 = 0x2,
ADPCM = 0x3,
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Enumerator count: 9
// Alignment: 1
@ -198,7 +272,7 @@ enum class VMixFilterSlope_t : uint8_t
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Enumerator count: 6
// Enumerator count: 8
// Alignment: 4
// Size: 0x4
enum class ActionType_t : uint32_t
@ -215,6 +289,10 @@ enum class ActionType_t : uint32_t
SOS_ACTION_SET_SOUNDEVENT_PARAM = 0x4,
// MPropertyFriendlyName "Soundevent Cluster"
SOS_ACTION_SOUNDEVENT_CLUSTER = 0x5,
// MPropertyFriendlyName "Soundevent Priority"
SOS_ACTION_SOUNDEVENT_PRIORITY = 0x6,
// MPropertyFriendlyName "Count Envelope"
SOS_ACTION_COUNT_ENVELOPE = 0x7,
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
@ -240,9 +318,43 @@ enum class SosGroupType_t : uint32_t
SOS_GROUPTYPE_STATIC = 0x1,
};
struct CVoiceContainerStaticAdditiveSynth::CGainScalePerInstance;
struct VMixFilterDesc_t;
struct CSosGroupMatchPattern;
struct CSosGroupBranchPattern;
struct CVSound;
struct CAudioMorphData;
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x80
//
// MGetKV3ClassDefaults
class CVSound
{
public:
int32_t m_nRate; // 0x0
CVSoundFormat_t m_nFormat; // 0x4
private:
[[maybe_unused]] uint8_t __pad0005[0x3]; // 0x5
public:
uint32_t m_nChannels; // 0x8
int32_t m_nLoopStart; // 0xc
uint32_t m_nSampleCount; // 0x10
float m_flDuration; // 0x14
CUtlVector< CAudioSentence > m_Sentences; // 0x18
uint32_t m_nStreamingSize; // 0x30
private:
[[maybe_unused]] uint8_t __pad0034[0x4]; // 0x34
public:
CUtlVector< int32 > m_nSeekTable; // 0x38
int32_t m_nLoopEnd; // 0x50
private:
[[maybe_unused]] uint8_t __pad0054[0x4]; // 0x54
public:
// MFgdFromSchemaCompletelySkipField
CUtlBinaryBlock m_encodedHeader; // 0x58
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4
@ -261,33 +373,126 @@ public:
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x60
// Has VTable
// Alignment: 4
// Size: 0x10
// Has Trivial Destructor
//
// MGetKV3ClassDefaults
class CVoiceContainerBase
class CVoiceContainerStaticAdditiveSynth::CGainScalePerInstance
{
private:
[[maybe_unused]] uint8_t __pad0000[0x20]; // 0x0
public:
CUtlDict< CPiecewiseCurve, F( size=1 ) > m_curves; // 0x20
// Static fields:
static int32_t &Get_nInvalidRenderJobId(){return *reinterpret_cast<int32_t*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerBase")->m_static_fields[0]->m_instance);};
static bool &Get_bAudioFinishedPlaying(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerBase")->m_static_fields[1]->m_instance);};
static bool &Get_bAudioStillPlaying(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerBase")->m_static_fields[2]->m_instance);};
// MPropertyFriendlyName "Quietest Volume"
float m_flMinVolume; // 0x0
// MPropertyFriendlyName "# Instances Playing Until We Get Louder Than Quietest Volume"
int32_t m_nInstancesAtMinVolume; // 0x4
// MPropertyFriendlyName "Loudest Volume"
float m_flMaxVolume; // 0x8
// MPropertyFriendlyName "# Instances Playing Required To Reach Loudest Volume"
int32_t m_nInstancesAtMaxVolume; // 0xc
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x60
//
// MGetKV3ClassDefaults
class CVoiceContainerStaticAdditiveSynth::CTone
{
public:
// MPropertyFriendlyName "Harmonics"
CUtlVector< CVoiceContainerStaticAdditiveSynth::CHarmonic > m_harmonics; // 0x0
// MPropertyFriendlyName "Envelope"
CPiecewiseCurve m_curve; // 0x18
// MPropertyFriendlyName "Play All Instances In Sync"
bool m_bSyncInstances; // 0x58
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xf0
// Has VTable
//
// MGetKV3ClassDefaults
// MVDataRoot
// MVDataNodeType
// MFgdFromSchemaEditablePolymorphicThisClass
// MVDataFileExtension
// MPropertyFriendlyName "VSND Container"
// MPropertyDescription "Voice Container Base"
class CVoiceContainerBase
{
private:
[[maybe_unused]] uint8_t __pad0000[0x20]; // 0x0
public:
// MPropertySuppressField
// -> m_nRate - 0x20
// -> m_nFormat - 0x24
// -> m_nChannels - 0x28
// -> m_nLoopStart - 0x2c
// -> m_nSampleCount - 0x30
// -> m_flDuration - 0x34
// -> m_Sentences - 0x38
// -> m_nStreamingSize - 0x50
// -> m_nSeekTable - 0x58
// -> m_nLoopEnd - 0x70
// -> m_encodedHeader - 0x78
CVSound m_vSound; // 0x20
private:
[[maybe_unused]] uint8_t __pad00a0[0x30]; // 0xa0
public:
// MPropertyFriendlyName "Enable Analyzers"
bool m_bHideAnalyzers; // 0xd0
private:
[[maybe_unused]] uint8_t __pad00d1[0x7]; // 0xd1
public:
// MPropertyFriendlyName "Container Analyzers"
// MPropertySuppressExpr "m_bHideAnalyzers == false"
CUtlVector< CVoiceContainerAnalysisBase* > m_analysisContainers; // 0xd8
// Static fields:
static bool &Get_bAudioFinishedPlaying(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerBase")->m_static_fields[0]->m_instance);};
static bool &Get_bAudioStillPlaying(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerBase")->m_static_fields[1]->m_instance);};
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xf8
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Default Container"
// MPropertyDescription "Voice Container Default"
class CVoiceContainerDefault : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Vsnd"
// MPropertyDescription "Load the audio content into the kv3 content"
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_vsndReference; // 0xf0
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x218
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Random Smapler Container"
// MPropertyDescription "Trash Synth"
class CVoiceContainerRandomSampler : public CVoiceContainerBase
{
public:
float m_flAmplitude; // 0xf0
float m_flAmplitudeJitter; // 0xf4
float m_flTimeJitter; // 0xf8
float m_flMaxLength; // 0xfc
int32_t m_nNumDelayVariations; // 0x100
private:
[[maybe_unused]] uint8_t __pad0104[0x4]; // 0x104
public:
CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > m_grainResources; // 0x108
// Static fields:
static int32_t &Get_nInstancesFixed(){return *reinterpret_cast<int32_t*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerRandomSampler")->m_static_fields[0]->m_instance);};
};
// Registered binary: soundsystem.dll (project 'soundsystem')
@ -349,6 +554,19 @@ public:
SosActionSortType_t m_nSortType; // 0x30
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xf0
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Null Container"
// MPropertyDescription "Plays a single channel of silence."
class CVoiceContainerNull : public CVoiceContainerBase
{
public:
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4
// Size: 0xc
@ -367,6 +585,30 @@ public:
float m_flInterpolationTime; // 0x8
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x50
// Has VTable
//
// MGetKV3ClassDefaults
// MVDataNodeType
// MFgdFromSchemaEditablePolymorphicThisClass
// MPropertyFriendlyName "Analysis Container"
// MPropertyDescription "Does Not Play Sound, member of CVoiceContainerDefaultDefault"
class CVoiceContainerAnalysisBase
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
// MPropertyFriendlyName "Regenerate curve on compile"
bool m_bRegenerateCurveOnCompile; // 0x8
private:
[[maybe_unused]] uint8_t __pad0009[0x7]; // 0x9
public:
// MPropertyFriendlyName "Envelope Curve"
CPiecewiseCurve m_curve; // 0x10
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4
// Size: 0x8
@ -381,27 +623,45 @@ public:
float m_flStrength; // 0x4
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x70
// Size: 0x38
// Has VTable
//
// MGetKV3ClassDefaults
class CSosGroupActionSoundeventPrioritySchema : public CSosGroupActionSchema
{
public:
// MPropertyFriendlyName "Priority Value, typically 0.0 to 1.0"
CUtlString m_priorityValue; // 0x18
// MPropertyFriendlyName "Priority-Based Volume Multiplier, 0.0 to 1.0"
CUtlString m_priorityVolumeScalar; // 0x20
// MPropertyFriendlyName "Contribute to the priority system, but volume is unaffected by it (bool)"
CUtlString m_priorityContributeButDontRead; // 0x28
// MPropertyFriendlyName "Don't contribute to the priority system, but volume is affected by it (bool)"
CUtlString m_bPriorityReadButDontContribute; // 0x30
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x100
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "FM Synth Container"
// MPropertyDescription "Real time FM Synthesis"
class CVoiceContainerRealtimeFMSineWave : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Frequency (Hz)"
// MPropertyDescription "The frequency of this sine tone."
// MVSndPropertyControlledAtRuntime
float m_flCarrierFrequency; // 0x60
float m_flCarrierFrequency; // 0xf0
// MPropertyFriendlyName "Mod Frequency (Hz)"
// MPropertyDescription "The frequency of the sine tone modulating this sine tone."
// MVSndPropertyControlledAtRuntime
float m_flModulatorFrequency; // 0x64
float m_flModulatorFrequency; // 0xf4
// MPropertyFriendlyName "Mod Amount (Hz)"
// MPropertyDescription "The amount the modulating sine tone modulates this sine tone."
// MVSndPropertyControlledAtRuntime
float m_flModulatorAmount; // 0x68
float m_flModulatorAmount; // 0xf8
};
// Registered binary: soundsystem.dll (project 'soundsystem')
@ -506,13 +766,15 @@ public:
bool m_bMatchEventSubString; // 0x9
// MPropertyFriendlyName "Source Entity Index"
bool m_bMatchEntIndex; // 0xa
// MPropertyFriendlyName "Operator Variable"
// MPropertyFriendlyName "Opvar Float"
bool m_bMatchOpvar; // 0xb
// MPropertyFriendlyName "Opvar String"
bool m_bMatchString; // 0xc
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x28
// Size: 0x30
// Has VTable
//
// MGetKV3ClassDefaults
@ -523,10 +785,12 @@ public:
CUtlString m_matchSoundEventName; // 0x10
// MPropertyFriendlyName "Sub-String"
CUtlString m_matchSoundEventSubString; // 0x18
// MPropertyFriendlyName "Entity Index"
// MPropertyFriendlyName "Source Entity Index"
float m_flEntIndex; // 0x20
// MPropertyFriendlyName "Operator Variable Value"
// MPropertyFriendlyName "Opvar Float"
float m_flOpvar; // 0x24
// MPropertyFriendlyName "Opvar String"
CUtlString m_opvarString; // 0x28
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
@ -582,6 +846,36 @@ public:
float m_flListenerReverbModifierWhenSourceReverbIsActive; // 0x18
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x68
//
// MGetKV3ClassDefaults
class CAudioMorphData
{
public:
CUtlVector< float32 > m_times; // 0x0
CUtlVector< uint32 > m_nameHashCodes; // 0x18
CUtlVector< CUtlString > m_nameStrings; // 0x30
CUtlVector< CUtlVector< float32 > > m_samples; // 0x48
float m_flEaseIn; // 0x60
float m_flEaseOut; // 0x64
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x120
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Additive Synth Container"
// MPropertyDescription "This is a static additive synth that can scale components of the synth based on how many instances are running."
class CVoiceContainerStaticAdditiveSynth : public CVoiceContainerBase
{
public:
CUtlVector< CVoiceContainerStaticAdditiveSynth::CTone > m_tones; // 0xf0
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x20
@ -600,42 +894,18 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x78
// Size: 0x108
// Has VTable
//
// MGetKV3ClassDefaults
class CVoiceContainerBlend : public CVoiceContainerBase
// MPropertyFriendlyName "Blender"
// MPropertyDescription "Blends two containers."
class CVoiceContainerBlender : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "First Sound"
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_hSoundOne; // 0x60
// MPropertyFriendlyName "Second Sound"
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_hSoundTwo; // 0x68
// MPropertyFriendlyName "Blend Amount (0-1)"
// MPropertyDescription "When set to zero, Only play First Sound. When set to 1, only play Second Sound. In between, we linearly mix the two."
// MVSndPropertyControlledAtRuntime
float m_flBlendAmount; // 0x70
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x170
// Has VTable
//
// MGetKV3ClassDefaults
class CVoiceContainerRandomSampler : public CVoiceContainerBase
{
public:
float m_flLoudAmplitude; // 0x60
float m_flLoudAmplitudeJitter; // 0x64
float m_flSoftAmplitude; // 0x68
float m_flSoftAmplitudeJitter; // 0x6c
float m_flLoudTimeJitter; // 0x70
float m_flSoftTimeJitter; // 0x74
CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > m_grainResources; // 0x78
// Static fields:
static int32_t &Get_nInstancesFixed(){return *reinterpret_cast<int32_t*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerRandomSampler")->m_static_fields[0]->m_instance);};
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_firstSound; // 0xf0
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_secondSound; // 0xf8
float m_flBlendFactor; // 0x100
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
@ -672,44 +942,37 @@ public:
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x68
// Has VTable
// Alignment: 4
// Size: 0xc
// Has Trivial Constructor
// Has Trivial Destructor
//
// MGetKV3ClassDefaults
class CVoiceContainerWavFileReader : public CVoiceContainerBase
class CAudioPhonemeTag
{
public:
// MPropertyFriendlyName "Wav File Path"
// MPropertyDescription "The wav we're gonna play when we play this sound. "
// MVSndPropertyGuaranteeConstant
CUtlString m_wavFilePath; // 0x60
float m_flStartTime; // 0x0
float m_flEndTime; // 0x4
int32_t m_nPhonemeCode; // 0x8
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x78
// Size: 0x60
// Has VTable
//
// MGetKV3ClassDefaults
class CVoiceContainerEngineSound : public CVoiceContainerBase
// MPropertyFriendlyName "Envelope Analyzer"
// MPropertyDescription "Generates an Envelope Curve on compile"
class CVoiceContainerEnvelopeAnalyzer : public CVoiceContainerAnalysisBase
{
public:
// MPropertyFriendlyName "Sound To Play"
// MPropertyDescription "The sound we're gonna play when we play this sound. "
// MVSndPropertyGuaranteeConstant
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_SoundToPlay; // 0x60
// MPropertyFriendlyName "Loudness Target"
// MPropertyDescription "This can be set on the vsound container, but is baked in at resource compile time."
float m_flTestConstantParam; // 0x68
// MPropertyFriendlyName "Wobble Amount"
// MPropertyDescription "This is settable via some kinda operator, and through that can be exposed to sound events. These make a vsnd container dynamic."
// MVSndPropertyExposeToSoundEvents
float m_flTestSoundEventBoundParam; // 0x6c
// MPropertyFriendlyName "Engine RPM Amount"
// MVSndPropertyControlledAtRuntime
// MPropertyDescription "This isn't editable in any prop editor, but can be modified in engine code."
float m_flEngineRPM; // 0x70
// MPropertyFriendlyName "Envelope Mode"
EMode_t m_mode; // 0x50
// MPropertyFriendlyName "Number of sections"
int32_t m_nSamples; // 0x54
// MPropertyFriendlyName "Threshold"
float m_flThreshold; // 0x58
};
// Registered binary: soundsystem.dll (project 'soundsystem')
@ -739,6 +1002,20 @@ public:
int32_t m_nProcType; // 0xc
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 4
// Size: 0x8
// Has Trivial Constructor
// Has Trivial Destructor
//
// MGetKV3ClassDefaults
class CAudioEmphasisSample
{
public:
float m_flTime; // 0x0
float m_flValue; // 0x4
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4
// Size: 0x20
@ -771,6 +1048,20 @@ public:
float m_flHighCutoffFreq; // 0x1c
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MGetKV3ClassDefaults
class CSoundInfoHeader
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x18
@ -786,7 +1077,7 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0xd0
// Size: 0xe0
//
// MGetKV3ClassDefaults
// MPropertyElementNameFn
@ -814,18 +1105,22 @@ public:
// -> m_matchSoundEventSubString - 0x30
// -> m_flEntIndex - 0x38
// -> m_flOpvar - 0x3c
// -> m_opvarString - 0x40
CSosGroupMatchPattern m_matchPattern; // 0x18
// MPropertyFriendlyName "Branch Rules"
// -> m_bMatchEventName - 0x48
// -> m_bMatchEventSubString - 0x49
// -> m_bMatchEntIndex - 0x4a
// -> m_bMatchOpvar - 0x4b
CSosGroupBranchPattern m_branchPattern; // 0x40
// -> m_bMatchEventName - 0x50
// -> m_bMatchEventSubString - 0x51
// -> m_bMatchEntIndex - 0x52
// -> m_bMatchOpvar - 0x53
// -> m_bMatchString - 0x54
CSosGroupBranchPattern m_branchPattern; // 0x48
// MPropertyFriendlyName "Member Lifespan Time"
float m_flLifeSpanTime; // 0x58
private:
[[maybe_unused]] uint8_t __pad0050[0x60]; // 0x50
[[maybe_unused]] uint8_t __pad005c[0x64]; // 0x5c
public:
// MPropertyFriendlyName "Actions"
CSosGroupActionSchema* m_vActions[4]; // 0xb0
CSosGroupActionSchema* m_vActions[4]; // 0xc0
};
// Registered binary: soundsystem.dll (project 'soundsystem')
@ -846,37 +1141,6 @@ public:
Vector2D itemPos; // 0x28
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x70
// Has VTable
//
// MGetKV3ClassDefaults
class CVoiceContainerTestConstant : public CVoiceContainerWavFileReader
{
public:
// MPropertyFriendlyName "Is Muted"
// MPropertyDescription "This can be set on the vsound container, but is baked in at compile time."
bool m_flTestConstantParam; // 0x68
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x70
// Has VTable
//
// MGetKV3ClassDefaults
class CVoiceContainerTestNestedDynamic : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Sound To Play"
// MPropertyDescription "The sound we're gonna play when we play this sound. "
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_SoundToPlay; // 0x60
// MPropertyFriendlyName "Filter Cutoff"
// MPropertyDescription "This can be set on the vsound container, but is baked in at resource compile time."
float m_flTestConstantParam; // 0x68
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4
// Size: 0x1c
@ -896,19 +1160,6 @@ public:
float m_flFeedbackDiffusion2; // 0x18
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x80
// Has VTable
//
// MGetKV3ClassDefaults
class CVoiceContainerEnvelopeAnalyzer : public CVoiceContainerWavFileReader
{
public:
// MPropertyFriendlyName "Env Buffer"
CUtlVector< float32 > m_envBuffer; // 0x68
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4
// Size: 0x10
@ -994,6 +1245,26 @@ public:
float m_flReleaseTimeMS; // 0x8
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xa0
//
// MGetKV3ClassDefaults
class CAudioSentence
{
public:
bool m_bShouldVoiceDuck; // 0x0
CUtlVector< CAudioPhonemeTag > m_RunTimePhonemes; // 0x8
CUtlVector< CAudioEmphasisSample > m_EmphasisSamples; // 0x20
// -> m_times - 0x38
// -> m_nameHashCodes - 0x50
// -> m_nameStrings - 0x68
// -> m_samples - 0x80
// -> m_flEaseIn - 0x98
// -> m_flEaseOut - 0x9c
CAudioMorphData m_morphData; // 0x38
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x28
@ -1013,19 +1284,21 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x68
// Size: 0xf8
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Decaying Sine Wave Container"
// MPropertyDescription "Only text params, renders in real time"
class CVoiceContainerDecayingSineWave : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Frequency (Hz)"
// MPropertyDescription "The frequency of this sine tone."
float m_flFrequency; // 0x60
float m_flFrequency; // 0xf0
// MPropertyFriendlyName "Decay Time (Seconds)"
// MPropertyDescription "The frequency of this sine tone."
float m_flDecayTime; // 0x64
float m_flDecayTime; // 0xf4
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
@ -1093,6 +1366,58 @@ public:
float m_flCrossfadeTime; // 0x0
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x68
//
// MGetKV3ClassDefaults
class CVoiceContainerStaticAdditiveSynth::CHarmonic
{
public:
// MPropertyFriendlyName "Waveform"
EWaveform m_nWaveform; // 0x0
// MPropertyFriendlyName "Note"
EMidiNote m_nFundamental; // 0x1
private:
[[maybe_unused]] uint8_t __pad0002[0x2]; // 0x2
public:
// MPropertyFriendlyName "Octave"
int32_t m_nOctave; // 0x4
// MPropertyFriendlyName "Cents To Detune ( -100:100 )"
float m_flCents; // 0x8
// MPropertyFriendlyName "Phase ( 0 - 1 )"
float m_flPhase; // 0xc
// MPropertyFriendlyName "Envelope (Relative to Tone Envelope)"
CPiecewiseCurve m_curve; // 0x10
// -> m_flMinVolume - 0x50
// -> m_nInstancesAtMinVolume - 0x54
// -> m_flMaxVolume - 0x58
// -> m_nInstancesAtMaxVolume - 0x5c
CVoiceContainerStaticAdditiveSynth::CGainScalePerInstance m_volumeScaling; // 0x50
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x130
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Selector"
// MPropertyDescription "Plays a selected vsnd on playback."
class CVoiceContainerSelector : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Playback Mode"
PlayBackMode_t m_mode; // 0xf0
// MPropertyFriendlyName "Retrigger"
bool m_bRetrigger; // 0xf4
private:
[[maybe_unused]] uint8_t __pad00f5[0x3]; // 0xf5
public:
// MPropertyFriendlyName "Sounds To play"
CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > m_soundsToPlay; // 0xf8
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x20
@ -1108,6 +1433,48 @@ public:
float m_flMaxDuration; // 0x1c
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x40
// Has VTable
//
// MGetKV3ClassDefaults
class CSosGroupActionMemberCountEnvelopeSchema : public CSosGroupActionSchema
{
public:
// MPropertyFriendlyName "Min Threshold Count"
int32_t m_nBaseCount; // 0x18
// MPropertyFriendlyName "Max Target Count"
int32_t m_nTargetCount; // 0x1c
// MPropertyFriendlyName "Threshold Value"
float m_flBaseValue; // 0x20
// MPropertyFriendlyName "Target Value"
float m_flTargetValue; // 0x24
// MPropertyFriendlyName "Attack"
float m_flAttack; // 0x28
// MPropertyFriendlyName "Decay"
float m_flDecay; // 0x2c
// MPropertyFriendlyName "Result Variable Name"
CUtlString m_resultVarName; // 0x30
// MPropertyFriendlyName "Save Result to Group"
bool m_bSaveToGroup; // 0x38
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x108
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Container Switch"
// MPropertyDescription "An array of containers"
class CVoiceContainerSwitch : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Container List"
CUtlVector< CVoiceContainerBase* > m_soundsToPlay; // 0xf0
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x20
@ -1172,17 +1539,18 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x70
// Size: 0x100
// Has VTable
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Amped Decaying Sine Wave Container"
// MPropertyDescription "Bytecode instruction"
class CVoiceContainerAmpedDecayingSineWave : public CVoiceContainerDecayingSineWave
{
public:
// MPropertyFriendlyName "Attenuation Amount (dB)"
// MPropertyDescription "The amount of attenuation ."
// MVSndPropertyControlledAtRuntime
float m_flGainAmount; // 0x68
float m_flGainAmount; // 0xf8
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')

View File

@ -164,7 +164,7 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8
// Size: 0x618
// Size: 0x620
//
// MGetKV3ClassDefaults
struct PhysFeModelDesc_t
@ -271,8 +271,9 @@ public:
float m_flQuadVelocitySmoothRate; // 0x608
float m_flAddWorldCollisionRadius; // 0x60c
float m_flDefaultVolumetricSolveAmount; // 0x610
uint16_t m_nRodVelocitySmoothIterations; // 0x614
uint16_t m_nQuadVelocitySmoothIterations; // 0x616
float m_flMotionSmoothCDT; // 0x614
uint16_t m_nRodVelocitySmoothIterations; // 0x618
uint16_t m_nQuadVelocitySmoothIterations; // 0x61a
};
// Registered binary: vphysics2.dll (project 'physicslib')

View File

@ -30,12 +30,111 @@ enum class ObjectTypeFlags_t : uint32_t
OBJECT_TYPE_STATIC_CUBE_MAP = 0x8000,
};
struct ChangeAccessorFieldPathIndex_t;
struct CEntityIdentity;
struct CScriptComponent;
struct CRenderBufferBinding;
struct AABB_t;
struct BakedLightingInfo_t;
struct WorldBuilderParams_t;
struct VoxelVisBlockOffset_t;
// Registered binary: worldrenderer.dll (project 'entity2')
// Alignment: 8
// Size: 0x8
// Has VTable
// Is Abstract
// Has Trivial Destructor
class CEntityComponent
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
// No schema binary for binding
};
// Registered binary: worldrenderer.dll (project 'entity2')
// Alignment: 8
// Size: 0x38
// Has VTable
class CScriptComponent : public CEntityComponent
{
private:
[[maybe_unused]] uint8_t __pad0008[0x28]; // 0x8
public:
CUtlSymbolLarge m_scriptClassName; // 0x30
// Static fields:
static EntComponentInfo_t &Get_s_EntComponentInfo(){return *reinterpret_cast<EntComponentInfo_t*>(interfaces::g_schema->FindTypeScopeForModule("worldrenderer.dll")->FindDeclaredClass("CScriptComponent")->m_static_fields[0]->m_instance);};
static int32_t &Get_entity_component_error_class_decl_says_contained_but_impl_is_referenced(){return *reinterpret_cast<int32_t*>(interfaces::g_schema->FindTypeScopeForModule("worldrenderer.dll")->FindDeclaredClass("CScriptComponent")->m_static_fields[1]->m_instance);};
};
// Registered binary: worldrenderer.dll (project 'entity2')
// Alignment: 8
// Size: 0x78
//
// MNetworkVarNames "int32 m_nameStringableIndex"
class CEntityIdentity
{
private:
[[maybe_unused]] uint8_t __pad0000[0x14]; // 0x0
public:
// MNetworkEnable
// MNetworkChangeCallback "entityIdentityNameChanged"
int32_t m_nameStringableIndex; // 0x14
CUtlSymbolLarge m_name; // 0x18
CUtlSymbolLarge m_designerName; // 0x20
private:
[[maybe_unused]] uint8_t __pad0028[0x8]; // 0x28
public:
uint32_t m_flags; // 0x30
private:
[[maybe_unused]] uint8_t __pad0034[0x4]; // 0x34
public:
// MNetworkDisable
WorldGroupId_t m_worldGroupId; // 0x38
uint32_t m_fDataObjectTypes; // 0x3c
// MNetworkDisable
// MNetworkChangeAccessorFieldPathIndex
ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x40
private:
[[maybe_unused]] uint8_t __pad0042[0x16]; // 0x42
public:
CEntityIdentity* m_pPrev; // 0x58
CEntityIdentity* m_pNext; // 0x60
CEntityIdentity* m_pPrevByClass; // 0x68
CEntityIdentity* m_pNextByClass; // 0x70
// Datamap fields:
// void m_pAttributes; // 0x48
};
// Registered binary: worldrenderer.dll (project 'entity2')
// Alignment: 8
// Size: 0x38
// Has VTable
//
// MNetworkVarNames "CEntityIdentity * m_pEntity"
// MNetworkVarNames "CScriptComponent::Storage_t m_CScriptComponent"
class CEntityInstance
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
// MNetworkDisable
CUtlSymbolLarge m_iszPrivateVScripts; // 0x8
// MNetworkEnable
// MNetworkPriority "56"
CEntityIdentity* m_pEntity; // 0x10
private:
[[maybe_unused]] uint8_t __pad0018[0x10]; // 0x18
public:
// MNetworkEnable
// MNetworkDisable
CScriptComponent* m_CScriptComponent; // 0x28
bool m_bVisibleinPVS; // 0x30
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x88
@ -68,7 +167,7 @@ public:
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x38
// Size: 0x28
//
// MGetKV3ClassDefaults
struct AggregateLODSetup_t
@ -76,7 +175,7 @@ struct AggregateLODSetup_t
public:
Vector m_vLODOrigin; // 0x0
float m_fMaxObjectScale; // 0xc
CUtlVectorFixedGrowable< float32 > m_fSwitchDistances; // 0x10
CUtlVector< float32 > m_fSwitchDistances; // 0x10
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
@ -183,42 +282,6 @@ public:
CStrongHandle< InfoForResourceTypeCModel > m_renderableModel; // 0x98
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x20
// Has Trivial Destructor
//
// MGetKV3ClassDefaults
struct WorldBuilderParams_t
{
public:
float m_flMinDrawVolumeSize; // 0x0
bool m_bBuildBakedLighting; // 0x4
private:
[[maybe_unused]] uint8_t __pad0005[0x3]; // 0x5
public:
Vector2D m_vLightmapUvScale; // 0x8
uint64_t m_nCompileTimestamp; // 0x10
uint64_t m_nCompileFingerprint; // 0x18
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x40
// Has VTable
//
// MGetKV3ClassDefaults
struct PermEntityLumpData_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
CUtlString m_name; // 0x8
CUtlString m_hammerUniqueId; // 0x10
CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_childLumps; // 0x18
CUtlLeanVector< EntityKeyValueData_t > m_entityKeyValues; // 0x30
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x30
@ -231,12 +294,55 @@ public:
uint32_t m_nLightmapGameVersionNumber; // 0x4
Vector2D m_vLightmapUvScale; // 0x8
bool m_bHasLightmaps; // 0x10
bool m_bBakedShadowsGamma20; // 0x11
bool m_bCompressionEnabled; // 0x12
uint8_t m_nChartPackIterations; // 0x13
uint8_t m_nVradQuality; // 0x14
private:
[[maybe_unused]] uint8_t __pad0011[0x7]; // 0x11
[[maybe_unused]] uint8_t __pad0015[0x3]; // 0x15
public:
CUtlVector< CStrongHandle< InfoForResourceTypeCTextureBase > > m_lightMaps; // 0x18
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x38
// Has VTable
//
// MGetKV3ClassDefaults
struct PermEntityLumpData_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
CUtlString m_name; // 0x8
CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_childLumps; // 0x10
CUtlLeanVector< EntityKeyValueData_t > m_entityKeyValues; // 0x28
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x140
//
// MGetKV3ClassDefaults
struct WorldNode_t
{
public:
CUtlVector< SceneObject_t > m_sceneObjects; // 0x0
CUtlVector< InfoOverlayData_t > m_infoOverlays; // 0x18
CUtlVector< uint16 > m_visClusterMembership; // 0x30
CUtlVector< AggregateSceneObject_t > m_aggregateSceneObjects; // 0x48
CUtlVector< ClutterSceneObject_t > m_clutterSceneObjects; // 0x60
CUtlVector< ExtraVertexStreamOverride_t > m_extraVertexStreamOverrides; // 0x78
CUtlVector< MaterialOverride_t > m_materialOverrides; // 0x90
CUtlVector< WorldNodeOnDiskBufferData_t > m_extraVertexStreams; // 0xa8
CUtlVector< CUtlString > m_layerNames; // 0xc0
CUtlVector< uint8 > m_sceneObjectLayerIndices; // 0xd8
CUtlVector< uint8 > m_overlayLayerIndices; // 0xf0
CUtlString m_grassFileName; // 0x108
BakedLightingInfo_t m_nodeLightingInfo; // 0x110
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x28
@ -274,30 +380,20 @@ public:
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x140
// Size: 0x48
//
// MGetKV3ClassDefaults
struct WorldNode_t
struct WorldBuilderParams_t
{
public:
CUtlVector< SceneObject_t > m_sceneObjects; // 0x0
CUtlVector< InfoOverlayData_t > m_infoOverlays; // 0x18
CUtlVector< uint16 > m_visClusterMembership; // 0x30
CUtlVector< AggregateSceneObject_t > m_aggregateSceneObjects; // 0x48
CUtlVector< ClutterSceneObject_t > m_clutterSceneObjects; // 0x60
CUtlVector< ExtraVertexStreamOverride_t > m_extraVertexStreamOverrides; // 0x78
CUtlVector< MaterialOverride_t > m_materialOverrides; // 0x90
CUtlVector< WorldNodeOnDiskBufferData_t > m_extraVertexStreams; // 0xa8
CUtlVector< CUtlString > m_layerNames; // 0xc0
CUtlVector< uint8 > m_sceneObjectLayerIndices; // 0xd8
CUtlVector< uint8 > m_overlayLayerIndices; // 0xf0
CUtlString m_grassFileName; // 0x108
// -> m_nLightmapVersionNumber - 0x110
// -> m_nLightmapGameVersionNumber - 0x114
// -> m_vLightmapUvScale - 0x118
// -> m_bHasLightmaps - 0x120
// -> m_lightMaps - 0x128
BakedLightingInfo_t m_nodeLightingInfo; // 0x110
float m_flMinDrawVolumeSize; // 0x0
bool m_bBuildBakedLighting; // 0x4
private:
[[maybe_unused]] uint8_t __pad0005[0x3]; // 0x5
public:
BakedLightingInfo_t m_bakedLightingInfo; // 0x8
uint64_t m_nCompileTimestamp; // 0x38
uint64_t m_nCompileFingerprint; // 0x40
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')
@ -367,7 +463,7 @@ public:
// Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8
// Size: 0x80
// Size: 0xa8
//
// MGetKV3ClassDefaults
struct World_t
@ -375,18 +471,13 @@ struct World_t
public:
// -> m_flMinDrawVolumeSize - 0x0
// -> m_bBuildBakedLighting - 0x4
// -> m_vLightmapUvScale - 0x8
// -> m_nCompileTimestamp - 0x10
// -> m_nCompileFingerprint - 0x18
// -> m_bakedLightingInfo - 0x8
// -> m_nCompileTimestamp - 0x38
// -> m_nCompileFingerprint - 0x40
WorldBuilderParams_t m_builderParams; // 0x0
CUtlVector< NodeData_t > m_worldNodes; // 0x20
// -> m_nLightmapVersionNumber - 0x38
// -> m_nLightmapGameVersionNumber - 0x3c
// -> m_vLightmapUvScale - 0x40
// -> m_bHasLightmaps - 0x48
// -> m_lightMaps - 0x50
BakedLightingInfo_t m_worldLightingInfo; // 0x38
CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_entityLumps; // 0x68
CUtlVector< NodeData_t > m_worldNodes; // 0x48
BakedLightingInfo_t m_worldLightingInfo; // 0x60
CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_entityLumps; // 0x90
};
// Registered binary: worldrenderer.dll (project 'worldrenderer')