deskjob init

This commit is contained in:
anarh1st47 2023-03-16 00:40:38 +03:00
parent 01579f127d
commit 846297c3f0
18 changed files with 40985 additions and 35506 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -5,21 +5,27 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: engine2.dll // Binary: engine2.dll
// Class Count: 50 // Class Count: 50
// Enum Count: 3 // Enum Count: 4
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 4 // Aligment: 4
// Size: 8 // Size: 3
enum class SignonState_t : uint32_t enum class SpawnDebugOverrideState_t : uint32_t
{ {
SIGNONSTATE_NONE = 0x0, SPAWN_DEBUG_OVERRIDE_NONE = 0x0,
SIGNONSTATE_CHALLENGE = 0x1, SPAWN_DEBUG_OVERRIDE_FORCE_ENABLED = 0x1,
SIGNONSTATE_CONNECTED = 0x2, SPAWN_DEBUG_OVERRIDE_FORCE_DISABLED = 0x2,
SIGNONSTATE_NEW = 0x3, };
SIGNONSTATE_PRESPAWN = 0x4,
SIGNONSTATE_SPAWN = 0x5, // Aligment: 4
SIGNONSTATE_FULL = 0x6, // Size: 5
SIGNONSTATE_CHANGELEVEL = 0x7, enum class SpawnDebugRestrictionOverrideState_t : uint32_t
{
SPAWN_DEBUG_RESTRICT_NONE = 0x0,
SPAWN_DEBUG_RESTRICT_IGNORE_MANAGER_DISTANCE_REQS = 0x1,
SPAWN_DEBUG_RESTRICT_IGNORE_TEMPLATE_DISTANCE_LOS_REQS = 0x2,
SPAWN_DEBUG_RESTRICT_IGNORE_TEMPLATE_COOLDOWN_LIMITS = 0x4,
SPAWN_DEBUG_RESTRICT_IGNORE_TARGET_COOLDOWN_LIMITS = 0x8,
}; };
// Aligment: 4 // Aligment: 4
@ -78,7 +84,7 @@ public:
struct EventProfileStorageAvailable_t struct EventProfileStorageAvailable_t
{ {
public: public:
int32_t m_nSplitScreenSlot; // 0x0 CSplitScreenSlot m_nSplitScreenSlot; // 0x0
}; };
// Aligment: 0 // Aligment: 0
@ -134,8 +140,8 @@ public:
float m_flFrameTime; // 0x2c float m_flFrameTime; // 0x2c
}; };
// Aligment: 4 // Aligment: 5
// Size: 64 // Size: 72
struct EventClientPreOutput_t struct EventClientPreOutput_t
{ {
public: public:
@ -143,6 +149,7 @@ public:
double m_flRenderTime; // 0x28 double m_flRenderTime; // 0x28
double m_flRenderFrameTime; // 0x30 double m_flRenderFrameTime; // 0x30
double m_flRenderFrameTimeUnbounded; // 0x38 double m_flRenderFrameTimeUnbounded; // 0x38
bool m_bRenderOnly; // 0x40
}; };
// Aligment: 1 // Aligment: 1
@ -153,7 +160,7 @@ public:
bool m_bThreadsActive; // 0x0 bool m_bThreadsActive; // 0x0
}; };
// Aligment: 4 // Aligment: 5
// Size: 56 // Size: 56
struct EventClientOutput_t struct EventClientOutput_t
{ {
@ -162,10 +169,11 @@ public:
float m_flRenderTime; // 0x28 float m_flRenderTime; // 0x28
float m_flRealTime; // 0x2c float m_flRealTime; // 0x2c
float m_flRenderFrameTimeUnbounded; // 0x30 float m_flRenderFrameTimeUnbounded; // 0x30
bool m_bRenderOnly; // 0x34
}; };
// Aligment: 4 // Aligment: 5
// Size: 56 // Size: 64
struct EventClientPostOutput_t struct EventClientPostOutput_t
{ {
public: public:
@ -173,6 +181,7 @@ public:
double m_flRenderTime; // 0x28 double m_flRenderTime; // 0x28
float m_flRenderFrameTime; // 0x30 float m_flRenderFrameTime; // 0x30
float m_flRenderFrameTimeUnbounded; // 0x34 float m_flRenderFrameTimeUnbounded; // 0x34
bool m_bRenderOnly; // 0x38
}; };
// Aligment: 3 // Aligment: 3
@ -205,24 +214,26 @@ public:
bool m_bLastTick; // 0x29 bool m_bLastTick; // 0x29
}; };
// Aligment: 3 // Aligment: 4
// Size: 64 // Size: 64
struct EventAdvanceTick_t : public EventSimulate_t struct EventAdvanceTick_t : public EventSimulate_t
{ {
public: public:
int32_t m_nCurrentTick; // 0x30 int32_t m_nCurrentTick; // 0x30
int32_t m_nTotalTicksThisFrame; // 0x34 int32_t m_nCurrentTickThisFrame; // 0x34
int32_t m_nTotalTicks; // 0x38 int32_t m_nTotalTicksThisFrame; // 0x38
int32_t m_nTotalTicks; // 0x3c
}; };
// Aligment: 3 // Aligment: 4
// Size: 64 // Size: 64
struct EventPostAdvanceTick_t : public EventSimulate_t struct EventPostAdvanceTick_t : public EventSimulate_t
{ {
public: public:
int32_t m_nCurrentTick; // 0x30 int32_t m_nCurrentTick; // 0x30
int32_t m_nTotalTicksThisFrame; // 0x34 int32_t m_nCurrentTickThisFrame; // 0x34
int32_t m_nTotalTicks; // 0x38 int32_t m_nTotalTicksThisFrame; // 0x38
int32_t m_nTotalTicks; // 0x3c
}; };
// Aligment: 0 // Aligment: 0
@ -265,6 +276,14 @@ public:
// <no members described> // <no members described>
}; };
// Aligment: 0
// Size: 1
struct EventClientPredictionPostNetupdate_t
{
public:
// <no members described>
};
// Aligment: 1 // Aligment: 1
// Size: 4 // Size: 4
struct EventClientPollNetworking_t struct EventClientPollNetworking_t
@ -354,11 +373,11 @@ public:
}; };
// Aligment: 1 // Aligment: 1
// Size: 8 // Size: 16
struct EventPreDataUpdate_t struct EventPreDataUpdate_t
{ {
public: public:
int32_t m_nEntityIndex; // 0x0 int32_t m_nCount; // 0x0
}; };
// Aligment: 1 // Aligment: 1
@ -369,14 +388,6 @@ public:
int32_t m_nDummy0; // 0x0 int32_t m_nDummy0; // 0x0
}; };
// Aligment: 0
// Size: 8
class IRecipientFilter
{
public:
// <no members described>
};
// Aligment: 0 // Aligment: 0
// Size: 8 // Size: 8
class IHandleEntity class IHandleEntity
@ -392,7 +403,7 @@ class CNetworkVarChainer
public: public:
// MNetworkDisable // MNetworkDisable
// MNetworkChangeAccessorFieldPathIndex // MNetworkChangeAccessorFieldPathIndex
ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x8 ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x10
}; };
// Aligment: 0 // Aligment: 0
@ -491,7 +502,7 @@ public:
// MNetworkDisable // MNetworkDisable
CUtlSymbolLarge m_iszPrivateVScripts; // 0x8 CUtlSymbolLarge m_iszPrivateVScripts; // 0x8
// MNetworkEnable // MNetworkEnable
// MNetworkPriority "112" // MNetworkPriority "56"
CEntityIdentity* m_pEntity; // 0x10 CEntityIdentity* m_pEntity; // 0x10
// MNetworkDisable // MNetworkDisable
CUtlStringToken m_worldGroupId; // 0x20 CUtlStringToken m_worldGroupId; // 0x20

