source2sdk/sdk/resourcesystem.hpp

550 lines
12 KiB
C++
Raw Normal View History

2023-03-15 15:20:35 +00:00
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
// /////////////////////////////////////////////////////////////
2023-03-15 15:20:35 +00:00
// Binary: resourcesystem.dll
// Classes count: 34
// Enums count: 2
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Enumerator count: 6
// Alignment: 4
// Size: 0x4
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
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Enumerator count: 1
// Alignment: 4
// Size: 0x4
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
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vpcf"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeIParticleSystemDefinition
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsnap"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeIParticleSnapshot
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vanim"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCAnimData
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vagrp"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCAnimationGroup
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vseq"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCSequenceGroupData
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmat"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeIMaterial2
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmorf"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCMorphSetData
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmesh"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCRenderMesh
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmdl"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCModel
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vtex"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCTextureBase
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsvg"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeIVectorGraphic
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 19:24:28 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsndevts"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCVSoundEventScriptList
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsndstckvseq"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCVSoundStackScriptList
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsnd"
2023-03-15 18:34:46 +00:00
struct InfoForResourceTypeVSound_t
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmix"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCVMixListResource
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vphys"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCPhysAggregateData
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsurf"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCVPhysXSurfacePropertiesList
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vents"
2023-03-15 18:34:46 +00:00
class InfoForResourceTypeCEntityLump
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vwnod"
2023-03-15 17:25:55 +00:00
class InfoForResourceTypeCWorldNode
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vwrld"
2023-03-15 17:25:55 +00:00
struct InfoForResourceTypeWorld_t
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vvis"
2023-03-15 17:25:55 +00:00
class InfoForResourceTypeCVoxelVisibility
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vpost"
2023-03-15 15:20:35 +00:00
class InfoForResourceTypeCPostProcessingResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vcss"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeCPanoramaStyle
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 19:24:28 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vxml"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeCPanoramaLayout
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 19:24:28 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vpdi"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeCPanoramaDynamicImages
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "item"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeCDotaItemDefinitionResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 19:24:28 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vjs"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeCPanoramaScript
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 19:24:28 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vdpn"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeCDOTAPatchNotesList
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 19:24:28 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vanmgrphvxml"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeIAnimationGraph
2023-03-15 15:20:35 +00:00
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vcdlist"
2023-03-15 15:20:35 +00:00
class InfoForResourceTypeCChoreoSceneFileData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 15:20:35 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 1
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vdacdefsvsvg"
2023-03-15 19:24:28 +00:00
class InfoForResourceTypeCDACGameDefsData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
2023-03-15 19:24:28 +00:00
public:
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 4
// Size: 0x104
// Has Trivial Destructor
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
CUtlStringToken m_lightCookie; // 0x38
int32_t m_nLightGroupCount; // 0x3c
CUtlStringToken m_lightGroups[1]; // 0x40
bool m_bCastShadows; // 0x44
private:
[[maybe_unused]] uint8_t __pad0045[0x3]; // 0x45
public:
int32_t m_nShadowWidth; // 0x48
int32_t m_nShadowHeight; // 0x4c
int32_t m_nShadowCascadeCount; // 0x50
float m_flShadowCascadeDistance[4]; // 0x54
int32_t m_nShadowCascadeResolution[4]; // 0x64
bool m_bUsesIndexedBakedLighting; // 0x74
private:
[[maybe_unused]] uint8_t __pad0075[0x3]; // 0x75
public:
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
private:
[[maybe_unused]] uint8_t __pad0087[0x1]; // 0x87
public:
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
private:
[[maybe_unused]] uint8_t __pad00ac[0x18]; // 0xac
public:
Vector m_vecUp; // 0xc4
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 4
// Size: 0x18
// Has Trivial Destructor
2023-03-15 17:25:55 +00:00
struct AABB_t
2023-03-15 15:20:35 +00:00
{
public:
Vector m_vMinBounds; // 0x0
Vector m_vMaxBounds; // 0xc
2023-03-15 15:20:35 +00:00
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 16
// Size: 0x40
// Has Trivial Destructor
2023-03-15 15:20:35 +00:00
class FourQuaternions
{
public:
fltx4 x; // 0x0
fltx4 y; // 0x10
fltx4 z; // 0x20
fltx4 w; // 0x30
2023-03-15 15:20:35 +00:00
};