source2sdk/sdk/resourcesystem.hpp

293 lines
4.7 KiB
C++
Raw Normal View History

2023-03-15 15:20:35 +00:00
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
///////////////////////////////////////////
// Binary: resourcesystem.dll
2023-03-15 18:56:19 +00:00
// Class Count: 28
// Enum Count: 2
2023-03-15 15:20:35 +00:00
///////////////////////////////////////////
2023-03-15 18:56:19 +00:00
// Aligment: 4
// Size: 7
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,
MATERIAL_LIGHT_AREA = 0x6,
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
};
// Aligment: 0
// Size: 1
2023-03-15 18:56:19 +00:00
class InfoForResourceTypeCGenericDataResource
2023-03-15 15:20:35 +00:00
{
public:
// <no members described>
};
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>
};
// 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 18:56:19 +00:00
class InfoForResourceTypeIAnimationGraph
2023-03-15 15:20:35 +00:00
{
public:
// <no members described>
};
// Aligment: 0
// Size: 1
2023-03-15 18:56:19 +00:00
class InfoForResourceTypeIAnimationSubGraph
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 18:56:19 +00:00
// Aligment: 35
// Size: 264
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
int32_t m_nLightGroupCount; // 0x40
CUtlStringToken[1] m_lightGroups; // 0x44
bool m_bCastShadows; // 0x48
int32_t m_nShadowWidth; // 0x4c
int32_t m_nShadowHeight; // 0x50
int32_t m_nShadowCascadeCount; // 0x54
float32[4] m_flShadowCascadeDistance; // 0x58
int32[4] m_nShadowCascadeResolution; // 0x68
bool m_bUsesIndexedBakedLighting; // 0x78
int32_t m_nBakeLightIndex; // 0x7c
float m_flBakeLightIndexScale; // 0x80
int32_t m_nFogLightingMode; // 0x84
bool m_bRenderDiffuse; // 0x88
bool m_bRenderSpecular; // 0x89
bool m_bRenderTransmissive; // 0x8a
int32_t m_nPriority; // 0x8c
LightSourceShape_t m_Shape; // 0x90
float m_flLightSourceDim0; // 0x94
float m_flLightSourceDim1; // 0x98
float m_flLightSourceSize0; // 0x9c
float m_flLightSourceSize1; // 0xa0
float m_flPrecomputedMaxRange; // 0xa4
float m_flFogContributionStength; // 0xa8
float m_flNearClipPlane; // 0xac
Vector m_vecUp; // 0xc8
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
};