23.08.2024

This commit is contained in:
Konstantin 'cpz' L. 2024-08-23 21:42:12 +03:00
parent e912f396b5
commit 3e408fd3ef
14 changed files with 85062 additions and 62143 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2611
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

@ -99,7 +99,7 @@ public:
// MNetworkChangeAccessorFieldPathIndex // MNetworkChangeAccessorFieldPathIndex
ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x40 ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x40
private: private:
[[maybe_unused]] uint8_t __pad0042[0x16]; // 0x42 [[maybe_unused]] uint8_t __pad0044[0x14]; // 0x44
public: public:
CEntityIdentity* m_pPrev; // 0x58 CEntityIdentity* m_pPrev; // 0x58
CEntityIdentity* m_pNext; // 0x60 CEntityIdentity* m_pNext; // 0x60

View File

@ -11,11 +11,11 @@
// Registered binary: networksystem.dll (project 'networksystem') // Registered binary: networksystem.dll (project 'networksystem')
// Alignment: 8 // Alignment: 8
// Size: 0x2 // Size: 0x4
// Has Trivial Destructor // Has Trivial Destructor
struct ChangeAccessorFieldPathIndex_t struct ChangeAccessorFieldPathIndex_t
{ {
public: public:
int16_t m_Value; // 0x0 int32_t m_Value; // 0x0
}; };

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,7 @@ public:
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
// MPulseEditorIsControlFlowNode
class CPulseCell_WaitForCursorsWithTagBase : public CPulseCell_BaseYieldingInflow class CPulseCell_WaitForCursorsWithTagBase : public CPulseCell_BaseYieldingInflow
{ {
public: public:

View File

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

View File

@ -4,7 +4,7 @@
// ///////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////
// Binary: resourcesystem.dll // Binary: resourcesystem.dll
// Classes count: 0 (Allocated) | 48 (Unallocated) // Classes count: 0 (Allocated) | 49 (Unallocated)
// Enums count: 0 (Allocated) | 0 (Unallocated) // Enums count: 0 (Allocated) | 0 (Unallocated)
// Created using source2gen - github.com/neverlosecc/source2gen // Created using source2gen - github.com/neverlosecc/source2gen
// ///////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////
@ -205,6 +205,20 @@ private:
public: public:
}; };
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmik"
class InfoForResourceTypeCNmIKRig
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem') // Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8 // Alignment: 8
// Size: 0x1 // Size: 0x1
@ -309,7 +323,7 @@ public:
// Has Trivial Constructor // Has Trivial Constructor
// Has Trivial Destructor // Has Trivial Destructor
// //
// MResourceTypeForInfoType "vgcxdata" // MResourceTypeForInfoType "vgcxdataà"
class InfoForResourceTypeCGcExportableExternalData class InfoForResourceTypeCGcExportableExternalData
{ {
private: private:

File diff suppressed because it is too large Load Diff

View File

@ -4,8 +4,8 @@
// ///////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////
// Binary: soundsystem.dll // Binary: soundsystem.dll
// Classes count: 0 (Allocated) | 57 (Unallocated) // Classes count: 0 (Allocated) | 74 (Unallocated)
// Enums count: 0 (Allocated) | 16 (Unallocated) // Enums count: 0 (Allocated) | 18 (Unallocated)
// Created using source2gen - github.com/neverlosecc/source2gen // Created using source2gen - github.com/neverlosecc/source2gen
// ///////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////
@ -59,6 +59,19 @@ enum class EMode_t : std::uint32_t
RMS = 0x1, RMS = 0x1,
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 5
// Alignment: 1
// Size: 0x1
enum class EWaveform : std::uint8_t
{
Sine = 0,
Square = 1,
Saw = 2,
Triangle = 3,
Noise = 4,
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Enumerator count: 5 // Enumerator count: 5
// Alignment: 4 // Alignment: 4
@ -100,7 +113,7 @@ enum class SosActionStopType_t : std::uint32_t
SOS_STOPTYPE_NONE = 0x0, SOS_STOPTYPE_NONE = 0x0,
// MPropertyFriendlyName "Elapsed Time" // MPropertyFriendlyName "Elapsed Time"
SOS_STOPTYPE_TIME = 0x1, SOS_STOPTYPE_TIME = 0x1,
// MPropertyFriendlyName "Opvar" // MPropertyFriendlyName "Opvar Float"
SOS_STOPTYPE_OPVAR = 0x2, SOS_STOPTYPE_OPVAR = 0x2,
}; };
@ -131,7 +144,7 @@ enum class SosActionSortType_t : std::uint32_t
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 4 // Enumerator count: 5
// Alignment: 4 // Alignment: 4
// Size: 0x4 // Size: 0x4
enum class PlayBackMode_t : std::uint32_t enum class PlayBackMode_t : std::uint32_t
@ -144,6 +157,8 @@ enum class PlayBackMode_t : std::uint32_t
RandomAvoidLast = 0x2, RandomAvoidLast = 0x2,
// MPropertyFriendlyName "Sequential" // MPropertyFriendlyName "Sequential"
Sequential = 0x3, Sequential = 0x3,
// MPropertyFriendlyName "Random With Weights"
RandomWeights = 0x4,
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
@ -208,6 +223,27 @@ enum class VMixChannelOperation_t : std::uint32_t
VMIX_CHAN_MID_SIDE = 0x5, VMIX_CHAN_MID_SIDE = 0x5,
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 13
// Alignment: 1
// Size: 0x1
enum class EMidiNote : std::uint8_t
{
C = 0,
C_Sharp = 1,
D = 2,
D_Sharp = 3,
E = 4,
F = 5,
F_Sharp = 6,
G = 7,
G_Sharp = 8,
A = 9,
A_Sharp = 10,
B = 11,
Count = 12,
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Enumerator count: 4 // Enumerator count: 4
// Alignment: 1 // Alignment: 1
@ -238,7 +274,7 @@ enum class VMixFilterSlope_t : std::uint8_t
}; };
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
// Enumerator count: 7 // Enumerator count: 10
// Alignment: 4 // Alignment: 4
// Size: 0x4 // Size: 0x4
enum class ActionType_t : std::uint32_t enum class ActionType_t : std::uint32_t
@ -255,8 +291,14 @@ enum class ActionType_t : std::uint32_t
SOS_ACTION_SET_SOUNDEVENT_PARAM = 0x4, SOS_ACTION_SET_SOUNDEVENT_PARAM = 0x4,
// MPropertyFriendlyName "Soundevent Cluster" // MPropertyFriendlyName "Soundevent Cluster"
SOS_ACTION_SOUNDEVENT_CLUSTER = 0x5, SOS_ACTION_SOUNDEVENT_CLUSTER = 0x5,
// MPropertyFriendlyName "Value Integrator" // MPropertyFriendlyName "Soundevent Priority"
SOS_ACTION_VALUE_INTEGRATOR = 0x6, SOS_ACTION_SOUNDEVENT_PRIORITY = 0x6,
// MPropertyFriendlyName "Count Envelope"
SOS_ACTION_COUNT_ENVELOPE = 0x7,
// MPropertyFriendlyName "Soundevent Count"
SOS_ACTION_SOUNDEVENT_COUNT = 0x8,
// MPropertyFriendlyName "Soundevent Min/Max Values"
SOS_ACTION_SOUNDEVENT_MIN_MAX_VALUES = 0x9,
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
@ -282,11 +324,37 @@ enum class SosGroupType_t : std::uint32_t
SOS_GROUPTYPE_STATIC = 0x1, SOS_GROUPTYPE_STATIC = 0x1,
}; };
struct CSoundContainerReference;
struct CVoiceContainerStaticAdditiveSynth::CGainScalePerInstance;
struct CVoiceContainerBase;
struct VMixFilterDesc_t; struct VMixFilterDesc_t;
struct CSosGroupMatchPattern; struct CSosGroupMatchPattern;
struct CSosGroupBranchPattern; struct CSosGroupBranchPattern;
struct CVSound; struct CVSound;
struct CAudioMorphData; struct CAudioMorphData;
struct CVoiceContainerAnalysisBase;
struct CSoundContainerReferenceArray;
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x18
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Sound"
// MPropertyDescription "Reference to a vsnd file or another container."
class CSoundContainerReference
{
public:
// MPropertyFriendlyName "Use Vsnd File"
bool m_bUseReference; // 0x0
// MPropertySuppressExpr "m_bUseReference == 0"
// MPropertyFriendlyName "Vsnd File"
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_sound; // 0x8
// MPropertySuppressExpr "m_bUseReference == 1"
// MPropertyFriendlyName "Vsnd Container"
CVoiceContainerBase* m_pSound; // 0x10
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
@ -305,6 +373,43 @@ public:
float m_flLateReflections; // 0xc float m_flLateReflections; // 0xc
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 4
// Size: 0x10
// Has Trivial Destructor
// Construct allowed
//
// MGetKV3ClassDefaults
class CVoiceContainerStaticAdditiveSynth::CGainScalePerInstance
{
public:
// 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
// Construct allowed
//
// 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') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0x80 // Size: 0x80
@ -339,45 +444,35 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0xf0 // Size: 0xb8
// Has VTable // Has VTable
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
// MVDataRoot // MVDataRoot
// MVDataNodeType "1" // MVDataNodeType "1"
// MFgdFromSchemaEditablePolymorphicThisClass
// MVDataFileExtension // MVDataFileExtension
// MPropertyFriendlyName "VSND Container" // MPropertyFriendlyName "VSND Container"
// MPropertyDescription "Voice Container Base" // MPropertyDescription "Voice Container Base"
class CVoiceContainerBase class CVoiceContainerBase
{ {
private: private:
[[maybe_unused]] uint8_t __pad0000[0x20]; // 0x0 [[maybe_unused]] uint8_t __pad0000[0x38]; // 0x0
public: public:
// MPropertySuppressField // MPropertySuppressField
// -> m_nRate - 0x20 // -> m_nRate - 0x38
// -> m_nFormat - 0x24 // -> m_nFormat - 0x3c
// -> m_nChannels - 0x28 // -> m_nChannels - 0x40
// -> m_nLoopStart - 0x2c // -> m_nLoopStart - 0x44
// -> m_nSampleCount - 0x30 // -> m_nSampleCount - 0x48
// -> m_flDuration - 0x34 // -> m_flDuration - 0x4c
// -> m_Sentences - 0x38 // -> m_Sentences - 0x50
// -> m_nStreamingSize - 0x50 // -> m_nStreamingSize - 0x68
// -> m_nSeekTable - 0x58 // -> m_nSeekTable - 0x70
// -> m_nLoopEnd - 0x70 // -> m_nLoopEnd - 0x88
// -> m_encodedHeader - 0x78 // -> m_encodedHeader - 0x90
CVSound m_vSound; // 0x20 CVSound m_vSound; // 0x38
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 fields:
static bool &Get_bAudioFinishedPlaying(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerBase")->GetStaticFields()[0]->m_pInstance);}; static bool &Get_bAudioFinishedPlaying(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerBase")->GetStaticFields()[0]->m_pInstance);};
@ -386,7 +481,7 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0xf8 // Size: 0xb8
// Has VTable // Has VTable
// Construct allowed // Construct allowed
// //
@ -396,10 +491,6 @@ public:
class CVoiceContainerDefault : public CVoiceContainerBase class CVoiceContainerDefault : public CVoiceContainerBase
{ {
public: public:
// MPropertyFriendlyName "Vsnd"
// MPropertyDescription "Load the audio content into the kv3 content"
// MVSndPropertyGuaranteeConstant
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_vsndReference; // 0xf0
}; };
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
@ -439,18 +530,6 @@ public:
ActionType_t m_actionInstanceType; // 0x14 ActionType_t m_actionInstanceType; // 0x14
}; };
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x18
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
class CSosGroupActionLeakyIntegratorSchema : public CSosGroupActionSchema
{
public:
};
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8 // Alignment: 8
// Size: 0x38 // Size: 0x38
@ -483,6 +562,23 @@ public:
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
// MPropertyFriendlyName "Blender"
// MPropertyDescription "Blends two containers."
class CVoiceContainerBlender : public CVoiceContainerBase
{
public:
CSoundContainerReference m_firstSound; // 0xb8
CSoundContainerReference m_secondSound; // 0xd0
float m_flBlendFactor; // 0xe8
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xb8
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Null Container" // MPropertyFriendlyName "Null Container"
// MPropertyDescription "Plays a single channel of silence." // MPropertyDescription "Plays a single channel of silence."
class CVoiceContainerNull : public CVoiceContainerBase class CVoiceContainerNull : public CVoiceContainerBase
@ -534,6 +630,44 @@ public:
CPiecewiseCurve m_curve; // 0x10 CPiecewiseCurve m_curve; // 0x10
}; };
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x48
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
class CSosGroupActionSoundeventMinMaxValuesSchema : public CSosGroupActionSchema
{
public:
// MPropertyFriendlyName "Public field name to query."
CUtlString m_strQueryPublicFieldName; // 0x18
// MPropertyFriendlyName "Public field 'delay' name."
CUtlString m_strDelayPublicFieldName; // 0x20
// MPropertyFriendlyName "Exclude stopped sounds from evaluation"
bool m_bExcludeStoppedSounds; // 0x28
// MPropertyFriendlyName "Exclude delayed sounds from evaluation"
bool m_bExcludeDelayedSounds; // 0x29
// MPropertyFriendlyName "Exclude sounds from evaluation less than or equal to a min value threshold."
bool m_bExcludeSoundsBelowThreshold; // 0x2a
private:
[[maybe_unused]] uint8_t __pad002b[0x1]; // 0x2b
public:
// MPropertyFriendlyName "The minimum threshold value to exclude sounds."
float m_flExcludeSoundsMinThresholdValue; // 0x2c
// MPropertyFriendlyName "Exclude sounds from evaluation greater than or equal to a max value threshold."
bool m_bExcludSoundsAboveThreshold; // 0x30
private:
[[maybe_unused]] uint8_t __pad0031[0x3]; // 0x31
public:
// MPropertyFriendlyName "The maximum threshold value to exclude sounds."
float m_flExcludeSoundsMaxThresholdValue; // 0x34
// MPropertyFriendlyName "Min value property name"
CUtlString m_strMinValueName; // 0x38
// MPropertyFriendlyName "Max value property name"
CUtlString m_strMaxValueName; // 0x40
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
// Size: 0x8 // Size: 0x8
@ -549,30 +683,47 @@ public:
float m_flStrength; // 0x4 float m_flStrength; // 0x4
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8 // Alignment: 8
// Size: 0x100 // Size: 0x38
// Has VTable // Has VTable
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
// MPropertyFriendlyName "FM Synth Container" 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: 0xc8
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "TESTBED: FM Synth Container"
// MPropertyDescription "Real time FM Synthesis" // MPropertyDescription "Real time FM Synthesis"
class CVoiceContainerRealtimeFMSineWave : public CVoiceContainerBase class CVoiceContainerRealtimeFMSineWave : public CVoiceContainerBase
{ {
public: public:
// MPropertyFriendlyName "Frequency (Hz)" // MPropertyFriendlyName "Frequency (Hz)"
// MPropertyDescription "The frequency of this sine tone." // MPropertyDescription "The frequency of this sine tone."
// MVSndPropertyControlledAtRuntime float m_flCarrierFrequency; // 0xb8
float m_flCarrierFrequency; // 0xf0
// MPropertyFriendlyName "Mod Frequency (Hz)" // MPropertyFriendlyName "Mod Frequency (Hz)"
// MPropertyDescription "The frequency of the sine tone modulating this sine tone." // MPropertyDescription "The frequency of the sine tone modulating this sine tone."
// MVSndPropertyControlledAtRuntime float m_flModulatorFrequency; // 0xbc
float m_flModulatorFrequency; // 0xf4
// MPropertyFriendlyName "Mod Amount (Hz)" // MPropertyFriendlyName "Mod Amount (Hz)"
// MPropertyDescription "The amount the modulating sine tone modulates this sine tone." // MPropertyDescription "The amount the modulating sine tone modulates this sine tone."
// MVSndPropertyControlledAtRuntime float m_flModulatorAmount; // 0xc0
float m_flModulatorAmount; // 0xf8
}; };
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
@ -682,13 +833,15 @@ public:
bool m_bMatchEventSubString; // 0x9 bool m_bMatchEventSubString; // 0x9
// MPropertyFriendlyName "Source Entity Index" // MPropertyFriendlyName "Source Entity Index"
bool m_bMatchEntIndex; // 0xa bool m_bMatchEntIndex; // 0xa
// MPropertyFriendlyName "Operator Variable" // MPropertyFriendlyName "Opvar Float"
bool m_bMatchOpvar; // 0xb bool m_bMatchOpvar; // 0xb
// MPropertyFriendlyName "Opvar String"
bool m_bMatchString; // 0xc
}; };
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8 // Alignment: 8
// Size: 0x28 // Size: 0x30
// Has VTable // Has VTable
// Construct allowed // Construct allowed
// //
@ -700,16 +853,17 @@ public:
CUtlString m_matchSoundEventName; // 0x10 CUtlString m_matchSoundEventName; // 0x10
// MPropertyFriendlyName "Sub-String" // MPropertyFriendlyName "Sub-String"
CUtlString m_matchSoundEventSubString; // 0x18 CUtlString m_matchSoundEventSubString; // 0x18
// MPropertyFriendlyName "Entity Index" // MPropertyFriendlyName "Source Entity Index"
float m_flEntIndex; // 0x20 float m_flEntIndex; // 0x20
// MPropertyFriendlyName "Operator Variable Value" // MPropertyFriendlyName "Opvar Float"
float m_flOpvar; // 0x24 float m_flOpvar; // 0x24
// MPropertyFriendlyName "Opvar String"
CUtlString m_opvarString; // 0x28
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
// Size: 0x90 // Size: 0x90
// Has Trivial Constructor
// Has Trivial Destructor // Has Trivial Destructor
// Construct allowed // Construct allowed
// //
@ -778,6 +932,62 @@ public:
float m_flEaseOut; // 0x64 float m_flEaseOut; // 0x64
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xe8
// Has VTable
// Construct allowed
//
// 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; // 0xb8
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x190
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Wind Generator Container"
// MPropertyDescription "This is a synth meant to generate whoosh noises."
class CVoiceContainerShapedNoise : public CVoiceContainerBase
{
public:
bool m_bUseCurveForFrequency; // 0xb8
private:
[[maybe_unused]] uint8_t __pad00b9[0x3]; // 0xb9
public:
// MPropertySuppressExpr "m_bUseCurveForFrequency == 1"
float m_flFrequency; // 0xbc
// MPropertySuppressExpr "m_bUseCurveForFrequency == 0"
// MPropertyFriendlyName "Frequency Sweep"
CPiecewiseCurve m_frequencySweep; // 0xc0
bool m_bUseCurveForResonance; // 0x100
private:
[[maybe_unused]] uint8_t __pad0101[0x3]; // 0x101
public:
// MPropertySuppressExpr "m_bUseCurveForResonance == 1"
float m_flResonance; // 0x104
// MPropertySuppressExpr "m_bUseCurveForResonance == 0"
// MPropertyFriendlyName "Resonance Sweep"
CPiecewiseCurve m_resonanceSweep; // 0x108
bool m_bUseCurveForAmplitude; // 0x148
private:
[[maybe_unused]] uint8_t __pad0149[0x3]; // 0x149
public:
// MPropertySuppressExpr "m_bUseCurveForAmplitude == 1"
float m_flGainInDecibels; // 0x14c
// MPropertySuppressExpr "m_bUseCurveForAmplitude == 0"
// MPropertyFriendlyName "Gain Sweep (in Decibels)"
CPiecewiseCurve m_gainSweep; // 0x150
};
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8 // Alignment: 8
// Size: 0x20 // Size: 0x20
@ -797,29 +1007,7 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0x108 // Size: 0x1e0
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Blend Container"
// MPropertyDescription "Mixes two sounds in real time"
class CVoiceContainerBlend : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "First Sound"
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_hSoundOne; // 0xf0
// MPropertyFriendlyName "Second Sound"
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_hSoundTwo; // 0xf8
// 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; // 0x100
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x218
// Has VTable // Has VTable
// Construct allowed // Construct allowed
// //
@ -829,20 +1017,38 @@ public:
class CVoiceContainerRandomSampler : public CVoiceContainerBase class CVoiceContainerRandomSampler : public CVoiceContainerBase
{ {
public: public:
float m_flAmplitude; // 0xf0 float m_flAmplitude; // 0xb8
float m_flAmplitudeJitter; // 0xf4 float m_flAmplitudeJitter; // 0xbc
float m_flTimeJitter; // 0xf8 float m_flTimeJitter; // 0xc0
float m_flMaxLength; // 0xfc float m_flMaxLength; // 0xc4
int32_t m_nNumDelayVariations; // 0x100 int32_t m_nNumDelayVariations; // 0xc8
private: private:
[[maybe_unused]] uint8_t __pad0104[0x4]; // 0x104 [[maybe_unused]] uint8_t __pad00cc[0x4]; // 0xcc
public: public:
CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > m_grainResources; // 0x108 CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > m_grainResources; // 0xd0
// Static fields: // Static fields:
static int32_t &Get_nInstancesFixed(){return *reinterpret_cast<int32_t*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerRandomSampler")->GetStaticFields()[0]->m_pInstance);}; static int32_t &Get_nInstancesFixed(){return *reinterpret_cast<int32_t*>(interfaces::g_schema->FindTypeScopeForModule("soundsystem.dll")->FindDeclaredClass("CVoiceContainerRandomSampler")->GetStaticFields()[0]->m_pInstance);};
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x188
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Granulator Container"
class CVoiceContainerGranulator : public CVoiceContainerBase
{
public:
float m_flGrainLength; // 0xb8
float m_flGrainCrossfadeAmount; // 0xbc
float m_flStartJitter; // 0xc0
float m_flPlaybackJitter; // 0xc4
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_sourceAudio; // 0xc8
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
// Size: 0x28 // Size: 0x28
@ -894,6 +1100,25 @@ public:
int32_t m_nPhonemeCode; // 0x8 int32_t m_nPhonemeCode; // 0x8
}; };
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x28
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
class CSosGroupActionSoundeventCountSchema : public CSosGroupActionSchema
{
public:
// MPropertyFriendlyName "Exclude Stopped Sounds from Count"
bool m_bExcludeStoppedSounds; // 0x18
private:
[[maybe_unused]] uint8_t __pad0019[0x7]; // 0x19
public:
// MPropertyFriendlyName "Result Current Count"
CUtlString m_strCountKeyName; // 0x20
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0x60 // Size: 0x60
@ -958,10 +1183,25 @@ public:
float m_flValue; // 0x4 float m_flValue; // 0x4
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xd0
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Container Set"
// MPropertyDescription "An array of containers that are played all at once."
class CVoiceContainerSet : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Container List"
CUtlVector< CVoiceContainerSetElement > m_soundsToPlay; // 0xb8
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
// Size: 0x20 // Size: 0x20
// Has Trivial Constructor
// Has Trivial Destructor // Has Trivial Destructor
// Construct allowed // Construct allowed
// //
@ -991,6 +1231,20 @@ public:
float m_flHighCutoffFreq; // 0x1c float m_flHighCutoffFreq; // 0x1c
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x20
// Construct allowed
//
// MGetKV3ClassDefaults
class CVoiceContainerSetElement
{
public:
CSoundContainerReference m_sound; // 0x0
// MPropertyFriendlyName "Volume (in Decibels)"
float m_flVolumeDB; // 0x18
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 1 // Alignment: 1
// Size: 0x1 // Size: 0x1
@ -1022,7 +1276,7 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8 // Alignment: 8
// Size: 0xd8 // Size: 0xe0
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
@ -1051,20 +1305,22 @@ public:
// -> m_matchSoundEventSubString - 0x30 // -> m_matchSoundEventSubString - 0x30
// -> m_flEntIndex - 0x38 // -> m_flEntIndex - 0x38
// -> m_flOpvar - 0x3c // -> m_flOpvar - 0x3c
// -> m_opvarString - 0x40
CSosGroupMatchPattern m_matchPattern; // 0x18 CSosGroupMatchPattern m_matchPattern; // 0x18
// MPropertyFriendlyName "Branch Rules" // MPropertyFriendlyName "Branch Rules"
// -> m_bMatchEventName - 0x48 // -> m_bMatchEventName - 0x50
// -> m_bMatchEventSubString - 0x49 // -> m_bMatchEventSubString - 0x51
// -> m_bMatchEntIndex - 0x4a // -> m_bMatchEntIndex - 0x52
// -> m_bMatchOpvar - 0x4b // -> m_bMatchOpvar - 0x53
CSosGroupBranchPattern m_branchPattern; // 0x40 // -> m_bMatchString - 0x54
CSosGroupBranchPattern m_branchPattern; // 0x48
// MPropertyFriendlyName "Member Lifespan Time" // MPropertyFriendlyName "Member Lifespan Time"
float m_flLifeSpanTime; // 0x50 float m_flLifeSpanTime; // 0x58
private: private:
[[maybe_unused]] uint8_t __pad0054[0x64]; // 0x54 [[maybe_unused]] uint8_t __pad005c[0x64]; // 0x5c
public: public:
// MPropertyFriendlyName "Actions" // MPropertyFriendlyName "Actions"
CSosGroupActionSchema* m_vActions[4]; // 0xb8 CSosGroupActionSchema* m_vActions[4]; // 0xc0
}; };
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
@ -1106,6 +1362,27 @@ public:
float m_flFeedbackDiffusion2; // 0x18 float m_flFeedbackDiffusion2; // 0x18
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x38
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Sound Array "
// MPropertyDescription "Reference to list of vsnd files or other containers."
class CSoundContainerReferenceArray
{
public:
// MPropertyFriendlyName "Use Vsnd File"
bool m_bUseReference; // 0x0
// MPropertySuppressExpr "m_bUseReference == 0"
// MPropertyFriendlyName "Vsnd File"
CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > m_sounds; // 0x8
// MPropertySuppressExpr "m_bUseReference == 1"
// MPropertyFriendlyName "Vsnd Container"
CUtlVector< CVoiceContainerBase* > m_pSounds; // 0x20
};
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
// Size: 0x10 // Size: 0x10
@ -1126,7 +1403,6 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
// Size: 0x24 // Size: 0x24
// Has Trivial Constructor
// Has Trivial Destructor // Has Trivial Destructor
// Construct allowed // Construct allowed
// //
@ -1236,22 +1512,40 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0xf8 // Size: 0xc0
// Has VTable // Has VTable
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
// MPropertyFriendlyName "Decaying Sine Wave Container" // MPropertyFriendlyName "TESTBED: Decaying Sine Wave Container"
// MPropertyDescription "Only text params, renders in real time" // MPropertyDescription "Only text params, renders in real time"
class CVoiceContainerDecayingSineWave : public CVoiceContainerBase class CVoiceContainerDecayingSineWave : public CVoiceContainerBase
{ {
public: public:
// MPropertyFriendlyName "Frequency (Hz)" // MPropertyFriendlyName "Frequency (Hz)"
// MPropertyDescription "The frequency of this sine tone." // MPropertyDescription "The frequency of this sine tone."
float m_flFrequency; // 0xf0 float m_flFrequency; // 0xb8
// MPropertyFriendlyName "Decay Time (Seconds)" // MPropertyFriendlyName "Decay Time (Seconds)"
// MPropertyDescription "The frequency of this sine tone." // MPropertyDescription "The frequency of this sine tone."
float m_flDecayTime; // 0xf4 float m_flDecayTime; // 0xbc
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xc8
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Envelope VSND"
// MPropertyDescription "Plays sound with envelope."
class CVoiceContainerEnvelope : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Vsnd File"
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_sound; // 0xb8
// MPropertyFriendlyName "Container Analyzers"
CVoiceContainerAnalysisBase* m_analysisContainer; // 0xc0
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
@ -1277,7 +1571,6 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')
// Alignment: 4 // Alignment: 4
// Size: 0x24 // Size: 0x24
// Has Trivial Constructor
// Has Trivial Destructor // Has Trivial Destructor
// Construct allowed // Construct allowed
// //
@ -1322,6 +1615,37 @@ public:
float m_flCrossfadeTime; // 0x0 float m_flCrossfadeTime; // 0x0
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0x68
// Construct allowed
//
// 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') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0x130 // Size: 0x130
@ -1335,14 +1659,17 @@ class CVoiceContainerSelector : public CVoiceContainerBase
{ {
public: public:
// MPropertyFriendlyName "Playback Mode" // MPropertyFriendlyName "Playback Mode"
PlayBackMode_t m_mode; // 0xf0 PlayBackMode_t m_mode; // 0xb8
// MPropertyFriendlyName "Retrigger"
bool m_bRetrigger; // 0xf4
private: private:
[[maybe_unused]] uint8_t __pad00f5[0x3]; // 0xf5 [[maybe_unused]] uint8_t __pad00bc[0x4]; // 0xbc
public: public:
// MPropertyFriendlyName "Sounds To play" // MPropertyFriendlyName "Sounds To play"
CUtlVector< CStrongHandle< InfoForResourceTypeCVoiceContainerBase > > m_soundsToPlay; // 0xf8 // -> m_bUseReference - 0xc0
// -> m_sounds - 0xc8
// -> m_pSounds - 0xe0
CSoundContainerReferenceArray m_soundsToPlay; // 0xc0
// MPropertyFriendlyName "Relative Weights"
CUtlVector< float32 > m_fProbabilityWeights; // 0xf8
}; };
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
@ -1361,6 +1688,66 @@ public:
float m_flMaxDuration; // 0x1c float m_flMaxDuration; // 0x1c
}; };
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0xc8
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "TESTBED: Nested Voice Containers"
// MPropertyDescription "Adds to voices to a tree span."
class CTestBlendContainer : public CVoiceContainerBase
{
public:
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_firstSound; // 0xb8
CStrongHandle< InfoForResourceTypeCVoiceContainerBase > m_secondSound; // 0xc0
};
// Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8
// Size: 0x40
// Has VTable
// Construct allowed
//
// 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: 0xd0
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "Container Switch"
// MPropertyDescription "An array of containers"
class CVoiceContainerSwitch : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Container List"
CUtlVector< CSoundContainerReference > m_soundsToPlay; // 0xb8
};
// Registered binary: soundsystem.dll (project 'soundsystem') // Registered binary: soundsystem.dll (project 'soundsystem')
// Alignment: 8 // Alignment: 8
// Size: 0x20 // Size: 0x20
@ -1428,20 +1815,39 @@ public:
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers') // Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8 // Alignment: 8
// Size: 0x100 // Size: 0xe0
// Has VTable // Has VTable
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
// MPropertyFriendlyName "Amped Decaying Sine Wave Container" // MPropertyFriendlyName "LoopTrigger"
// MPropertyDescription "Continuously retriggers a sound and optionally fades to the new instance."
class CVoiceContainerLoopTrigger : public CVoiceContainerBase
{
public:
// MPropertyFriendlyName "Vsnd Reference"
CSoundContainerReference m_sound; // 0xb8
float m_flRetriggerTimeMin; // 0xd0
float m_flRetriggerTimeMax; // 0xd4
float m_flFadeTime; // 0xd8
bool m_bCrossFade; // 0xdc
};
// Registered binary: soundsystem.dll (project 'soundsystem_voicecontainers')
// Alignment: 8
// Size: 0xc8
// Has VTable
// Construct allowed
//
// MGetKV3ClassDefaults
// MPropertyFriendlyName "TESTBED: Amped Decaying Sine Wave Container"
// MPropertyDescription "Bytecode instruction" // MPropertyDescription "Bytecode instruction"
class CVoiceContainerAmpedDecayingSineWave : public CVoiceContainerDecayingSineWave class CVoiceContainerAmpedDecayingSineWave : public CVoiceContainerDecayingSineWave
{ {
public: public:
// MPropertyFriendlyName "Attenuation Amount (dB)" // MPropertyFriendlyName "Attenuation Amount (dB)"
// MPropertyDescription "The amount of attenuation ." // MPropertyDescription "The amount of attenuation ."
// MVSndPropertyControlledAtRuntime float m_flGainAmount; // 0xc0
float m_flGainAmount; // 0xf8
}; };
// Registered binary: soundsystem.dll (project 'soundsystem_lowlevel') // Registered binary: soundsystem.dll (project 'soundsystem_lowlevel')

View File

@ -4,7 +4,7 @@
// ///////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////
// Binary: vphysics2.dll // Binary: vphysics2.dll
// Classes count: 0 (Allocated) | 88 (Unallocated) // Classes count: 0 (Allocated) | 90 (Unallocated)
// Enums count: 0 (Allocated) | 2 (Unallocated) // Enums count: 0 (Allocated) | 2 (Unallocated)
// Created using source2gen - github.com/neverlosecc/source2gen // Created using source2gen - github.com/neverlosecc/source2gen
// ///////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////
@ -150,7 +150,7 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8 // Alignment: 8
// Size: 0x10 // Size: 0x18
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
@ -160,6 +160,12 @@ public:
uint32_t m_nCollisionAttributeIndex; // 0x0 uint32_t m_nCollisionAttributeIndex; // 0x0
uint32_t m_nSurfacePropertyIndex; // 0x4 uint32_t m_nSurfacePropertyIndex; // 0x4
CUtlString m_UserFriendlyName; // 0x8 CUtlString m_UserFriendlyName; // 0x8
bool m_bUserFriendlyNameSealed; // 0x10
bool m_bUserFriendlyNameLong; // 0x11
private:
[[maybe_unused]] uint8_t __pad0012[0x2]; // 0x12
public:
uint32_t m_nToolMaterialHash; // 0x14
}; };
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
@ -185,7 +191,7 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8 // Alignment: 8
// Size: 0x618 // Size: 0x638
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
@ -265,36 +271,38 @@ public:
uint8_t m_nExtraPressureIterations; // 0x49d uint8_t m_nExtraPressureIterations; // 0x49d
uint8_t m_nExtraGoalIterations; // 0x49e uint8_t m_nExtraGoalIterations; // 0x49e
uint8_t m_nExtraIterations; // 0x49f uint8_t m_nExtraIterations; // 0x49f
CUtlVector< FeBoxRigid_t > m_BoxRigids; // 0x4a0 CUtlVector< FeSDFRigid_t > m_SDFRigids; // 0x4a0
CUtlVector< uint8 > m_DynNodeVertexSet; // 0x4b8 CUtlVector< FeBoxRigid_t > m_BoxRigids; // 0x4b8
CUtlVector< uint32 > m_VertexSetNames; // 0x4d0 CUtlVector< uint8 > m_DynNodeVertexSet; // 0x4d0
CUtlVector< FeRigidColliderIndices_t > m_RigidColliderPriorities; // 0x4e8 CUtlVector< uint32 > m_VertexSetNames; // 0x4e8
CUtlVector< FeMorphLayerDepr_t > m_MorphLayers; // 0x500 CUtlVector< FeRigidColliderIndices_t > m_RigidColliderPriorities; // 0x500
CUtlVector< uint8 > m_MorphSetData; // 0x518 CUtlVector< FeMorphLayerDepr_t > m_MorphLayers; // 0x518
CUtlVector< FeVertexMapDesc_t > m_VertexMaps; // 0x530 CUtlVector< uint8 > m_MorphSetData; // 0x530
CUtlVector< uint8 > m_VertexMapValues; // 0x548 CUtlVector< FeVertexMapDesc_t > m_VertexMaps; // 0x548
CUtlVector< FeEffectDesc_t > m_Effects; // 0x560 CUtlVector< uint8 > m_VertexMapValues; // 0x560
CUtlVector< FeCtrlOffset_t > m_LockToParent; // 0x578 CUtlVector< FeEffectDesc_t > m_Effects; // 0x578
CUtlVector< uint16 > m_LockToGoal; // 0x590 CUtlVector< FeCtrlOffset_t > m_LockToParent; // 0x590
CUtlVector< int16 > m_SkelParents; // 0x5a8 CUtlVector< uint16 > m_LockToGoal; // 0x5a8
CUtlVector< FeNodeWindBase_t > m_DynNodeWindBases; // 0x5c0 CUtlVector< int16 > m_SkelParents; // 0x5c0
float m_flInternalPressure; // 0x5d8 CUtlVector< FeNodeWindBase_t > m_DynNodeWindBases; // 0x5d8
float m_flDefaultTimeDilation; // 0x5dc float m_flInternalPressure; // 0x5f0
float m_flWindage; // 0x5e0 float m_flDefaultTimeDilation; // 0x5f4
float m_flWindDrag; // 0x5e4 float m_flWindage; // 0x5f8
float m_flDefaultSurfaceStretch; // 0x5e8 float m_flWindDrag; // 0x5fc
float m_flDefaultThreadStretch; // 0x5ec float m_flDefaultSurfaceStretch; // 0x600
float m_flDefaultGravityScale; // 0x5f0 float m_flDefaultThreadStretch; // 0x604
float m_flDefaultVelAirDrag; // 0x5f4 float m_flDefaultGravityScale; // 0x608
float m_flDefaultExpAirDrag; // 0x5f8 float m_flDefaultVelAirDrag; // 0x60c
float m_flDefaultVelQuadAirDrag; // 0x5fc float m_flDefaultExpAirDrag; // 0x610
float m_flDefaultExpQuadAirDrag; // 0x600 float m_flDefaultVelQuadAirDrag; // 0x614
float m_flRodVelocitySmoothRate; // 0x604 float m_flDefaultExpQuadAirDrag; // 0x618
float m_flQuadVelocitySmoothRate; // 0x608 float m_flRodVelocitySmoothRate; // 0x61c
float m_flAddWorldCollisionRadius; // 0x60c float m_flQuadVelocitySmoothRate; // 0x620
float m_flDefaultVolumetricSolveAmount; // 0x610 float m_flAddWorldCollisionRadius; // 0x624
uint16_t m_nRodVelocitySmoothIterations; // 0x614 float m_flDefaultVolumetricSolveAmount; // 0x628
uint16_t m_nQuadVelocitySmoothIterations; // 0x616 float m_flMotionSmoothCDT; // 0x62c
uint16_t m_nRodVelocitySmoothIterations; // 0x630
uint16_t m_nQuadVelocitySmoothIterations; // 0x632
}; };
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
@ -564,16 +572,16 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8 // Alignment: 8
// Size: 0x30 // Size: 0x38
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
struct RnCapsuleDesc_t : public RnShapeDesc_t struct RnCapsuleDesc_t : public RnShapeDesc_t
{ {
public: public:
// -> m_vCenter[2] - 0x10 // -> m_vCenter[2] - 0x18
// -> m_flRadius - 0x28 // -> m_flRadius - 0x30
RnCapsule_t m_Capsule; // 0x10 RnCapsule_t m_Capsule; // 0x18
}; };
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
@ -644,24 +652,24 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8 // Alignment: 8
// Size: 0xb8 // Size: 0xc0
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
struct RnMeshDesc_t : public RnShapeDesc_t struct RnMeshDesc_t : public RnShapeDesc_t
{ {
public: public:
// -> m_vMin - 0x10 // -> m_vMin - 0x18
// -> m_vMax - 0x1c // -> m_vMax - 0x24
// -> m_Nodes - 0x28 // -> m_Nodes - 0x30
// -> m_Vertices - 0x40 // -> m_Vertices - 0x48
// -> m_Triangles - 0x58 // -> m_Triangles - 0x60
// -> m_Wings - 0x70 // -> m_Wings - 0x78
// -> m_Materials - 0x88 // -> m_Materials - 0x90
// -> m_vOrthographicAreas - 0xa0 // -> m_vOrthographicAreas - 0xa8
// -> m_nFlags - 0xac // -> m_nFlags - 0xb4
// -> m_nDebugFlags - 0xb0 // -> m_nDebugFlags - 0xb8
RnMesh_t m_Mesh; // 0x10 RnMesh_t m_Mesh; // 0x18
}; };
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
@ -676,6 +684,27 @@ public:
Vector m_vNormal; // 0xc Vector m_vNormal; // 0xc
}; };
// Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8
// Size: 0x48
// Construct allowed
//
// MGetKV3ClassDefaults
struct FeSDFRigid_t
{
public:
Vector vLocalMin; // 0x0
Vector vLocalMax; // 0xc
uint16_t nNode; // 0x18
uint16_t nCollisionMask; // 0x1a
uint16_t nVertexMapIndex; // 0x1c
uint16_t nFlags; // 0x1e
CUtlVector< float32 > m_Distances; // 0x20
int32_t m_nWidth; // 0x38
int32_t m_nHeight; // 0x3c
int32_t m_nDepth; // 0x40
};
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 16 // Alignment: 16
// Size: 0x10 // Size: 0x10
@ -835,6 +864,19 @@ public:
float m_flOffset; // 0xc float m_flOffset; // 0xc
}; };
// Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8
// Size: 0x50
// Construct allowed
//
// MGetKV3ClassDefaults
struct FeBuildSDFRigid_t : public FeSDFRigid_t
{
public:
int32_t m_nPriority; // 0x48
uint32_t m_nVertexMapHash; // 0x4c
};
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 4 // Alignment: 4
// Size: 0xa4 // Size: 0xa4
@ -1092,7 +1134,7 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 2 // Alignment: 2
// Size: 0x8 // Size: 0xa
// Has Trivial Destructor // Has Trivial Destructor
// Construct allowed // Construct allowed
// //
@ -1103,7 +1145,8 @@ public:
uint16_t m_nTaperedCapsuleRigidIndex; // 0x0 uint16_t m_nTaperedCapsuleRigidIndex; // 0x0
uint16_t m_nSphereRigidIndex; // 0x2 uint16_t m_nSphereRigidIndex; // 0x2
uint16_t m_nBoxRigidIndex; // 0x4 uint16_t m_nBoxRigidIndex; // 0x4
uint16_t m_nCollisionPlaneIndex; // 0x6 uint16_t m_nSDFRigidIndex; // 0x6
uint16_t m_nCollisionPlaneIndex; // 0x8
}; };
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
@ -1271,14 +1314,14 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8 // Alignment: 8
// Size: 0x108 // Size: 0x110
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
struct RnHullDesc_t : public RnShapeDesc_t struct RnHullDesc_t : public RnShapeDesc_t
{ {
public: public:
RnHull_t m_Hull; // 0x10 RnHull_t m_Hull; // 0x18
}; };
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
@ -1500,14 +1543,14 @@ public:
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')
// Alignment: 8 // Alignment: 8
// Size: 0x20 // Size: 0x28
// Construct allowed // Construct allowed
// //
// MGetKV3ClassDefaults // MGetKV3ClassDefaults
struct RnSphereDesc_t : public RnShapeDesc_t struct RnSphereDesc_t : public RnShapeDesc_t
{ {
public: public:
SphereBase_t< float32 > m_Sphere; // 0x10 SphereBase_t< float32 > m_Sphere; // 0x18
}; };
// Registered binary: vphysics2.dll (project 'physicslib') // Registered binary: vphysics2.dll (project 'physicslib')