View File

@ -1,10 +0,0 @@
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
///////////////////////////////////////////
// Binary: host.dll
// Class Count: 0
// Enum Count: 0
///////////////////////////////////////////

View File

@ -4,7 +4,7 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: materialsystem2.dll // Binary: materialsystem2.dll
// Class Count: 12 // Class Count: 13
// Enum Count: 5 // Enum Count: 5
/////////////////////////////////////////// ///////////////////////////////////////////
@ -177,8 +177,20 @@ public:
Vector m_vColorTint; // 0x18 Vector m_vColorTint; // 0x18
}; };
// Aligment: 8 // Aligment: 5
// Size: 224 // Size: 20
struct PostProcessingLocalContrastParameters_t
{
public:
float m_flLocalContrastStrength; // 0x0
float m_flLocalContrastEdgeStrength; // 0x4
float m_flLocalContrastVignetteStart; // 0x8
float m_flLocalContrastVignetteEnd; // 0xc
float m_flLocalContrastVignetteBlur; // 0x10
};
// Aligment: 11
// Size: 256
struct PostProcessingResource_t struct PostProcessingResource_t
{ {
public: public:
@ -188,7 +200,10 @@ public:
PostProcessingBloomParameters_t m_bloomParams; // 0x28 PostProcessingBloomParameters_t m_bloomParams; // 0x28
bool m_bHasVignetteParams; // 0x98 bool m_bHasVignetteParams; // 0x98
PostProcessingVignetteParameters_t m_vignetteParams; // 0x9c PostProcessingVignetteParameters_t m_vignetteParams; // 0x9c
int32_t m_nColorCorrectionVolumeDim; // 0xc0 bool m_bHasLocalContrastParams; // 0xc0
CUtlBinaryBlock m_colorCorrectionVolumeData; // 0xc8 PostProcessingLocalContrastParameters_t m_localConstrastParams; // 0xc4
int32_t m_nColorCorrectionVolumeDim; // 0xd8
CUtlBinaryBlock m_colorCorrectionVolumeData; // 0xe0
bool m_bHasColorCorrection; // 0xf8
}; };

View File

@ -4,7 +4,15 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: networksystem.dll // Binary: networksystem.dll
// Class Count: 0 // Class Count: 1
// Enum Count: 0 // Enum Count: 0
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 1
// Size: 2
struct ChangeAccessorFieldPathIndex_t
{
public:
int16_t m_Value; // 0x0
};

49
sdk/panorama.hpp Normal file
View File

@ -0,0 +1,49 @@
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
///////////////////////////////////////////
// Binary: panorama.dll
// Class Count: 0
// Enum Count: 2
///////////////////////////////////////////
// Aligment: 4
// Size: 13
enum class ELayoutNodeType : uint32_t
{
ROOT = 0x0,
STYLES = 0x1,
SCRIPT_BODY = 0x2,
SCRIPTS = 0x3,
SNIPPETS = 0x4,
INCLUDE = 0x5,
SNIPPET = 0x6,
PANEL = 0x7,
PANEL_ATTRIBUTE = 0x8,
PANEL_ATTRIBUTE_VALUE = 0x9,
REFERENCE_CONTENT = 0xa,
REFERENCE_COMPILED = 0xb,
REFERENCE_PASSTHROUGH = 0xc,
};
// Aligment: 4
// Size: 14
enum class EStyleNodeType : uint32_t
{
ROOT = 0x0,
EXPRESSION = 0x1,
PROPERTY = 0x2,
DEFINE = 0x3,
IMPORT = 0x4,
KEYFRAMES = 0x5,
SELECTOR = 0x6,
WHITESPACE = 0x7,
EXPRESSION_TEXT = 0x8,
EXPRESSION_URL = 0x9,
EXPRESSION_CONCAT = 0xa,
REFERENCE_CONTENT = 0xb,
REFERENCE_COMPILED = 0xc,
REFERENCE_PASSTHROUGH = 0xd,
};

File diff suppressed because it is too large Load Diff

View File

