2023-03-15 15:20:35 +00:00
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include "!GlobalTypes.hpp"
|
|
|
|
|
|
|
|
///////////////////////////////////////////
|
|
|
|
// Binary: resourcesystem.dll
|
2023-03-15 19:24:28 +00:00
|
|
|
// Class Count: 34
|
2023-03-15 18:56:19 +00:00
|
|
|
// Enum Count: 2
|
2023-03-15 15:20:35 +00:00
|
|
|
///////////////////////////////////////////
|
|
|
|
|
2023-03-15 18:56:19 +00:00
|
|
|
// Aligment: 4
|
2023-03-15 19:24:28 +00:00
|
|
|
// Size: 6
|
2023-03-15 18:56:19 +00:00
|
|
|
enum class LightType_t : uint32_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
2023-03-15 18:56:19 +00:00
|
|
|
MATERIAL_LIGHT_DISABLE = 0x0,
|
|
|
|
MATERIAL_LIGHT_POINT = 0x1,
|
|
|
|
MATERIAL_LIGHT_DIRECTIONAL = 0x2,
|
|
|
|
MATERIAL_LIGHT_SPOT = 0x3,
|
|
|
|
MATERIAL_LIGHT_ORTHO = 0x4,
|
|
|
|
MATERIAL_LIGHT_ENVIRONMENT_PROBE = 0x5,
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-03-15 18:56:19 +00:00
|
|
|
// Aligment: 4
|
2023-03-15 15:20:35 +00:00
|
|
|
// Size: 1
|
2023-03-15 18:56:19 +00:00
|
|
|
enum class LightSourceShape_t : uint32_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
2023-03-15 18:56:19 +00:00
|
|
|
LIGHT_SOURCE_SHAPE_SPHERE = 0x0,
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-03-15 17:25:55 +00:00
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeIParticleSystemDefinition
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2023-03-15 17:25:55 +00:00
|
|
|
// <no members described>
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeIParticleSnapshot
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCAnimData
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCAnimationGroup
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCSequenceGroupData
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeIMaterial2
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCMorphSetData
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCRenderMesh
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCModel
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCTextureBase
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
2023-03-15 19:24:28 +00:00
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeIVectorGraphic
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
2023-03-15 15:20:35 +00:00
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCVSoundEventScriptList
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCVSoundStackScriptList
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
struct InfoForResourceTypeVSound_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCVMixListResource
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCPhysAggregateData
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCVPhysXSurfacePropertiesList
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 18:34:46 +00:00
|
|
|
class InfoForResourceTypeCEntityLump
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 17:25:55 +00:00
|
|
|
class InfoForResourceTypeCWorldNode
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 17:25:55 +00:00
|
|
|
struct InfoForResourceTypeWorld_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 17:25:55 +00:00
|
|
|
class InfoForResourceTypeCVoxelVisibility
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeCPostProcessingResource
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 19:24:28 +00:00
|
|
|
class InfoForResourceTypeCPanoramaStyle
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeCPanoramaLayout
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeCPanoramaDynamicImages
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
2023-03-15 19:24:28 +00:00
|
|
|
class InfoForResourceTypeCDotaItemDefinitionResource
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeCPanoramaScript
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeCDOTAPatchNotesList
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeIAnimationGraph
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeCChoreoSceneFileData
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
2023-03-15 19:24:28 +00:00
|
|
|
// Aligment: 0
|
|
|
|
// Size: 1
|
|
|
|
class InfoForResourceTypeCDACGameDefsData
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// <no members described>
|
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 36
|
|
|
|
// Size: 260
|
2023-03-15 18:56:19 +00:00
|
|
|
struct LightDesc_t
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
LightType_t m_Type; // 0x0
|
|
|
|
Vector m_Color; // 0x4
|
|
|
|
Vector m_BounceColor; // 0x10
|
|
|
|
float m_Range; // 0x1c
|
|
|
|
float m_Falloff; // 0x20
|
|
|
|
float m_Attenuation0; // 0x24
|
|
|
|
float m_Attenuation1; // 0x28
|
|
|
|
float m_Attenuation2; // 0x2c
|
|
|
|
float m_Theta; // 0x30
|
|
|
|
float m_Phi; // 0x34
|
2023-03-15 19:24:28 +00:00
|
|
|
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
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
2023-03-15 17:25:55 +00:00
|
|
|
// Aligment: 2
|
|
|
|
// Size: 24
|
|
|
|
struct AABB_t
|
2023-03-15 15:20:35 +00:00
|
|
|
{
|
|
|
|
public:
|
2023-03-15 17:25:55 +00:00
|
|
|
Vector m_vMinBounds; // 0x0
|
|
|
|
Vector m_vMaxBounds; // 0xc
|
2023-03-15 15:20:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Aligment: 4
|
|
|
|
// Size: 64
|
|
|
|
class FourQuaternions
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
fltx4 x; // 0x0
|
|
|
|
fltx4 y; // 0x10
|
|
|
|
fltx4 z; // 0x20
|
|
|
|
fltx4 w; // 0x30
|
|
|
|
};
|
|
|
|
|