source2sdk/sdk/schemasystem.hpp

146 lines
3.6 KiB
C++
Raw Normal View History

2023-03-15 15:20:35 +00:00
#pragma once
#include <cstdint>
#include "!GlobalTypes.hpp"
2023-03-23 14:05:13 +00:00
// /////////////////////////////////////////////////////////////
2023-03-15 15:20:35 +00:00
// Binary: schemasystem.dll
2024-04-19 12:05:51 +00:00
// Classes count: 0 (Allocated) | 7 (Unallocated)
2024-05-08 01:39:42 +00:00
// Enums count: 0 (Allocated) | 1 (Unallocated)
2023-03-23 14:05:13 +00:00
// Created using source2gen - github.com/neverlosecc/source2gen
// /////////////////////////////////////////////////////////////
2023-03-15 15:20:35 +00:00
2024-04-19 12:05:51 +00:00
// Registered binary: schemasystem.dll (project 'schemasystem')
// Enumerator count: 3
// Alignment: 4
// Size: 0x4
2024-05-08 01:39:42 +00:00
enum class ThreeState_t : std::uint32_t
2024-04-19 12:05:51 +00:00
{
TRS_FALSE = 0x0,
TRS_TRUE = 0x1,
TRS_NONE = 0x2,
};
// Registered binary: schemasystem.dll (project 'resourcefile')
// Alignment: 8
// Size: 0x1
// Has Trivial Constructor
// Has Trivial Destructor
//
// MResourceTypeForInfoType "vrman"
class InfoForResourceTypeCResourceManifestInternal
{
private:
[[maybe_unused]] uint8_t __pad0000[0x1]; // 0x0
public:
};
// Registered binary: schemasystem.dll (project 'schemasystem')
2024-02-12 00:06:50 +00:00
// Alignment: 8
2023-03-23 14:05:13 +00:00
// Size: 0x180
2023-03-15 15:20:35 +00:00
class CSchemaSystemInternalRegistration
{
public:
2023-03-23 14:05:13 +00:00
Vector2D m_Vector2D; // 0x0
Vector m_Vector; // 0x8
private:
2023-03-24 22:01:31 +00:00
[[maybe_unused]] uint8_t __pad0014[0xc]; // 0x14
2023-03-23 14:05:13 +00:00
public:
VectorAligned m_VectorAligned; // 0x20
Quaternion m_Quaternion; // 0x30
QAngle m_QAngle; // 0x40
RotationVector m_RotationVector; // 0x4c
RadianEuler m_RadianEuler; // 0x58
DegreeEuler m_DegreeEuler; // 0x64
QuaternionStorage m_QuaternionStorage; // 0x70
matrix3x4_t m_matrix3x4_t; // 0x80
matrix3x4a_t m_matrix3x4a_t; // 0xb0
Color m_Color; // 0xe0
Vector4D m_Vector4D; // 0xe4
private:
2023-03-24 22:01:31 +00:00
[[maybe_unused]] uint8_t __pad00f4[0xc]; // 0xf4
2023-03-23 14:05:13 +00:00
public:
CTransform m_CTransform; // 0x100
KeyValues* m_pKeyValues; // 0x120
CUtlBinaryBlock m_CUtlBinaryBlock; // 0x128
CUtlString m_CUtlString; // 0x140
CUtlSymbol m_CUtlSymbol; // 0x148
private:
2023-03-24 22:01:31 +00:00
[[maybe_unused]] uint8_t __pad014a[0x2]; // 0x14a
2023-03-23 14:05:13 +00:00
public:
CUtlStringToken m_stringToken; // 0x14c
CUtlStringTokenWithStorage m_stringTokenWithStorage; // 0x150
CResourceArray< CResourcePointer< CResourceString > > m_ResourceTypes; // 0x168
KeyValues3 m_KV3; // 0x170
2023-03-15 15:20:35 +00:00
};
// Registered binary: schemasystem.dll (project 'resourcefile')
2024-02-12 00:06:50 +00:00
// Alignment: 8
2024-04-19 12:05:51 +00:00
// Size: 0x10
// Has VTable
2024-05-08 01:39:42 +00:00
// Construct allowed
//
2024-04-19 12:05:51 +00:00
// MGetKV3ClassDefaults
class CExampleSchemaVData_PolymorphicBase
2023-03-15 15:20:35 +00:00
{
2023-03-25 17:14:12 +00:00
private:
2024-04-19 12:05:51 +00:00
[[maybe_unused]] uint8_t __pad0000[0x8]; // 0x0
2023-03-15 15:20:35 +00:00
public:
2024-04-19 12:05:51 +00:00
int32_t m_nBase; // 0x8
2023-03-15 15:20:35 +00:00
};
// Registered binary: schemasystem.dll (project 'resourcefile')
// Alignment: 8
2024-04-19 12:05:51 +00:00
// Size: 0x18
// Has VTable
2024-05-08 01:39:42 +00:00
// Construct allowed
//
// MGetKV3ClassDefaults
2024-04-19 12:05:51 +00:00
class CExampleSchemaVData_PolymorphicDerivedA : public CExampleSchemaVData_PolymorphicBase
2023-03-15 15:20:35 +00:00
{
public:
2024-04-19 12:05:51 +00:00
int32_t m_nDerivedA; // 0x10
2023-03-15 15:20:35 +00:00
};
// Registered binary: schemasystem.dll (project 'resourcefile')
// Alignment: 8
2024-04-19 12:05:51 +00:00
// Size: 0x18
// Has VTable
2024-05-08 01:39:42 +00:00
// Construct allowed
//
// MGetKV3ClassDefaults
2024-04-19 12:05:51 +00:00
class CExampleSchemaVData_PolymorphicDerivedB : public CExampleSchemaVData_PolymorphicBase
2023-03-15 15:20:35 +00:00
{
public:
2024-04-19 12:05:51 +00:00
int32_t m_nDerivedB; // 0x10
2023-03-15 15:20:35 +00:00
};
// Registered binary: schemasystem.dll (project 'resourcefile')
// Alignment: 8
2024-04-19 12:05:51 +00:00
// Size: 0x8
// Has Trivial Destructor
//
2024-04-19 12:05:51 +00:00
// MIsBoxedIntegerType
struct ResourceId_t
2023-03-15 15:20:35 +00:00
{
public:
2024-04-19 12:05:51 +00:00
uint64_t m_Value; // 0x0
// Static fields:
2024-05-08 01:39:42 +00:00
static bool &Get_IS_TYPESAFE_INTEGER(){return *reinterpret_cast<bool*>(interfaces::g_schema->FindTypeScopeForModule("schemasystem.dll")->FindDeclaredClass("ResourceId_t")->GetStaticFields()[0]->m_pInstance);};
2023-03-15 15:20:35 +00:00
};
// Registered binary: schemasystem.dll (project 'resourcefile')
2024-04-19 12:05:51 +00:00
// Alignment: 4
// Size: 0x8
// Has Trivial Destructor
2024-05-08 01:39:42 +00:00
// Construct allowed
//
// MGetKV3ClassDefaults
2024-04-19 12:05:51 +00:00
class CExampleSchemaVData_Monomorphic
2023-03-15 15:20:35 +00:00
{
public:
2024-04-19 12:05:51 +00:00
int32_t m_nExample1; // 0x0
int32_t m_nExample2; // 0x4
2023-03-15 15:20:35 +00:00
};