@ -4,49 +4,10 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: rendersystemdx11.dll // Binary: rendersystemdx11.dll
// Class Count: 8 // Class Count: 3
// Enum Count: 7 // Enum Count: 5
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 4
// Size: 21
enum class TextureSpecificationFlags_t : uint32_t
{
TSPEC_FLAGS = 0x0,
TSPEC_RENDER_TARGET = 0x1,
TSPEC_VERTEX_TEXTURE = 0x2,
TSPEC_UNFILTERABLE_OK = 0x4,
TSPEC_RENDER_TARGET_SAMPLEABLE = 0x8,
TSPEC_SUGGEST_CLAMPS = 0x10,
TSPEC_SUGGEST_CLAMPT = 0x20,
TSPEC_SUGGEST_CLAMPU = 0x40,
TSPEC_NO_LOD = 0x80,
TSPEC_CUBE_TEXTURE = 0x100,
TSPEC_VOLUME_TEXTURE = 0x200,
TSPEC_TEXTURE_ARRAY = 0x400,
TSPEC_TEXTURE_GEN_MIP_MAPS = 0x800,
TSPEC_LINE_TEXTURE_360 = 0x1000,
TSPEC_LINEAR_ADDRESSING_360 = 0x2000,
TSPEC_USE_TYPED_IMAGEFORMAT = 0x4000,
TSPEC_SHARED_RESOURCE = 0x8000,
TSPEC_UAV = 0x10000,
TSPEC_INPUT_ATTACHMENT = 0x20000,
TSPEC_CUBE_CAN_SAMPLE_AS_ARRAY = 0x40000,
TSPEC_LINEAR_COLOR_SPACE = 0x80000,
};
// Aligment: 4
// Size: 6
enum class CubeMapFace_t : uint32_t
{
CUBEMAP_FACE_POSITIVE_X = 0x0,
CUBEMAP_FACE_NEGATIVE_X = 0x1,
CUBEMAP_FACE_POSITIVE_Y = 0x2,
CUBEMAP_FACE_NEGATIVE_Y = 0x3,
CUBEMAP_FACE_POSITIVE_Z = 0x4,
CUBEMAP_FACE_NEGATIVE_Z = 0x5,
};
// Aligment: 4 // Aligment: 4
// Size: 3 // Size: 3
enum class RenderSlotType_t : uint32_t enum class RenderSlotType_t : uint32_t
@ -57,7 +18,7 @@ enum class RenderSlotType_t : uint32_t
}; };
// Aligment: 4 // Aligment: 4
// Size: 8 // Size: 9
enum class RenderBufferFlags_t : uint32_t enum class RenderBufferFlags_t : uint32_t
{ {
RENDER_BUFFER_USAGE_VERTEX_BUFFER = 0x1, RENDER_BUFFER_USAGE_VERTEX_BUFFER = 0x1,
@ -68,6 +29,7 @@ enum class RenderBufferFlags_t : uint32_t
RENDER_BUFFER_STRUCTURED_BUFFER = 0x20, RENDER_BUFFER_STRUCTURED_BUFFER = 0x20,
RENDER_BUFFER_APPEND_CONSUME_BUFFER = 0x40, RENDER_BUFFER_APPEND_CONSUME_BUFFER = 0x40,
RENDER_BUFFER_UAV_COUNTER = 0x80, RENDER_BUFFER_UAV_COUNTER = 0x80,
RENDER_BUFFER_UAV_DRAW_INDIRECT_ARGS = 0x100,
}; };
// Aligment: 4 // Aligment: 4
@ -122,15 +84,14 @@ enum class RenderPrimitiveType_t : uint32_t
}; };
// Aligment: 4 // Aligment: 4
// Size: 6 // Size: 5
enum class InputLayoutVariation_t : uint32_t enum class InputLayoutVariation_t : uint32_t
{ {
INPUT_LAYOUT_VARIATION_DEFAULT = 0x0, INPUT_LAYOUT_VARIATION_DEFAULT = 0x0,
INPUT_LAYOUT_VARIATION_STREAM1_MAT3X4 = 0x1, INPUT_LAYOUT_VARIATION_STREAM1_INSTANCEID = 0x1,
INPUT_LAYOUT_VARIATION_STREAM1_INSTANCEID = 0x2, INPUT_LAYOUT_VARIATION_STREAM1_INSTANCEID_MORPH_VERT_ID = 0x2,
INPUT_LAYOUT_VARIATION_STREAM1_INSTANCEID_LIGHTMAP_PARAMS = 0x3, INPUT_LAYOUT_VARIATION_STREAM1_DRAWINDIRECT_ID = 0x3,
INPUT_LAYOUT_VARIATION_STREAM1_INSTANCEID_MORPH_VERT_ID = 0x4, INPUT_LAYOUT_VARIATION_MAX = 0x4,
INPUT_LAYOUT_VARIATION_MAX = 0x5,
}; };
// Aligment: 4 // Aligment: 4
@ -147,57 +108,6 @@ enum class RenderMultisampleType_t : uint32_t
RENDER_MULTISAMPLE_TYPE_COUNT = 0x6, RENDER_MULTISAMPLE_TYPE_COUNT = 0x6,
}; };
// Aligment: 2
// Size: 8
struct SequenceFloatParam_t
{
public:
CResourceString m_name; // 0x0
float m_value; // 0x4
};
// Aligment: 9
// Size: 32
struct SheetSequence_t
{
public:
uint32_t m_nId; // 0x0
bool m_bClamp; // 0x4
bool m_bAlphaCrop; // 0x5
bool m_bNoColor; // 0x6
bool m_bNoAlpha; // 0x7
CResourceArray< SheetSequenceFrame_t > m_Frames; // 0x8
float m_flTotalTime; // 0x10
CResourceString m_name; // 0x14
CResourceArray< SequenceFloatParam_t > m_floatParams; // 0x18
};
// Aligment: 2
// Size: 12
struct SheetSequenceFrame_t
{
public:
float m_flDisplayTime; // 0x0
CResourceArray< SheetFrameImage_t > m_Images; // 0x4
};
// Aligment: 2
// Size: 32
struct SheetFrameImage_t
{
public:
Vector2D[2] uvCropped; // 0x0
Vector2D[2] uvUncropped; // 0x10
};
// Aligment: 1
// Size: 8
struct Sheet_t
{
public:
CResourceArray< SheetSequence_t > m_Sequences; // 0x0
};
// Aligment: 7 // Aligment: 7
// Size: 56 // Size: 56
struct RenderInputLayoutField_t struct RenderInputLayoutField_t

View File

@ -1,10 +0,0 @@
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
///////////////////////////////////////////
// Binary: rendersystemdx9.dll
// Class Count: 0
// Enum Count: 0
///////////////////////////////////////////

View File

@ -4,27 +4,60 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: resourcesystem.dll // Binary: resourcesystem.dll
// Class Count: 34 // Class Count: 41
// Enum Count: 2 // Enum Count: 0
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 4 // Aligment: 1
// Size: 6 // Size: 8
enum class LightType_t : uint32_t struct TestResource_t
{ {
MATERIAL_LIGHT_DISABLE = 0x0, public:
MATERIAL_LIGHT_POINT = 0x1, // MKV3TransferName "name"
MATERIAL_LIGHT_DIRECTIONAL = 0x2, CUtlString m_name; // 0x0
MATERIAL_LIGHT_SPOT = 0x3,
MATERIAL_LIGHT_ORTHO = 0x4,
MATERIAL_LIGHT_ENVIRONMENT_PROBE = 0x5,
}; };
// Aligment: 4 // Aligment: 0
// Size: 1 // Size: 1
enum class LightSourceShape_t : uint32_t struct InfoForResourceTypeTestResource_t
{ {
LIGHT_SOURCE_SHAPE_SPHERE = 0x0, public:
// <no members described>
};
// Aligment: 0
// Size: 1
struct InfoForResourceTypeProceduralTestResource_t
{
public:
// <no members described>
};
// Aligment: 0
// Size: 1
struct InfoForResourceTypeManifestTestResource_t
{
public:
// <no members described>
};
// Aligment: 2
// Size: 16
struct ManifestTestResource_t
{
public:
// MKV3TransferName "name"
CUtlString m_name; // 0x0
// MKV3TransferName "child"
CStrongHandle< InfoForResourceTypeManifestTestResource_t > m_child; // 0x8
};
// Aligment: 0
// Size: 1
class InfoForResourceTypeCVDataResource
{
public:
// <no members described>
}; };
// Aligment: 0 // Aligment: 0
@ -253,7 +286,7 @@ public:
// Aligment: 0 // Aligment: 0
// Size: 1 // Size: 1
class InfoForResourceTypeIAnimationGraph class InfoForResourceTypeIAnimGraphModelBinding
{ {
public: public:
// <no members described> // <no members described>
@ -275,47 +308,20 @@ public:
// <no members described> // <no members described>
}; };
// Aligment: 36 // Aligment: 0
// Size: 260 // Size: 1
struct LightDesc_t class InfoForResourceTypeCCompositeMaterialKit
{ {
public: public:
LightType_t m_Type; // 0x0 // <no members described>
Vector m_Color; // 0x4 };
Vector m_BounceColor; // 0x10
float m_Range; // 0x1c // Aligment: 0
float m_Falloff; // 0x20 // Size: 1
float m_Attenuation0; // 0x24 class InfoForResourceTypeCSmartProp
float m_Attenuation1; // 0x28 {
float m_Attenuation2; // 0x2c public:
float m_Theta; // 0x30 // <no members described>
float m_Phi; // 0x34
CUtlStringToken m_lightCookie; // 0x38
int32_t m_nLightGroupCount; // 0x3c
CUtlStringToken[1] m_lightGroups; // 0x40
bool m_bCastShadows; // 0x44
int32_t m_nShadowWidth; // 0x48
int32_t m_nShadowHeight; // 0x4c
int32_t m_nShadowCascadeCount; // 0x50
float32[4] m_flShadowCascadeDistance; // 0x54
int32[4] m_nShadowCascadeResolution; // 0x64
bool m_bUsesIndexedBakedLighting; // 0x74
int32_t m_nBakeLightIndex; // 0x78
float m_flBakeLightIndexScale; // 0x7c
int32_t m_nFogLightingMode; // 0x80
bool m_bRenderDiffuse; // 0x84
bool m_bRenderSpecular; // 0x85
bool m_bRenderTransmissive; // 0x86
int32_t m_nPriority; // 0x88
LightSourceShape_t m_Shape; // 0x8c
float m_flLightSourceDim0; // 0x90
float m_flLightSourceDim1; // 0x94
float m_flLightSourceSize0; // 0x98
float m_flLightSourceSize1; // 0x9c
float m_flPrecomputedMaxRange; // 0xa0
float m_flFogContributionStength; // 0xa4
float m_flNearClipPlane; // 0xa8
Vector m_vecUp; // 0xc4
}; };
// Aligment: 2 // Aligment: 2

