#pragma once #include #include "!GlobalTypes.hpp" // ///////////////////////////////////////////////////////////// // Binary: soundsystem.dll // Classes count: 24 // Enums count: 11 // Created using source2gen - github.com/neverlosecc/source2gen // ///////////////////////////////////////////////////////////// // Alignment: 4 // Size: 0x1e enum class soundlevel_t : uint32_t { SNDLVL_NONE = 0x0, SNDLVL_20dB = 0x14, SNDLVL_25dB = 0x19, SNDLVL_30dB = 0x1e, SNDLVL_35dB = 0x23, SNDLVL_40dB = 0x28, SNDLVL_45dB = 0x2d, SNDLVL_50dB = 0x32, SNDLVL_55dB = 0x37, SNDLVL_IDLE = 0x3c, SNDLVL_60dB = 0x3c, SNDLVL_65dB = 0x41, SNDLVL_STATIC = 0x42, SNDLVL_70dB = 0x46, SNDLVL_NORM = 0x4b, SNDLVL_75dB = 0x4b, SNDLVL_80dB = 0x50, SNDLVL_TALKING = 0x50, SNDLVL_85dB = 0x55, SNDLVL_90dB = 0x5a, SNDLVL_95dB = 0x5f, SNDLVL_100dB = 0x64, SNDLVL_105dB = 0x69, SNDLVL_110dB = 0x6e, SNDLVL_120dB = 0x78, SNDLVL_130dB = 0x82, SNDLVL_GUNFIRE = 0x8c, SNDLVL_140dB = 0x8c, SNDLVL_150dB = 0x96, SNDLVL_180dB = 0xb4, }; // Alignment: 4 // Size: 0x3 enum class ActionType_t : uint32_t { SOS_ACTION_NONE = 0x0, SOS_ACTION_LIMITER = 0x1, SOS_ACTION_TIME_LIMIT = 0x2, }; // Alignment: 4 // Size: 0x3 enum class SosActionStopType_t : uint32_t { SOS_STOPTYPE_NONE = 0x0, SOS_STOPTYPE_TIME = 0x1, SOS_STOPTYPE_OPVAR = 0x2, }; // Alignment: 4 // Size: 0x2 enum class SosActionSortType_t : uint32_t { SOS_SORTTYPE_HIGHEST = 0x0, SOS_SORTTYPE_LOWEST = 0x1, }; // Alignment: 4 // Size: 0x2 enum class SosGroupType_t : uint32_t { SOS_GROUPTYPE_DYNAMIC = 0x0, SOS_GROUPTYPE_STATIC = 0x1, }; // Alignment: 4 // Size: 0x6 enum class SosEditItemType_t : uint32_t { SOS_EDIT_ITEM_TYPE_SOUNDEVENTS = 0x0, SOS_EDIT_ITEM_TYPE_SOUNDEVENT = 0x1, SOS_EDIT_ITEM_TYPE_LIBRARYSTACKS = 0x2, SOS_EDIT_ITEM_TYPE_STACK = 0x3, SOS_EDIT_ITEM_TYPE_OPERATOR = 0x4, SOS_EDIT_ITEM_TYPE_FIELD = 0x5, }; // Alignment: 2 // Size: 0x8 enum class VMixFilterType_t : uint16_t { FILTER_UNKNOWN = 0xffffffffffffffff, FILTER_LOWPASS = 0x0, FILTER_HIGHPASS = 0x1, FILTER_BANDPASS = 0x2, FILTER_NOTCH = 0x3, FILTER_PEAKING_EQ = 0x4, FILTER_LOW_SHELF = 0x5, FILTER_HIGH_SHELF = 0x6, }; // Alignment: 1 // Size: 0x5 enum class VMixFilterSlope_t : uint8_t { FILTER_SLOPE_12dB = 0x0, FILTER_SLOPE_24dB = 0x1, FILTER_SLOPE_36dB = 0x2, FILTER_SLOPE_48dB = 0x3, FILTER_SLOPE_MAX = 0x3, }; // Alignment: 2 // Size: 0x13 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_FULLWAVE_INTEGRATOR = 0x7, VPROCESSOR_FILTER = 0x8, VPROCESSOR_STEAMAUDIO_PATHING = 0x9, VPROCESSOR_EQ8 = 0xa, VPROCESSOR_ENVELOPE = 0xb, VPROCESSOR_VOCODER = 0xc, VPROCESSOR_CONVOLUTION = 0xd, VPROCESSOR_DYNAMICS_3BAND = 0xe, VPROCESSOR_DYNAMICS_COMPRESSOR = 0xf, VPROCESSOR_SHAPER = 0x10, VPROCESSOR_UTILITY = 0x11, VPROCESSOR_AUTOFILTER = 0x12, }; // Alignment: 4 // Size: 0x5 enum class VMixLFOShape_t : uint32_t { LFO_SHAPE_SINE = 0x0, LFO_SHAPE_SQUARE = 0x1, LFO_SHAPE_TRI = 0x2, LFO_SHAPE_SAW = 0x3, LFO_SHAPE_NOISE = 0x4, }; // Alignment: 4 // Size: 0x6 enum class VMixChannelOperation_t : uint32_t { VMIX_CHAN_STEREO = 0x0, VMIX_CHAN_LEFT = 0x1, VMIX_CHAN_RIGHT = 0x2, VMIX_CHAN_SWAP = 0x3, VMIX_CHAN_MONO = 0x4, VMIX_CHAN_MID_SIDE = 0x5, }; struct CSosGroupMatchPattern; struct CSosGroupBranchPattern; struct VMixFilterDesc_t; // Alignment: 3 // Size: 0x18 class CSosGroupActionSchema { public: // MPropertyFriendlyName "Name" CUtlString m_name; // 0x8 // MPropertyFriendlyName "Action Type" ActionType_t m_actionType; // 0x10 // MPropertySuppressField ActionType_t m_actionInstanceType; // 0x14 }; // Alignment: 3 // Size: 0x28 class CSosGroupActionLimitSchema : public CSosGroupActionSchema { public: // MPropertyFriendlyName "Max Count" int32_t m_nMaxCount; // 0x18 // MPropertyAttributeChoiceEnumName // MPropertyFriendlyName "Stop Type" SosActionStopType_t m_nStopType; // 0x1c // MPropertyAttributeChoiceEnumName // MPropertyFriendlyName "Sort Type" SosActionSortType_t m_nSortType; // 0x20 }; // Alignment: 1 // Size: 0x20 class CSosGroupActionTimeLimitSchema : public CSosGroupActionSchema { public: // MPropertyFriendlyName "Max Time" float m_flMaxDuration; // 0x18 }; // Alignment: 4 // Size: 0x10 class CSosGroupBranchPattern { public: // MPropertyFriendlyName "Event Name" bool m_bMatchEventName; // 0x8 // MPropertyFriendlyName "Sub-String" bool m_bMatchEventSubString; // 0x9 // MPropertyFriendlyName "Source Entity Index" bool m_bMatchEntIndex; // 0xa // MPropertyFriendlyName "Operator Variable" bool m_bMatchOpvar; // 0xb }; // Alignment: 4 // Size: 0x28 class CSosGroupMatchPattern : public CSosGroupBranchPattern { public: // MPropertyFriendlyName "Event Name" CUtlString m_matchSoundEventName; // 0x10 // MPropertyFriendlyName "Sub-String" CUtlString m_matchSoundEventSubString; // 0x18 // MPropertyFriendlyName "Entity Index" float m_flEntIndex; // 0x20 // MPropertyFriendlyName "Operator Variable Value" float m_flOpvar; // 0x24 }; // Alignment: 8 // Size: 0xd0 class CSosSoundEventGroupSchema { public: // MPropertyFriendlyName "Group Name" CUtlString m_name; // 0x0 // MPropertyAttributeChoiceEnumName // MPropertyFriendlyName "Group Type" SosGroupType_t m_nType; // 0x8 // MPropertyFriendlyName "Blocks Events" bool m_bIsBlocking; // 0xc private: [[maybe_unused]] uint8_t __pad000d[0x3]; // 0xd public: // MPropertyFriendlyName "Block Max Count" int32_t m_nBlockMaxCount; // 0x10 // MPropertyFriendlyName "Invert Match" bool m_bInvertMatch; // 0x14 private: [[maybe_unused]] uint8_t __pad0015[0x3]; // 0x15 public: // MPropertyFriendlyName "Match Rules" CSosGroupMatchPattern m_matchPattern; // 0x18 // MPropertyFriendlyName "Branch Rules" CSosGroupBranchPattern m_branchPattern; // 0x40 private: [[maybe_unused]] uint8_t __pad0050[0x60]; // 0x50 public: // MPropertyFriendlyName "Actions" CSosGroupActionSchema* m_vActions[4]; // 0xb0 }; // Alignment: 1 // Size: 0x18 class CSosSoundEventGroupListSchema { public: // MPropertyAutoExpandSelf // MPropertyFriendlyName "Groups" CUtlVector< CSosSoundEventGroupSchema > m_groupList; // 0x0 }; // Alignment: 5 // Size: 0x30 struct SosEditItemInfo_t { public: SosEditItemType_t itemType; // 0x0 CUtlString itemName; // 0x8 CUtlString itemTypeName; // 0x10 private: [[maybe_unused]] uint8_t __pad0018[0x8]; // 0x18 public: CUtlString itemKVString; // 0x20 Vector2D itemPos; // 0x28 }; // Alignment: 1 // Size: 0x18 struct SelectedEditItemInfo_t { public: CUtlVector< SosEditItemInfo_t > m_EditItems; // 0x0 }; // Alignment: 1 // Size: 0x8 class CSoundEventMetaData { public: CStrongHandle< InfoForResourceTypeCVMixListResource > m_soundEventVMix; // 0x0 }; // Alignment: 6 // Size: 0x10 struct VMixFilterDesc_t { public: VMixFilterType_t m_nFilterType; // 0x0 VMixFilterSlope_t m_nFilterSlope; // 0x2 bool m_bEnabled; // 0x3 float m_fldbGain; // 0x4 float m_flCutoffFreq; // 0x8 float m_flQ; // 0xc }; // Alignment: 1 // Size: 0x80 struct VMixEQ8Desc_t { public: VMixFilterDesc_t m_stages[8]; // 0x0 }; // Alignment: 7 // Size: 0x28 struct VMixDelayDesc_t { public: VMixFilterDesc_t m_feedbackFilter; // 0x0 bool m_bEnableFilter; // 0x10 private: [[maybe_unused]] uint8_t __pad0011[0x3]; // 0x11 public: float m_flDelay; // 0x14 float m_flDirectGain; // 0x18 float m_flDelayGain; // 0x1c float m_flFeedbackGain; // 0x20 float m_flWidth; // 0x24 }; // Alignment: 12 // Size: 0x30 struct VMixDynamicsDesc_t { public: float m_fldbGain; // 0x0 float m_fldbNoiseGateThreshold; // 0x4 float m_fldbCompressionThreshold; // 0x8 float m_fldbLimiterThreshold; // 0xc float m_fldbKneeWidth; // 0x10 float m_flRatio; // 0x14 float m_flLimiterRatio; // 0x18 float m_flAttackTimeMS; // 0x1c float m_flReleaseTimeMS; // 0x20 float m_flRMSTimeMS; // 0x24 float m_flWetMix; // 0x28 bool m_bPeakMode; // 0x2c }; // Alignment: 9 // Size: 0x24 struct VMixDynamicsCompressorDesc_t { public: // MPropertyFriendlyName "Output Gain (dB)" float m_fldbOutputGain; // 0x0 // MPropertyFriendlyName "Threshold (dB)" float m_fldbCompressionThreshold; // 0x4 // MPropertyFriendlyName "Knee Width (dB)" float m_fldbKneeWidth; // 0x8 // MPropertyFriendlyName "Compression Ratio" float m_flCompressionRatio; // 0xc // MPropertyFriendlyName "Attack time (ms)" float m_flAttackTimeMS; // 0x10 // MPropertyFriendlyName "Release time (ms)" float m_flReleaseTimeMS; // 0x14 // MPropertyFriendlyName "Threshold detection time (ms)" float m_flRMSTimeMS; // 0x18 // MPropertyFriendlyName "Dry/Wet" float m_flWetMix; // 0x1c // MPropertyFriendlyName "Peak mode" bool m_bPeakMode; // 0x20 }; // Alignment: 10 // Size: 0x24 struct VMixDynamicsBand_t { public: // MPropertyFriendlyName "Input Gain (dB)" float m_fldbGainInput; // 0x0 // MPropertyFriendlyName "Output Gain (dB)" float m_fldbGainOutput; // 0x4 // MPropertyFriendlyName "Above Threshold(dB)" float m_fldbThresholdBelow; // 0x8 // MPropertyFriendlyName "Below Threshold(dB)" float m_fldbThresholdAbove; // 0xc // MPropertyFriendlyName "Upward Ratio" float m_flRatioBelow; // 0x10 // MPropertyFriendlyName "Downward Ratio" float m_flRatioAbove; // 0x14 // MPropertyFriendlyName "Attack time (ms)" float m_flAttackTimeMS; // 0x18 // MPropertyFriendlyName "Release time (ms)" float m_flReleaseTimeMS; // 0x1c // MPropertyFriendlyName "Enabled" bool m_bEnable; // 0x20 // MPropertyFriendlyName "Solo" bool m_bSolo; // 0x21 }; // Alignment: 10 // Size: 0x90 struct VMixDynamics3BandDesc_t { public: float m_fldbGainOutput; // 0x0 float m_flRMSTimeMS; // 0x4 float m_fldbKneeWidth; // 0x8 float m_flDepth; // 0xc float m_flWetMix; // 0x10 float m_flTimeScale; // 0x14 float m_flLowCutoffFreq; // 0x18 float m_flHighCutoffFreq; // 0x1c bool m_bPeakMode; // 0x20 private: [[maybe_unused]] uint8_t __pad0021[0x3]; // 0x21 public: VMixDynamicsBand_t m_bandDesc[3]; // 0x24 }; // Alignment: 3 // Size: 0xc struct VMixEnvelopeDesc_t { public: float m_flAttackTimeMS; // 0x0 float m_flHoldTimeMS; // 0x4 float m_flReleaseTimeMS; // 0x8 }; // Alignment: 4 // Size: 0x10 struct VMixPitchShiftDesc_t { public: int32_t m_nGrainSampleCount; // 0x0 float m_flPitchShift; // 0x4 int32_t m_nQuality; // 0x8 int32_t m_nProcType; // 0xc }; // Alignment: 8 // Size: 0x20 struct VMixConvolutionDesc_t { public: // MPropertyFriendlyName "gain of wet signal (dB)" // MPropertyAttributeRange "-36 3" float m_fldbGain; // 0x0 // MPropertyFriendlyName "Pre-delay (ms)" float m_flPreDelayMS; // 0x4 // MPropertyFriendlyName "Dry/Wet" float m_flWetMix; // 0x8 // MPropertyFriendlyName "Low EQ gain (dB)" // MPropertyAttributeRange "-24 24" float m_fldbLow; // 0xc // MPropertyFriendlyName "Mid EQ gain (dB)" // MPropertyAttributeRange "-24 24" float m_fldbMid; // 0x10 // MPropertyFriendlyName "High EQ gain (dB)" // MPropertyAttributeRange "-24 24" float m_fldbHigh; // 0x14 // MPropertyFriendlyName "Low Cutoff Freq (Hz)" float m_flLowCutoffFreq; // 0x18 // MPropertyFriendlyName "High Cutoff Freq (Hz)" float m_flHighCutoffFreq; // 0x1c }; // Alignment: 10 // Size: 0x28 struct VMixVocoderDesc_t { public: int32_t m_nBandCount; // 0x0 float m_flBandwidth; // 0x4 float m_fldBModGain; // 0x8 float m_flFreqRangeStart; // 0xc float m_flFreqRangeEnd; // 0x10 float m_fldBUnvoicedGain; // 0x14 float m_flAttackTimeMS; // 0x18 float m_flReleaseTimeMS; // 0x1c int32_t m_nDebugBand; // 0x20 bool m_bPeakMode; // 0x24 }; // Alignment: 5 // Size: 0x14 struct VMixShaperDesc_t { public: // MPropertyFriendlyName "Shape" // MPropertyAttributeRange "0 14" int32_t m_nShape; // 0x0 // MPropertyFriendlyName "Drive (dB)" // MPropertyAttributeRange "0 36" float m_fldbDrive; // 0x4 // MPropertyFriendlyName "Output Gain (dB)" // MPropertyAttributeRange "-36 0" float m_fldbOutputGain; // 0x8 // MPropertyFriendlyName "Dry/Wet" float m_flWetMix; // 0xc // MPropertyFriendlyName "Oversampling" int32_t m_nOversampleFactor; // 0x10 }; // Alignment: 6 // Size: 0x18 struct VMixUtilityDesc_t { public: // MPropertyFriendlyName "Channels" VMixChannelOperation_t m_nOp; // 0x0 // MPropertyFriendlyName "Input Pan" // MPropertyAttributeRange "-1 1" float m_flInputPan; // 0x4 // MPropertyFriendlyName "Output Balance" // MPropertyAttributeRange "-1 1" float m_flOutputBalance; // 0x8 // MPropertyFriendlyName "Output Gain (dB)" // MPropertyAttributeRange "-36 0" float m_fldbOutputGain; // 0xc bool m_bBassMono; // 0x10 private: [[maybe_unused]] uint8_t __pad0011[0x3]; // 0x11 public: float m_flBassFreq; // 0x14 }; // Alignment: 8 // Size: 0x2c struct VMixAutoFilterDesc_t { public: float m_flEnvelopeAmount; // 0x0 float m_flAttackTimeMS; // 0x4 float m_flReleaseTimeMS; // 0x8 VMixFilterDesc_t m_filter; // 0xc float m_flLFOAmount; // 0x1c float m_flLFORate; // 0x20 float m_flPhase; // 0x24 VMixLFOShape_t m_nLFOShape; // 0x28 };