View File

@ -10,7 +10,7 @@
// ///////////////////////////////////////////////////////////// // /////////////////////////////////////////////////////////////
// Registered binary: worldrenderer.dll (project 'worldrenderer') // Registered binary: worldrenderer.dll (project 'worldrenderer')
// Enumerator count: 13 // Enumerator count: 14
// Alignment: 4 // Alignment: 4
// Size: 0x4 // Size: 0x4
enum class ObjectTypeFlags_t : std::uint32_t enum class ObjectTypeFlags_t : std::uint32_t
@ -28,6 +28,7 @@ enum class ObjectTypeFlags_t : std::uint32_t
OBJECT_TYPE_OVERLAY = 0x2000, OBJECT_TYPE_OVERLAY = 0x2000,
OBJECT_TYPE_PRECOMPUTED_VISMEMBERS = 0x4000, OBJECT_TYPE_PRECOMPUTED_VISMEMBERS = 0x4000,
OBJECT_TYPE_STATIC_CUBE_MAP = 0x8000, OBJECT_TYPE_STATIC_CUBE_MAP = 0x8000,
OBJECT_TYPE_DISABLE_VIS_CULLING = 0x10000,
}; };
struct ChangeAccessorFieldPathIndex_t; struct ChangeAccessorFieldPathIndex_t;
@ -101,7 +102,7 @@ public:
// MNetworkChangeAccessorFieldPathIndex // MNetworkChangeAccessorFieldPathIndex
ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x40 ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x40
private: private:
[[maybe_unused]] uint8_t __pad0042[0x16]; // 0x42 [[maybe_unused]] uint8_t __pad0044[0x14]; // 0x44
public: public:
CEntityIdentity* m_pPrev; // 0x58 CEntityIdentity* m_pPrev; // 0x58
CEntityIdentity* m_pNext; // 0x60 CEntityIdentity* m_pNext; // 0x60
@ -360,7 +361,7 @@ public:
// Registered binary: worldrenderer.dll (project 'worldrenderer') // Registered binary: worldrenderer.dll (project 'worldrenderer')
// Alignment: 8 // Alignment: 8
// Size: 0x28 // Size: 0x30
// Has Trivial Destructor // Has Trivial Destructor
// Construct allowed // Construct allowed
// //