View File

@ -4,82 +4,18 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: scenesystem.dll // Binary: scenesystem.dll
// Class Count: 14 // Class Count: 9
// Enum Count: 0 // Enum Count: 1
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 4 // Aligment: 1
// Size: 48 // Size: 4
struct CSceneObjectReference_t enum class DisableShadows_t : uint8_t
{ {
public: kDisableShadows_None = 0,
VectorAligned m_vecAABBMins; // 0x0 kDisableShadows_All = 1,
VectorAligned m_vecAABBMaxes; // 0x10 kDisableShadows_Baked = 2,
uint64_t m_nRenderableFlags; // 0x20 kDisableShadows_Realtime = 3,
CSceneObject* m_pObject; // 0x28
};
// Aligment: 2
// Size: 8
struct CPVSData::pvsmask_t
{
public:
uint32_t m_nOffset; // 0x0
uint32_t m_nMask; // 0x4
};
// Aligment: 4
// Size: 72
class CPVSData
{
public:
CPVSData* m_pNext; // 0x0
uint16_t m_nPVSMasks; // 0x8
uint16_t m_nPVSFlags; // 0xa
CPVSData::pvsmask_t[7] m_masks; // 0xc
};
// Aligment: 9
// Size: 1136
struct CSceneObjectExtraData_t
{
public:
uint64_t m_nCurrentMeshGroupMask; // 0x440
CUtlStringToken m_nLayerForceID; // 0x450
Vector m_vLightingOrigin; // 0x454
float m_flDepthSortBias; // 0x460
uint8[4] m_nVisibleToPlayer; // 0x464
uint16_t m_nAlphaFade; // 0x468
int16_t m_nViewProducerIndex; // 0x46a
bool m_bLightingOriginIsInWorldSpace; // 0x46c
int8_t m_nCurrentLOD; // 0x46d
};
// Aligment: 18
// Size: 176
class CSceneObject
{
public:
ISceneObjectDesc* m_pDesc; // 0x10
CSceneObjectReference_t* m_pRefData; // 0x18
float m_flStartFadeDistanceSquared; // 0x20
float m_flFarCullDistanceSquared; // 0x24
uint16_t m_nObjectTypeFlags; // 0x28
uint16_t m_nGameRenderCounter; // 0x2a
uint8_t m_nMeshGroupMaskSmall; // 0x2f
bitfield:2 m_nDebugLevel; // 0x0
bitfield:2 m_nSizeCullBloat; // 0x0
bitfield:1 m_nBoundsType; // 0x0
uint8_t m_nID; // 0x31
int8_t m_nBoundsGroupIndex; // 0x32
uint8_t m_nObjectClass; // 0x33
matrix3x4a_t m_transform; // 0x40
CPVSData* m_pPVSData; // 0x70
uint64_t m_nOriginalRenderableFlags; // 0x88
uint64_t m_nRenderableFlags; // 0x90
CUtlStringToken m_nLayerMatchID; // 0xa4
public:
static float32[4] &Get_s_flSizeCullBloatScale() { return *reinterpret_cast<float32[4]*>(interfaces::g_schema->FindTypeScopeForModule("scenesystem.dll")->FindDeclaredClass("CSceneObject")->m_static_fiels[0]->m_instance); }
}; };
// Aligment: 2 // Aligment: 2

View File

