Files
cs2-dumper/output/engine2_dll.hpp
2026-01-27 11:38:39 +09:00

359 lines
15 KiB
C++

// Generated using https://github.com/a2x/cs2-dumper
// 2026-01-27 02:36:48.265997500 UTC
#pragma once
#include <cstddef>
#include <cstdint>
namespace cs2_dumper {
namespace schemas {
// Module: engine2.dll
// Class count: 55
// 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 = 0xFFFFFFFF,
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: None
// Field count: 0
namespace CEntityComponent {
}
// Parent: CEntityComponent
// Field count: 1
namespace CScriptComponent {
constexpr std::ptrdiff_t m_scriptClassName = 0x30; // CUtlSymbolLarge
}
// Parent: None
// 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*
}
// Parent: None
// Field count: 0
namespace EventClientPostSimulate_t {
}
// Parent: None
// Field count: 3
namespace EventSimpleLoopFrameUpdate_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRealTime = 0x28; // float32
constexpr std::ptrdiff_t m_flFrameTime = 0x2C; // float32
}
// Parent: None
// Field count: 4
namespace EventPostAdvanceTick_t {
constexpr std::ptrdiff_t m_nCurrentTick = 0x30; // int32
constexpr std::ptrdiff_t m_nCurrentTickThisFrame = 0x34; // int32
constexpr std::ptrdiff_t m_nTotalTicksThisFrame = 0x38; // int32
constexpr std::ptrdiff_t m_nTotalTicks = 0x3C; // int32
}
// Parent: None
// Field count: 0
namespace CEntityIOOutput {
}
// Parent: None
// Field count: 1
namespace EventClientSceneSystemThreadStateChange_t {
constexpr std::ptrdiff_t m_bThreadsActive = 0x0; // bool
}
// Parent: None
// Field count: 5
namespace EventClientOutput_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRenderTime = 0x28; // float32
constexpr std::ptrdiff_t m_flRealTime = 0x2C; // float32
constexpr std::ptrdiff_t m_flRenderFrameTimeUnbounded = 0x30; // float32
constexpr std::ptrdiff_t m_bRenderOnly = 0x34; // bool
}
// Parent: None
// Field count: 1
namespace EventServerPostSimulate_t {
constexpr std::ptrdiff_t m_bLastTickBeforeClientUpdate = 0x30; // bool
}
// Parent: None
// Field count: 4
namespace CEntityComponentHelper {
constexpr std::ptrdiff_t m_flags = 0x8; // uint32
constexpr std::ptrdiff_t m_pInfo = 0x10; // EntComponentInfo_t*
constexpr std::ptrdiff_t m_nPriority = 0x18; // int32
constexpr std::ptrdiff_t m_pNext = 0x20; // CEntityComponentHelper*
}
// Parent: None
// Field count: 1
namespace GameTime_t {
constexpr std::ptrdiff_t m_Value = 0x0; // float32
}
// Parent: None
// Field count: 0
namespace EventServerBeginSimulate_t {
}
// Parent: None
// Field count: 0
namespace EventServerEndAsyncPostTickWork_t {
}
// Parent: None
// Field count: 0
namespace EventClientAdvanceTick_t {
}
// Parent: None
// Field count: 0
namespace EntInput_t {
}
// Parent: None
// Field count: 1
namespace CNetworkVarChainer {
constexpr std::ptrdiff_t m_PathIndex = 0x20; // ChangeAccessorFieldPathIndex_t
}
// Parent: None
// Field count: 0
namespace EventClientSimulate_t {
}
// Parent: None
// Field count: 5
namespace EventClientPostOutput_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRenderTime = 0x28; // float64
constexpr std::ptrdiff_t m_flRenderFrameTime = 0x30; // float32
constexpr std::ptrdiff_t m_flRenderFrameTimeUnbounded = 0x34; // float32
constexpr std::ptrdiff_t m_bRenderOnly = 0x38; // bool
}
// Parent: None
// Field count: 1
namespace GameTick_t {
constexpr std::ptrdiff_t m_Value = 0x0; // int32
}
// Parent: None
// Field count: 2
namespace EventClientPollInput_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRealTime = 0x28; // float32
}
// Parent: None
// Field count: 1
namespace EventPreDataUpdate_t {
constexpr std::ptrdiff_t m_nCount = 0x0; // int32
}
// Parent: None
// Field count: 3
namespace EventClientProcessGameInput_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRealTime = 0x28; // float32
constexpr std::ptrdiff_t m_flFrameTime = 0x2C; // float32
}
// Parent: None
// Field count: 1
namespace EventFrameBoundary_t {
constexpr std::ptrdiff_t m_flFrameTime = 0x0; // float32
}
// Parent: None
// Field count: 1
namespace EventAppShutdown_t {
constexpr std::ptrdiff_t m_nDummy0 = 0x0; // int32
}
// Parent: None
// Field count: 1
namespace EventServerPostAdvanceTick_t {
constexpr std::ptrdiff_t m_bLastTickBeforeClientUpdate = 0x40; // bool
}
// Parent: None
// Field count: 1
namespace EventProfileStorageAvailable_t {
constexpr std::ptrdiff_t m_nSplitScreenSlot = 0x0; // CSplitScreenSlot
}
// Parent: None
// Field count: 1
namespace EventPostDataUpdate_t {
constexpr std::ptrdiff_t m_nCount = 0x0; // int32
}
// Parent: None
// Field count: 0
namespace EventClientPreSimulate_t {
}
// Parent: None
// Field count: 0
namespace EventClientPauseSimulate_t {
}
// Parent: None
// Field count: 1
namespace EventClientProcessNetworking_t {
constexpr std::ptrdiff_t m_nTickCount = 0x0; // int32
}
// Parent: None
// Field count: 2
namespace CEntityAttributeTable {
constexpr std::ptrdiff_t m_Attributes = 0x0; // CUtlOrderedMap<CUtlStringToken,Attribute_t>
constexpr std::ptrdiff_t m_Names = 0x28; // CUtlOrderedMap<CUtlStringToken,CUtlString>
}
// Parent: None
// Field count: 0
namespace EventClientPreOutputParallelWithServer_t {
}
// Parent: None
// Field count: 4
namespace EventAdvanceTick_t {
constexpr std::ptrdiff_t m_nCurrentTick = 0x30; // int32
constexpr std::ptrdiff_t m_nCurrentTickThisFrame = 0x34; // int32
constexpr std::ptrdiff_t m_nTotalTicksThisFrame = 0x38; // int32
constexpr std::ptrdiff_t m_nTotalTicks = 0x3C; // int32
}
// Parent: None
// Field count: 0
namespace EventSplitScreenStateChanged_t {
}
// Parent: None
// Field count: 0
namespace EventClientPostAdvanceTick_t {
}
// Parent: None
// Field count: 0
namespace CVariantDefaultAllocator {
}
// Parent: None
// Field count: 0
namespace EventModInitialized_t {
}
// Parent: None
// Field count: 6
namespace EventClientPreOutput_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRenderTime = 0x28; // float64
constexpr std::ptrdiff_t m_flRenderFrameTime = 0x30; // float64
constexpr std::ptrdiff_t m_flRenderFrameTimeUnbounded = 0x38; // float64
constexpr std::ptrdiff_t m_flRealTime = 0x40; // float32
constexpr std::ptrdiff_t m_bRenderOnly = 0x44; // bool
}
// Parent: None
// Field count: 4
namespace EventClientFrameSimulate_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRealTime = 0x28; // float32
constexpr std::ptrdiff_t m_flFrameTime = 0x2C; // float32
constexpr std::ptrdiff_t m_bScheduleSendTickPacket = 0x30; // bool
}
// Parent: None
// Field count: 0
namespace EventServerAdvanceTick_t {
}
// Parent: None
// Field count: 8
namespace EventSetTime_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_nClientOutputFrames = 0x28; // int32
constexpr std::ptrdiff_t m_flRealTime = 0x30; // float64
constexpr std::ptrdiff_t m_flRenderTime = 0x38; // float64
constexpr std::ptrdiff_t m_flRenderFrameTime = 0x40; // float64
constexpr std::ptrdiff_t m_flRenderFrameTimeUnbounded = 0x48; // float64
constexpr std::ptrdiff_t m_flRenderFrameTimeUnscaled = 0x50; // float64
constexpr std::ptrdiff_t m_flTickRemainder = 0x58; // float64
}
// Parent: None
// Field count: 0
namespace EntOutput_t {
}
// Parent: None
// Field count: 3
namespace EventSimulate_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_bFirstTick = 0x28; // bool
constexpr std::ptrdiff_t m_bLastTick = 0x29; // bool
}
// Parent: None
// Field count: 0
namespace EventClientAdvanceNonRenderedFrame_t {
}
// Parent: None
// Field count: 0
namespace EventServerProcessNetworking_t {
}
// Parent: None
// Field count: 0
namespace CEmptyEntityInstance {
}
// Parent: None
// Field count: 7
namespace EntComponentInfo_t {
constexpr std::ptrdiff_t m_pName = 0x0; // char*
constexpr std::ptrdiff_t m_pCPPClassname = 0x8; // char*
constexpr std::ptrdiff_t m_pNetworkDataReferencedDescription = 0x10; // char*
constexpr std::ptrdiff_t m_pNetworkDataReferencedPtrPropDescription = 0x18; // char*
constexpr std::ptrdiff_t m_nRuntimeIndex = 0x20; // int32
constexpr std::ptrdiff_t m_nFlags = 0x24; // uint32
constexpr std::ptrdiff_t m_pBaseClassComponentHelper = 0x60; // CEntityComponentHelper*
}
// Parent: None
// Field count: 4
namespace EngineLoopState_t {
constexpr std::ptrdiff_t m_nPlatWindowWidth = 0x18; // int32
constexpr std::ptrdiff_t m_nPlatWindowHeight = 0x1C; // int32
constexpr std::ptrdiff_t m_nRenderWidth = 0x20; // int32
constexpr std::ptrdiff_t m_nRenderHeight = 0x24; // int32
}
// Parent: None
// Field count: 1
namespace EventClientPollNetworking_t {
constexpr std::ptrdiff_t m_nTickCount = 0x0; // int32
}
// Parent: None
// Field count: 1
namespace EventServerBeginAsyncPostTickWork_t {
constexpr std::ptrdiff_t m_bIsOncePerFrameAsyncWorkPhase = 0x0; // bool
}
// Parent: None
// Field count: 4
namespace EventClientProcessInput_t {
constexpr std::ptrdiff_t m_LoopState = 0x0; // EngineLoopState_t
constexpr std::ptrdiff_t m_flRealTime = 0x28; // float32
constexpr std::ptrdiff_t m_flTickInterval = 0x2C; // float32
constexpr std::ptrdiff_t m_flTickStartTime = 0x30; // float64
}
// Parent: None
// Field count: 1
namespace EventServerEndSimulate_t {
constexpr std::ptrdiff_t m_bLastTick = 0x0; // bool
}
// Parent: None
// Field count: 0
namespace EventServerPollNetworking_t {
}
}
}
}