Files
cs2-dumper/output/engine2_dll.hpp
2026-01-23 11:04:45 +10:00

71 lines
2.9 KiB
C++

// Generated using https://github.com/a2x/cs2-dumper
// 2026-01-23 01:03:20.898173500 UTC
#pragma once
#include <cstddef>
namespace cs2_dumper {
namespace schemas {
// Module: engine2.dll
// Class count: 4
// Enum count: 2
namespace engine2_dll {
// Alignment: 4
// Member count: 3
enum class EntityDormancyType_t : uint32_t {
ENTITY_NOT_DORMANT = 0x0,
ENTITY_DORMANT = 0x1,
ENTITY_SUSPENDED = 0x2
};
// Alignment: 4
// Member count: 4
enum class EntityIOTargetType_t : uint32_t {
ENTITY_IO_TARGET_INVALID = 0xFFFFFFFFFFFFFFFF,
ENTITY_IO_TARGET_ENTITYNAME = 0x2,
ENTITY_IO_TARGET_EHANDLE = 0x6,
ENTITY_IO_TARGET_ENTITYNAME_OR_CLASSNAME = 0x7
};
// Parent: None
// Field count: 3
//
// Metadata:
// NetworkVarNames: m_pEntity (CEntityIdentity*)
// NetworkVarNames: m_CScriptComponent (CScriptComponent::Storage_t)
namespace CEntityInstance {
constexpr std::ptrdiff_t m_iszPrivateVScripts = 0x8; // CUtlSymbolLarge
constexpr std::ptrdiff_t m_pEntity = 0x10; // CEntityIdentity*
constexpr std::ptrdiff_t m_CScriptComponent = 0x30; // CScriptComponent*
}
// Parent:
// Field count: 0
namespace CEntityComponent {
}
// Parent: CEntityComponent
// Field count: 1
namespace CScriptComponent {
constexpr std::ptrdiff_t m_scriptClassName = 0x30; // CUtlSymbolLarge
}
// Parent:
// Field count: 12
//
// Metadata:
// NetworkVarNames: m_nameStringableIndex (int32)
namespace CEntityIdentity {
constexpr std::ptrdiff_t m_nameStringableIndex = 0x14; // int32
constexpr std::ptrdiff_t m_name = 0x18; // CUtlSymbolLarge
constexpr std::ptrdiff_t m_designerName = 0x20; // CUtlSymbolLarge
constexpr std::ptrdiff_t m_flags = 0x30; // uint32
constexpr std::ptrdiff_t m_worldGroupId = 0x38; // WorldGroupId_t
constexpr std::ptrdiff_t m_fDataObjectTypes = 0x3C; // uint32
constexpr std::ptrdiff_t m_PathIndex = 0x40; // ChangeAccessorFieldPathIndex_t
constexpr std::ptrdiff_t m_pAttributes = 0x48; // CEntityAttributeTable*
constexpr std::ptrdiff_t m_pPrev = 0x50; // CEntityIdentity*
constexpr std::ptrdiff_t m_pNext = 0x58; // CEntityIdentity*
constexpr std::ptrdiff_t m_pPrevByClass = 0x60; // CEntityIdentity*
constexpr std::ptrdiff_t m_pNextByClass = 0x68; // CEntityIdentity*
}
}
}
}