source2sdk/sdk/resourcesystem.hpp
Konstantin 'cpz' L. d5ac97d75e 05.04.2024
2024-04-05 19:55:05 +03:00

870 lines
19 KiB
C++

#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
// /////////////////////////////////////////////////////////////
// Binary: resourcesystem.dll
// Classes count: 59
// Enums count: 2
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Enumerator count: 2
// Alignment: 1
// Size: 0x1
enum class FuseVariableAccess_t : uint8_t
{
WRITABLE = 0x0,
READ_ONLY = 0x1,
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Enumerator count: 9
// Alignment: 1
// Size: 0x1
enum class FuseVariableType_t : uint8_t
{
INVALID = 0x0,
BOOL = 0x1,
INT8 = 0x2,
INT16 = 0x3,
INT32 = 0x4,
UINT8 = 0x5,
UINT16 = 0x6,
UINT32 = 0x7,
FLOAT32 = 0x8,
};
struct FuseVariableIndex_t;
struct FuseFunctionIndex_t;
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x8
//
// MGetKV3ClassDefaults
struct TestResource_t
{
public:
// MKV3TransferName "name"
CUtlString m_name; // 0x0
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vtest"
struct InfoForResourceTypeTestResource_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vptest"
struct InfoForResourceTypeProceduralTestResource_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmtst"
struct InfoForResourceTypeManifestTestResource_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x10
//
// MGetKV3ClassDefaults
struct ManifestTestResource_t
{
public:
// MKV3TransferName "name"
CUtlString m_name; // 0x0
// MKV3TransferName "child"
CStrongHandle< InfoForResourceTypeManifestTestResource_t > m_child; // 0x8
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vdata"
class InfoForResourceTypeCVDataResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vpulse"
class InfoForResourceTypeIPulseGraphDef
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vts"
class InfoForResourceTypeCTypeScriptResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vjs"
class InfoForResourceTypeCJavaScriptResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vpcf"
class InfoForResourceTypeIParticleSystemDefinition
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsnap"
class InfoForResourceTypeIParticleSnapshot
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vanim"
class InfoForResourceTypeCAnimData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vagrp"
class InfoForResourceTypeCAnimationGroup
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vseq"
class InfoForResourceTypeCSequenceGroupData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmat"
class InfoForResourceTypeIMaterial2
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmorf"
class InfoForResourceTypeCMorphSetData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmesh"
class InfoForResourceTypeCRenderMesh
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmdl"
class InfoForResourceTypeCModel
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vtex"
class InfoForResourceTypeCTextureBase
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsvg"
class InfoForResourceTypeIVectorGraphic
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsndevts"
class InfoForResourceTypeCVSoundEventScriptList
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsndstckvseq"
class InfoForResourceTypeCVSoundStackScriptList
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsnd"
class InfoForResourceTypeCVoiceContainerBase
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vmix"
class InfoForResourceTypeCVMixListResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vphys"
class InfoForResourceTypeCPhysAggregateData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsurf"
class InfoForResourceTypeCVPhysXSurfacePropertiesList
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vents"
class InfoForResourceTypeCEntityLump
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vwnod"
class InfoForResourceTypeCWorldNode
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vwrld"
struct InfoForResourceTypeWorld_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vvis"
class InfoForResourceTypeCVoxelVisibility
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vpost"
class InfoForResourceTypeCPostProcessingResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vcss"
class InfoForResourceTypeCPanoramaStyle
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vxml"
class InfoForResourceTypeCPanoramaLayout
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vpdi"
class InfoForResourceTypeCPanoramaDynamicImages
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "item"
class InfoForResourceTypeCDotaItemDefinitionResource
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vdpn"
class InfoForResourceTypeCDOTAPatchNotesList
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vdvn"
class InfoForResourceTypeCDOTANovelsList
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vanmgrpheconitemvents"
class InfoForResourceTypeIAnimGraphModelBinding
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vcdlist"
class InfoForResourceTypeCChoreoSceneFileData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vdacdefsvsvg"
class InfoForResourceTypeCDACGameDefsData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vcompmat"
class InfoForResourceTypeCCompositeMaterialKit
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vgcxdatavxml"
class InfoForResourceTypeCGcExportableExternalData
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vsmart"
class InfoForResourceTypeCSmartProp
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "econitemvents"
class InfoForResourceTypeCCSGOEconItem
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vrr"
class InfoForResourceTypeCResponseRulesList
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmskel"
class InfoForResourceTypeCNmSkeleton
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmclip"
class InfoForResourceTypeCNmClip
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmgraphvanmgrpheconitemvents"
class InfoForResourceTypeCNmGraph
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'resourcesystem')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vnmdset"
class InfoForResourceTypeCNmGraphDataSet
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x2
// Has Trivial Destructor
//
// MIsBoxedIntegerType
struct FuseVariableIndex_t
{
public:
uint16_t m_Value; // 0x0
// Static fields:
static bool &Get_IS_TYPESAFE_INTEGER(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("resourcesystem.dll")->FindDeclaredClass("FuseVariableIndex_t")->m_static_fields[0]->m_instance);};
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x2
// Has Trivial Destructor
//
// MIsBoxedIntegerType
struct FuseFunctionIndex_t
{
public:
uint16_t m_Value; // 0x0
// Static fields:
static bool &Get_IS_TYPESAFE_INTEGER(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("resourcesystem.dll")->FindDeclaredClass("FuseFunctionIndex_t")->m_static_fields[0]->m_instance);};
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x10
//
// MGetKV3ClassDefaults
struct ConstantInfo_t
{
public:
CUtlString m_name; // 0x0
CUtlStringToken m_nameToken; // 0x8
float m_flValue; // 0xc
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x18
//
// MGetKV3ClassDefaults
struct VariableInfo_t
{
public:
CUtlString m_name; // 0x0
CUtlStringToken m_nameToken; // 0x8
FuseVariableIndex_t m_nIndex; // 0xc
uint8_t m_nNumComponents; // 0xe
FuseVariableType_t m_eVarType; // 0xf
FuseVariableAccess_t m_eAccess; // 0x10
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x20
//
// MGetKV3ClassDefaults
struct FunctionInfo_t
{
private:
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
public:
CUtlString m_name; // 0x8
CUtlStringToken m_nameToken; // 0x10
int32_t m_nParamCount; // 0x14
FuseFunctionIndex_t m_nIndex; // 0x18
bool m_bIsPure; // 0x1a
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x50
//
// MGetKV3ClassDefaults
class CFuseProgram
{
public:
CUtlVector< uint8 > m_programBuffer; // 0x0
CUtlVector< FuseVariableIndex_t > m_variablesRead; // 0x18
CUtlVector< FuseVariableIndex_t > m_variablesWritten; // 0x30
int32_t m_nMaxTempVarsUsed; // 0x48
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0xb0
//
// MGetKV3ClassDefaults
class CFuseSymbolTable
{
public:
CUtlVector< ConstantInfo_t > m_constants; // 0x0
CUtlVector< VariableInfo_t > m_variables; // 0x18
CUtlVector< FunctionInfo_t > m_functions; // 0x30
CUtlHashtable< CUtlStringToken, int32 > m_constantMap; // 0x48
CUtlHashtable< CUtlStringToken, int32 > m_variableMap; // 0x68
CUtlHashtable< CUtlStringToken, int32 > m_functionMap; // 0x88
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x18
// Has Trivial Constructor
// Has Trivial Destructor
struct AABB_t
{
public:
Vector m_vMinBounds; // 0x0
Vector m_vMaxBounds; // 0xc
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x8
// Has Trivial Constructor
// Has Trivial Destructor
struct PackedAABB_t
{
public:
uint32_t m_nPackedMin; // 0x0
uint32_t m_nPackedMax; // 0x4
};
// Registered binary: resourcesystem.dll (project 'mathlib_extended')
// Alignment: 8
// Size: 0x40
// Has Trivial Constructor
// Has Trivial Destructor
class FourQuaternions
{
public:
fltx4 x; // 0x0
fltx4 y; // 0x10
fltx4 z; // 0x20
fltx4 w; // 0x30
};