@ -4,8 +4,8 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: schemasystem.dll // Binary: schemasystem.dll
// Class Count: 2 // Class Count: 7
// Enum Count: 1 // Enum Count: 2
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 4 // Aligment: 4
@ -17,29 +17,113 @@ enum class ThreeState_t : uint32_t
TRS_NONE = 0x2, TRS_NONE = 0x2,
}; };
// Aligment: 18 // Aligment: 1
// Size: 336 // Size: 74
enum class fieldtype_t : uint8_t
{
FIELD_VOID = 0,
FIELD_FLOAT32 = 1,
FIELD_STRING = 2,
FIELD_VECTOR = 3,
FIELD_QUATERNION = 4,
FIELD_INT32 = 5,
FIELD_BOOLEAN = 6,
FIELD_INT16 = 7,
FIELD_CHARACTER = 8,
FIELD_COLOR32 = 9,
FIELD_EMBEDDED = 10,
FIELD_CUSTOM = 11,
FIELD_CLASSPTR = 12,
FIELD_EHANDLE = 13,
FIELD_POSITION_VECTOR = 14,
FIELD_TIME = 15,
FIELD_TICK = 16,
FIELD_SOUNDNAME = 17,
FIELD_INPUT = 18,
FIELD_FUNCTION = 19,
FIELD_VMATRIX = 20,
FIELD_VMATRIX_WORLDSPACE = 21,
FIELD_MATRIX3X4_WORLDSPACE = 22,
FIELD_INTERVAL = 23,
FIELD_UNUSED = 24,
FIELD_VECTOR2D = 25,
FIELD_INT64 = 26,
FIELD_VECTOR4D = 27,
FIELD_RESOURCE = 28,
FIELD_TYPEUNKNOWN = 29,
FIELD_CSTRING = 30,
FIELD_HSCRIPT = 31,
FIELD_VARIANT = 32,
FIELD_UINT64 = 33,
FIELD_FLOAT64 = 34,
FIELD_POSITIVEINTEGER_OR_NULL = 35,
FIELD_HSCRIPT_NEW_INSTANCE = 36,
FIELD_UINT32 = 37,
FIELD_UTLSTRINGTOKEN = 38,
FIELD_QANGLE = 39,
FIELD_NETWORK_ORIGIN_CELL_QUANTIZED_VECTOR = 40,
FIELD_HMATERIAL = 41,
FIELD_HMODEL = 42,
FIELD_NETWORK_QUANTIZED_VECTOR = 43,
FIELD_NETWORK_QUANTIZED_FLOAT = 44,
FIELD_DIRECTION_VECTOR_WORLDSPACE = 45,
FIELD_QANGLE_WORLDSPACE = 46,
FIELD_QUATERNION_WORLDSPACE = 47,
FIELD_HSCRIPT_LIGHTBINDING = 48,
FIELD_V8_VALUE = 49,
FIELD_V8_OBJECT = 50,
FIELD_V8_ARRAY = 51,
FIELD_V8_CALLBACK_INFO = 52,
FIELD_UTLSTRING = 53,
FIELD_NETWORK_ORIGIN_CELL_QUANTIZED_POSITION_VECTOR = 54,
FIELD_HRENDERTEXTURE = 55,
FIELD_HPARTICLESYSTEMDEFINITION = 56,
FIELD_UINT8 = 57,
FIELD_UINT16 = 58,
FIELD_CTRANSFORM = 59,
FIELD_CTRANSFORM_WORLDSPACE = 60,
FIELD_HPOSTPROCESSING = 61,
FIELD_MATRIX3X4 = 62,
FIELD_SHIM = 63,
FIELD_CMOTIONTRANSFORM = 64,
FIELD_CMOTIONTRANSFORM_WORLDSPACE = 65,
FIELD_ATTACHMENT_HANDLE = 66,
FIELD_AMMO_INDEX = 67,
FIELD_CONDITION_ID = 68,
FIELD_AI_SCHEDULE_BITS = 69,
FIELD_MODIFIER_HANDLE = 70,
FIELD_ROTATION_VECTOR = 71,
FIELD_ROTATION_VECTOR_WORLDSPACE = 72,
FIELD_TYPECOUNT = 73,
};
// Aligment: 22
// Size: 384
class CSchemaSystemInternalRegistration class CSchemaSystemInternalRegistration
{ {
public: public:
Vector2D m_Vector2D; // 0x0 Vector2D m_Vector2D; // 0x0
Vector m_Vector; // 0x8 Vector m_Vector; // 0x8
VectorAligned m_VectorAligned; // 0x20 VectorAligned m_VectorAligned; // 0x20
QAngle m_QAngle; // 0x30 QuaternionAligned m_QuaternionAligned; // 0x30
RadianEuler m_RadianEuler; // 0x3c QAngle m_QAngle; // 0x40
DegreeEuler m_DegreeEuler; // 0x48 RotationVector m_RotationVector; // 0x4c
Quaternion m_Quaternion; // 0x54 RadianEuler m_RadianEuler; // 0x58
matrix3x4_t m_matrix3x4_t; // 0x64 DegreeEuler m_DegreeEuler; // 0x64
matrix3x4a_t m_matrix3x4a_t; // 0xa0 Quaternion m_Quaternion; // 0x70
Color m_Color; // 0xd0 matrix3x4_t m_matrix3x4_t; // 0x80
Vector4D m_Vector4D; // 0xd4 matrix3x4a_t m_matrix3x4a_t; // 0xb0
CTransform m_CTransform; // 0xf0 Color m_Color; // 0xe0
KeyValues* m_pKeyValues; // 0x110 Vector4D m_Vector4D; // 0xe4
CUtlBinaryBlock m_CUtlBinaryBlock; // 0x118 CTransform m_CTransform; // 0x100
CUtlString m_CUtlString; // 0x130 KeyValues* m_pKeyValues; // 0x120
CUtlSymbol m_CUtlSymbol; // 0x138 CUtlBinaryBlock m_CUtlBinaryBlock; // 0x128
CUtlStringToken m_stringToken; // 0x13c CUtlString m_CUtlString; // 0x140
CResourceArray< CResourcePointer< CResourceString > > m_ResourceTypes; // 0x140 CUtlSymbol m_CUtlSymbol; // 0x148
CUtlStringToken m_stringToken; // 0x14c
CUtlStringTokenWithStorage m_stringTokenWithStorage; // 0x150
CResourceArray< CResourcePointer< CResourceString > > m_ResourceTypes; // 0x168
KeyValues3 m_KV3; // 0x170
}; };
// Aligment: 0 // Aligment: 0
@ -50,3 +134,44 @@ public:
// <no members described> // <no members described>
}; };
// Aligment: 1
// Size: 8
struct ResourceId_t
{
public:
uint64_t m_nBoxedTypeSafeInt; // 0x0
};
// Aligment: 2
// Size: 8
class CExampleSchemaVData_Monomorphic
{
public:
int32_t m_nExample1; // 0x0
int32_t m_nExample2; // 0x4
};
// Aligment: 1
// Size: 16
class CExampleSchemaVData_PolymorphicBase
{
public:
int32_t m_nBase; // 0x8
};
// Aligment: 1
// Size: 24
class CExampleSchemaVData_PolymorphicDerivedA : public CExampleSchemaVData_PolymorphicBase
{
public:
int32_t m_nDerivedA; // 0x10
};
// Aligment: 1
// Size: 24
class CExampleSchemaVData_PolymorphicDerivedB : public CExampleSchemaVData_PolymorphicBase
{
public:
int32_t m_nDerivedB; // 0x10
};

File diff suppressed because it is too large Load Diff

View File

@ -4,10 +4,46 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: soundsystem.dll // Binary: soundsystem.dll
// Class Count: 15 // Class Count: 24
// Enum Count: 7 // Enum Count: 11
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 4
// Size: 30
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,
};
// Aligment: 4 // Aligment: 4
// Size: 3 // Size: 3
enum class ActionType_t : uint32_t enum class ActionType_t : uint32_t
@ -56,7 +92,7 @@ enum class SosEditItemType_t : uint32_t
// Aligment: 2 // Aligment: 2
// Size: 8 // Size: 8
enum class vmix_filter_type_t : uint16_t enum class VMixFilterType_t : uint16_t
{ {
FILTER_UNKNOWN = 18446744073709551615, FILTER_UNKNOWN = 18446744073709551615,
FILTER_LOWPASS = 0, FILTER_LOWPASS = 0,
@ -68,9 +104,20 @@ enum class vmix_filter_type_t : uint16_t
FILTER_HIGH_SHELF = 6, FILTER_HIGH_SHELF = 6,
}; };
// Aligment: 1
// Size: 5
enum class VMixFilterSlope_t : uint8_t
{
FILTER_SLOPE_12dB = 0,
FILTER_SLOPE_24dB = 1,
FILTER_SLOPE_36dB = 2,
FILTER_SLOPE_48dB = 3,
FILTER_SLOPE_MAX = 3,
};
// Aligment: 2 // Aligment: 2
// Size: 12 // Size: 19
enum class vmix_processor_type_t : uint16_t enum class VMixProcessorType_t : uint16_t
{ {
VPROCESSOR_UNKNOWN = 0, VPROCESSOR_UNKNOWN = 0,
VPROCESSOR_STEAMAUDIO_REVERB = 1, VPROCESSOR_STEAMAUDIO_REVERB = 1,
@ -84,6 +131,36 @@ enum class vmix_processor_type_t : uint16_t
VPROCESSOR_STEAMAUDIO_PATHING = 9, VPROCESSOR_STEAMAUDIO_PATHING = 9,
VPROCESSOR_EQ8 = 10, VPROCESSOR_EQ8 = 10,
VPROCESSOR_ENVELOPE = 11, VPROCESSOR_ENVELOPE = 11,
VPROCESSOR_VOCODER = 12,
VPROCESSOR_CONVOLUTION = 13,
VPROCESSOR_DYNAMICS_3BAND = 14,
VPROCESSOR_DYNAMICS_COMPRESSOR = 15,
VPROCESSOR_SHAPER = 16,
VPROCESSOR_UTILITY = 17,
VPROCESSOR_AUTOFILTER = 18,
};
// Aligment: 4
// Size: 5
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,
};
// Aligment: 4
// Size: 6
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,
}; };
// Aligment: 3 // Aligment: 3
@ -182,7 +259,7 @@ public:
class CSosSoundEventGroupListSchema class CSosSoundEventGroupListSchema
{ {
public: public:
// MPropertyAutoExpandGroup // MPropertyAutoExpandSelf
// MPropertyFriendlyName "Groups" // MPropertyFriendlyName "Groups"
CUtlVector< CSosSoundEventGroupSchema > m_groupList; // 0x0 CUtlVector< CSosSoundEventGroupSchema > m_groupList; // 0x0
}; };
@ -207,13 +284,22 @@ public:
CUtlVector< SosEditItemInfo_t > m_EditItems; // 0x0 CUtlVector< SosEditItemInfo_t > m_EditItems; // 0x0
}; };
// Aligment: 5 // Aligment: 1
// Size: 16 // Size: 8
struct vmix_filter_desc_t class CSoundEventMetaData
{ {
public: public:
vmix_filter_type_t m_nFilterType; // 0x0 CStrongHandle< InfoForResourceTypeCVMixListResource > m_soundEventVMix; // 0x0
bool m_bEnabled; // 0x2 };
// Aligment: 6
// Size: 16
struct VMixFilterDesc_t
{
public:
VMixFilterType_t m_nFilterType; // 0x0
VMixFilterSlope_t m_nFilterSlope; // 0x2
bool m_bEnabled; // 0x3
float m_fldbGain; // 0x4 float m_fldbGain; // 0x4
float m_flCutoffFreq; // 0x8 float m_flCutoffFreq; // 0x8
float m_flQ; // 0xc float m_flQ; // 0xc
@ -221,18 +307,18 @@ public:
// Aligment: 1 // Aligment: 1
// Size: 128 // Size: 128
struct vmix_eq8_desc_t struct VMixEQ8Desc_t
{ {
public: public:
vmix_filter_desc_t[8] m_stages; // 0x0 VMixFilterDesc_t[8] m_stages; // 0x0
}; };
// Aligment: 7 // Aligment: 7
// Size: 40 // Size: 40
struct vmix_delay_desc_t struct VMixDelayDesc_t
{ {
public: public:
vmix_filter_desc_t m_feedbackFilter; // 0x0 VMixFilterDesc_t m_feedbackFilter; // 0x0
bool m_bEnableFilter; // 0x10 bool m_bEnableFilter; // 0x10
float m_flDelay; // 0x14 float m_flDelay; // 0x14
float m_flDirectGain; // 0x18 float m_flDirectGain; // 0x18
@ -241,9 +327,9 @@ public:
float m_flWidth; // 0x24 float m_flWidth; // 0x24
}; };
// Aligment: 10 // Aligment: 12
// Size: 40 // Size: 48
struct vmix_dynamics_desc_t struct VMixDynamicsDesc_t
{ {
public: public:
float m_fldbGain; // 0x0 float m_fldbGain; // 0x0
@ -256,11 +342,82 @@ public:
float m_flAttackTimeMS; // 0x1c float m_flAttackTimeMS; // 0x1c
float m_flReleaseTimeMS; // 0x20 float m_flReleaseTimeMS; // 0x20
float m_flRMSTimeMS; // 0x24 float m_flRMSTimeMS; // 0x24
float m_flWetMix; // 0x28
bool m_bPeakMode; // 0x2c
};
// Aligment: 9
// Size: 36
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
};
// Aligment: 10
// Size: 36
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
};
// Aligment: 10
// Size: 144
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
VMixDynamicsBand_t[3] m_bandDesc; // 0x24
}; };
// Aligment: 3 // Aligment: 3
// Size: 12 // Size: 12
struct vmix_envelope_desc_t struct VMixEnvelopeDesc_t
{ {
public: public:
float m_flAttackTimeMS; // 0x0 float m_flAttackTimeMS; // 0x0
@ -268,12 +425,113 @@ public:
float m_flReleaseTimeMS; // 0x8 float m_flReleaseTimeMS; // 0x8
}; };
// Aligment: 2 // Aligment: 4
// Size: 8 // Size: 16
struct vmix_pitch_shift_desc_t struct VMixPitchShiftDesc_t
{ {
public: public:
int32_t m_nGrainSampleCount; // 0x0 int32_t m_nGrainSampleCount; // 0x0
float m_flPitchShift; // 0x4 float m_flPitchShift; // 0x4
int32_t m_nQuality; // 0x8
int32_t m_nProcType; // 0xc
};
// Aligment: 8
// Size: 32
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
};
// Aligment: 10
// Size: 40
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
};
// Aligment: 5
// Size: 20
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
};
// Aligment: 6
// Size: 24
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
float m_flBassFreq; // 0x14
};
// Aligment: 8
// Size: 44
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
}; };

File diff suppressed because it is too large Load Diff

View File

@ -4,21 +4,15 @@
/////////////////////////////////////////// ///////////////////////////////////////////
// Binary: worldrenderer.dll // Binary: worldrenderer.dll
// Class Count: 21 // Class Count: 24
// Enum Count: 3 // Enum Count: 2
/////////////////////////////////////////// ///////////////////////////////////////////
// Aligment: 4 // Aligment: 4
// Size: 1 // Size: 16
enum class EntityLumpFlags_t : uint32_t
{
ENTITY_LUMP_NONE = 0x0,
};
// Aligment: 4
// Size: 12
enum class ObjectTypeFlags_t : uint32_t enum class ObjectTypeFlags_t : uint32_t
{ {
OBJECT_TYPE_NONE = 0x0,
OBJECT_TYPE_IMAGE_LOD = 0x1, OBJECT_TYPE_IMAGE_LOD = 0x1,
OBJECT_TYPE_GEOMETRY_LOD = 0x2, OBJECT_TYPE_GEOMETRY_LOD = 0x2,
OBJECT_TYPE_DECAL = 0x4, OBJECT_TYPE_DECAL = 0x4,
@ -30,7 +24,10 @@ enum class ObjectTypeFlags_t : uint32_t
OBJECT_TYPE_NO_SUN_SHADOWS = 0x100, OBJECT_TYPE_NO_SUN_SHADOWS = 0x100,
OBJECT_TYPE_RENDER_WITH_DYNAMIC = 0x200, OBJECT_TYPE_RENDER_WITH_DYNAMIC = 0x200,
OBJECT_TYPE_RENDER_TO_CUBEMAPS = 0x400, OBJECT_TYPE_RENDER_TO_CUBEMAPS = 0x400,
OBJECT_TYPE_MODEL_HAS_LODS = 0x800,
OBJECT_TYPE_NO_ZPREPASS = 0x1000,
OBJECT_TYPE_PRECOMPUTED_VISMEMBERS = 0x4000, OBJECT_TYPE_PRECOMPUTED_VISMEMBERS = 0x4000,
OBJECT_TYPE_STATIC_CUBE_MAP = 0x8000,
}; };
// Aligment: 4 // Aligment: 4
@ -64,20 +61,19 @@ public:
CUtlVector< EntityIOConnectionData_t > m_connections; // 0x18 CUtlVector< EntityIOConnectionData_t > m_connections; // 0x18
}; };
// Aligment: 5 // Aligment: 4
// Size: 72 // Size: 64
struct PermEntityLumpData_t struct PermEntityLumpData_t
{ {
public: public:
CUtlString m_name; // 0x0 CUtlString m_name; // 0x0
EntityLumpFlags_t m_flags; // 0x8 CUtlString m_hammerUniqueId; // 0x8
CUtlString m_manifestName; // 0x10 CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_childLumps; // 0x10
CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_childLumps; // 0x18 CUtlVector< EntityKeyValueData_t > m_entityKeyValues; // 0x28
CUtlVector< EntityKeyValueData_t > m_entityKeyValues; // 0x30
}; };
// Aligment: 17 // Aligment: 16
// Size: 168 // Size: 144
struct SceneObject_t struct SceneObject_t
{ {
public: public:
@ -97,7 +93,6 @@ public:
int16_t m_nBoundsGroupIndex; // 0x78 int16_t m_nBoundsGroupIndex; // 0x78
CStrongHandle< InfoForResourceTypeCModel > m_renderableModel; // 0x80 CStrongHandle< InfoForResourceTypeCModel > m_renderableModel; // 0x80
CStrongHandle< InfoForResourceTypeCRenderMesh > m_renderable; // 0x88 CStrongHandle< InfoForResourceTypeCRenderMesh > m_renderable; // 0x88
CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCTextureBase > > m_externalTextures; // 0x90
}; };
// Aligment: 1 // Aligment: 1
@ -108,15 +103,6 @@ public:
uint32_t m_nSceneObjectIndex; // 0x0 uint32_t m_nSceneObjectIndex; // 0x0
}; };
// Aligment: 2
// Size: 56
struct BoneOverride_t : public BaseSceneObjectOverride_t
{
public:
CUtlVector< uint32 > m_boneHashes; // 0x8
CUtlVector< matrix3x4_t > m_boneTransforms; // 0x20
};
// Aligment: 4 // Aligment: 4
// Size: 32 // Size: 32
struct ExtraVertexStreamOverride_t : public BaseSceneObjectOverride_t struct ExtraVertexStreamOverride_t : public BaseSceneObjectOverride_t
@ -155,20 +141,16 @@ public:
int32_t m_nSequenceOverride; // 0x6c int32_t m_nSequenceOverride; // 0x6c
}; };
// Aligment: 9 // Aligment: 5
// Size: 80 // Size: 48
struct BakedLightingInfo_t struct BakedLightingInfo_t
{ {
public: public:
CUtlVector< uint8 > m_PerVertexLightingDataPlainRGBM; // 0x0 uint32_t m_nLightmapVersionNumber; // 0x0
uint32_t m_nPerVertexLightingDataPlainRGBMWidth; // 0x18 uint32_t m_nLightmapGameVersionNumber; // 0x4
uint32_t m_nPerVertexLightingDataPlainRGBMHeight; // 0x1c Vector2D m_vLightmapUvScale; // 0x8
uint32_t m_nPerVertexLightingDataPlainRGBMDepth; // 0x20 bool m_bHasLightmaps; // 0x10
uint32_t m_nLightmapVersionNumber; // 0x24 CUtlVector< CStrongHandle< InfoForResourceTypeCTextureBase > > m_lightMaps; // 0x18
uint32_t m_nLightmapGameVersionNumber; // 0x28
Vector2D m_vLightmapUvScale; // 0x2c
bool m_bHasLightmaps; // 0x34
CUtlVector< CStrongHandle< InfoForResourceTypeCTextureBase > > m_lightMaps; // 0x38
}; };
// Aligment: 4 // Aligment: 4
@ -182,8 +164,39 @@ public:
CUtlVector< uint8 > m_pData; // 0x20 CUtlVector< uint8 > m_pData; // 0x20
}; };
// Aligment: 9
// Size: 60
struct AggregateMeshInfo_t
{
public:
Vector[2] m_vWorldBounds; // 0x0
uint32_t m_nVisClusterMemberOffset; // 0x18
uint8_t m_nVisClusterMemberCount; // 0x1c
uint8_t m_nLODGroupMask; // 0x1d
int32_t m_nCubeMapPrecomputedHandshake; // 0x20
ObjectTypeFlags_t m_objectFlags; // 0x24
Vector m_vLODOrigin; // 0x28
float m_fLODStartDrawDistance; // 0x34
float m_fLODEndDrawDistance; // 0x38
};
// Aligment: 8
// Size: 96
struct AggregateSceneObject_t
{
public:
Vector[2] m_vWorldBounds; // 0x0
ObjectTypeFlags_t m_allFlags; // 0x18
ObjectTypeFlags_t m_anyFlags; // 0x1c
int16_t m_nLayer; // 0x20
int16_t m_nBoundsGroupIndex; // 0x22
CUtlVector< AggregateMeshInfo_t > m_aggregateMeshes; // 0x28
CUtlVector< uint16 > m_visClusterMembership; // 0x40
CStrongHandle< InfoForResourceTypeCModel > m_renderableModel; // 0x58
};
// Aligment: 13 // Aligment: 13
// Size: 352 // Size: 320
struct WorldNode_t struct WorldNode_t
{ {
public: public:
@ -191,7 +204,7 @@ public:
CUtlVector< InfoOverlayData_t > m_infoOverlays; // 0x18 CUtlVector< InfoOverlayData_t > m_infoOverlays; // 0x18
CUtlVector< uint16 > m_visClusterMembership; // 0x30 CUtlVector< uint16 > m_visClusterMembership; // 0x30
CUtlVector< AABB_t > m_boundsGroups; // 0x48 CUtlVector< AABB_t > m_boundsGroups; // 0x48
CUtlVector< BoneOverride_t > m_boneOverrides; // 0x60 CUtlVector< AggregateSceneObject_t > m_aggregateSceneObjects; // 0x60
CUtlVector< ExtraVertexStreamOverride_t > m_extraVertexStreamOverrides; // 0x78 CUtlVector< ExtraVertexStreamOverride_t > m_extraVertexStreamOverrides; // 0x78
CUtlVector< MaterialOverride_t > m_materialOverrides; // 0x90 CUtlVector< MaterialOverride_t > m_materialOverrides; // 0x90
CUtlVector< WorldNodeOnDiskBufferData_t > m_extraVertexStreams; // 0xa8 CUtlVector< WorldNodeOnDiskBufferData_t > m_extraVertexStreams; // 0xa8
@ -202,8 +215,8 @@ public:
BakedLightingInfo_t m_nodeLightingInfo; // 0x110 BakedLightingInfo_t m_nodeLightingInfo; // 0x110
}; };
// Aligment: 19 // Aligment: 21
// Size: 84 // Size: 104
struct WorldBuilderParams_t struct WorldBuilderParams_t
{ {
public: public:
@ -226,6 +239,8 @@ public:
bool m_bWrapInAtlas; // 0x48 bool m_bWrapInAtlas; // 0x48
bool m_bBuildBakedLighting; // 0x49 bool m_bBuildBakedLighting; // 0x49
Vector2D m_vLightmapUvScale; // 0x4c Vector2D m_vLightmapUvScale; // 0x4c
uint64_t m_nCompileTimestamp; // 0x58
uint64_t m_nCompileFingerprint; // 0x60
}; };
// Aligment: 8 // Aligment: 8
@ -244,14 +259,14 @@ public:
}; };
// Aligment: 4 // Aligment: 4
// Size: 216 // Size: 200
struct World_t struct World_t
{ {
public: public:
WorldBuilderParams_t m_builderParams; // 0x0 WorldBuilderParams_t m_builderParams; // 0x0
CUtlVector< NodeData_t > m_worldNodes; // 0x58 CUtlVector< NodeData_t > m_worldNodes; // 0x68
BakedLightingInfo_t m_worldLightingInfo; // 0x70 BakedLightingInfo_t m_worldLightingInfo; // 0x80
CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_entityLumps; // 0xc0 CUtlVector< CStrongHandleCopyable< InfoForResourceTypeCEntityLump > > m_entityLumps; // 0xb0
}; };
// Aligment: 2 // Aligment: 2
@ -263,22 +278,34 @@ public:
uint32_t m_nOffsetIntoBlock; // 0x4 uint32_t m_nOffsetIntoBlock; // 0x4
}; };
// Aligment: 11 // Aligment: 2
// Size: 152 // Size: 8
struct voxel_vis_mergelist_t
{
public:
uint32_t m_nFirstCluster; // 0x0
uint32_t m_nClusterCount; // 0x4
};
// Aligment: 14
// Size: 224
class CVoxelVisibility class CVoxelVisibility
{ {
public: public:
CUtlVector< uint32 > m_blockOffset; // 0x30 CUtlVector< uint32 > m_blockOffset; // 0x40
CUtlVector< voxel_vis_cluster_t > m_clusters; // 0x48 CUtlVector< voxel_vis_cluster_t > m_clusters; // 0x58
Vector m_vMinBounds; // 0x60 CUtlVector< uint16 > m_mergeClusters; // 0x70
Vector m_vMaxBounds; // 0x6c CUtlVector< voxel_vis_mergelist_t > m_mergeLists; // 0x88
float m_flGridSize; // 0x78 Vector m_vMinBounds; // 0xa0
int32_t m_nNodeCount; // 0x7c Vector m_vMaxBounds; // 0xac
int32_t m_nRegionCount; // 0x80 float m_flGridSize; // 0xb8
voxel_vis_cluster_t m_skyVisibilityCluster; // 0x84 int32_t m_nNodeCount; // 0xbc
voxel_vis_compression_t m_nPVSCompression; // 0x8c int32_t m_nRegionCount; // 0xc0
uint32_t m_nTreeSize; // 0x90 voxel_vis_cluster_t m_skyVisibilityCluster; // 0xc4
uint32_t m_nPVSSizeCompressed; // 0x94 voxel_vis_cluster_t m_sunVisibilityCluster; // 0xcc
voxel_vis_compression_t m_nPVSCompression; // 0xd4
uint32_t m_nTreeSize; // 0xd8
uint32_t m_nPVSSizeCompressed; // 0xdc
}; };
// Aligment: 0 // Aligment: 0
@ -297,6 +324,28 @@ public:
// <no members described> // <no members described>
}; };
// Aligment: 11
// Size: 120
class CEntityIdentity
{
public:
// MNetworkEnable
// MNetworkChangeCallback "entityIdentityNameChanged"
int32_t m_nameStringableIndex; // 0x14
CUtlSymbolLarge m_name; // 0x18
CUtlSymbolLarge m_designerName; // 0x20
uint32_t m_flags; // 0x30
uint32_t m_fDataObjectTypes; // 0x38
// MNetworkDisable
// MNetworkChangeAccessorFieldPathIndex
ChangeAccessorFieldPathIndex_t m_PathIndex; // 0x3c
CEntityIdentity* m_pPrev; // 0x50
CEntityIdentity* m_pNext; // 0x58
CEntityIdentity* m_pPrevByClass; // 0x60
CEntityIdentity* m_pNextByClass; // 0x68
V_uuid_t* m_pId; // 0x70
};
// Aligment: 4 // Aligment: 4
// Size: 56 // Size: 56
class CEntityInstance : public IHandleEntity class CEntityInstance : public IHandleEntity
@ -305,7 +354,7 @@ public:
// MNetworkDisable // MNetworkDisable
CUtlSymbolLarge m_iszPrivateVScripts; // 0x8 CUtlSymbolLarge m_iszPrivateVScripts; // 0x8
// MNetworkEnable // MNetworkEnable
// MNetworkPriority "112" // MNetworkPriority "56"
CEntityIdentity* m_pEntity; // 0x10 CEntityIdentity* m_pEntity; // 0x10
// MNetworkDisable // MNetworkDisable
CUtlStringToken m_worldGroupId; // 0x20 CUtlStringToken m_worldGroupId; // 0x20