    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244

    /*
     * Created using https://github.com/a2x/cs2-dumper
     * Sat, 30 Dec 2023 03:17:25 +0000
     */

    #![allow(non_snake_case, non_upper_case_globals)]

    pub mod CEmptyEntityInstance {
    }

    pub mod CEntityComponent {
    }

    pub mod CEntityComponentHelper {
        pub const m_flags: usize = 0x8; // uint32_t
        pub const m_pInfo: usize = 0x10; // EntComponentInfo_t*
        pub const m_nPriority: usize = 0x18; // int32_t
        pub const m_pNext: usize = 0x20; // CEntityComponentHelper*
    }

    pub mod CEntityIOOutput {
        pub const m_Value: usize = 0x18; // CVariantBase<CVariantDefaultAllocator>
    }

    pub mod CEntityIdentity {
        pub const m_nameStringableIndex: usize = 0x14; // int32_t
        pub const m_name: usize = 0x18; // CUtlSymbolLarge
        pub const m_designerName: usize = 0x20; // CUtlSymbolLarge
        pub const m_flags: usize = 0x30; // uint32_t
        pub const m_worldGroupId: usize = 0x38; // WorldGroupId_t
        pub const m_fDataObjectTypes: usize = 0x3C; // uint32_t
        pub const m_PathIndex: usize = 0x40; // ChangeAccessorFieldPathIndex_t
        pub const m_pPrev: usize = 0x58; // CEntityIdentity*
        pub const m_pNext: usize = 0x60; // CEntityIdentity*
        pub const m_pPrevByClass: usize = 0x68; // CEntityIdentity*
        pub const m_pNextByClass: usize = 0x70; // CEntityIdentity*
    }

    pub mod CEntityInstance {
        pub const m_iszPrivateVScripts: usize = 0x8; // CUtlSymbolLarge
        pub const m_pEntity: usize = 0x10; // CEntityIdentity*
        pub const m_CScriptComponent: usize = 0x28; // CScriptComponent*
    }

    pub mod CNetworkVarChainer {
        pub const m_PathIndex: usize = 0x20; // ChangeAccessorFieldPathIndex_t
    }

    pub mod CScriptComponent { // CEntityComponent
        pub const m_scriptClassName: usize = 0x30; // CUtlSymbolLarge
    }

    pub mod CVariantDefaultAllocator {
    }

    pub mod EngineLoopState_t {
        pub const m_nPlatWindowWidth: usize = 0x18; // int32_t
        pub const m_nPlatWindowHeight: usize = 0x1C; // int32_t
        pub const m_nRenderWidth: usize = 0x20; // int32_t
        pub const m_nRenderHeight: usize = 0x24; // int32_t
    }

    pub mod EntComponentInfo_t {
        pub const m_pName: usize = 0x0; // char*
        pub const m_pCPPClassname: usize = 0x8; // char*
        pub const m_pNetworkDataReferencedDescription: usize = 0x10; // char*
        pub const m_pNetworkDataReferencedPtrPropDescription: usize = 0x18; // char*
        pub const m_nRuntimeIndex: usize = 0x20; // int32_t
        pub const m_nFlags: usize = 0x24; // uint32_t
        pub const m_pBaseClassComponentHelper: usize = 0x60; // CEntityComponentHelper*
    }

    pub mod EntInput_t {
    }

    pub mod EntOutput_t {
    }

    pub mod EventAdvanceTick_t { // EventSimulate_t
        pub const m_nCurrentTick: usize = 0x30; // int32_t
        pub const m_nCurrentTickThisFrame: usize = 0x34; // int32_t
        pub const m_nTotalTicksThisFrame: usize = 0x38; // int32_t
        pub const m_nTotalTicks: usize = 0x3C; // int32_t
    }

    pub mod EventAppShutdown_t {
        pub const m_nDummy0: usize = 0x0; // int32_t
    }

    pub mod EventClientAdvanceTick_t { // EventAdvanceTick_t
    }

    pub mod EventClientFrameSimulate_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRealTime: usize = 0x28; // float
        pub const m_flFrameTime: usize = 0x2C; // float
    }

    pub mod EventClientOutput_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRenderTime: usize = 0x28; // float
        pub const m_flRealTime: usize = 0x2C; // float
        pub const m_flRenderFrameTimeUnbounded: usize = 0x30; // float
        pub const m_bRenderOnly: usize = 0x34; // bool
    }

    pub mod EventClientPauseSimulate_t { // EventSimulate_t
    }

    pub mod EventClientPollInput_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRealTime: usize = 0x28; // float
    }

    pub mod EventClientPollNetworking_t {
        pub const m_nTickCount: usize = 0x0; // int32_t
    }

    pub mod EventClientPostAdvanceTick_t { // EventPostAdvanceTick_t
    }

    pub mod EventClientPostOutput_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRenderTime: usize = 0x28; // double
        pub const m_flRenderFrameTime: usize = 0x30; // float
        pub const m_flRenderFrameTimeUnbounded: usize = 0x34; // float
        pub const m_bRenderOnly: usize = 0x38; // bool
    }

    pub mod EventClientPostSimulate_t { // EventSimulate_t
    }

    pub mod EventClientPreOutput_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRenderTime: usize = 0x28; // double
        pub const m_flRenderFrameTime: usize = 0x30; // double
        pub const m_flRenderFrameTimeUnbounded: usize = 0x38; // double
        pub const m_flRealTime: usize = 0x40; // float
        pub const m_bRenderOnly: usize = 0x44; // bool
    }

    pub mod EventClientPreSimulate_t { // EventSimulate_t
    }

    pub mod EventClientPredictionPostNetupdate_t {
    }

    pub mod EventClientProcessGameInput_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRealTime: usize = 0x28; // float
        pub const m_flFrameTime: usize = 0x2C; // float
    }

    pub mod EventClientProcessInput_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRealTime: usize = 0x28; // float
        pub const m_flTickInterval: usize = 0x2C; // float
        pub const m_flTickStartTime: usize = 0x30; // double
    }

    pub mod EventClientProcessNetworking_t {
    }

    pub mod EventClientSceneSystemThreadStateChange_t {
        pub const m_bThreadsActive: usize = 0x0; // bool
    }

    pub mod EventClientSendInput_t {
        pub const m_bFinalClientCommandTick: usize = 0x0; // bool
        pub const m_nAdditionalClientCommandsToCreate: usize = 0x4; // int32_t
    }

    pub mod EventClientSimulate_t { // EventSimulate_t
    }

    pub mod EventFrameBoundary_t {
        pub const m_flFrameTime: usize = 0x0; // float
    }

    pub mod EventModInitialized_t {
    }

    pub mod EventPostAdvanceTick_t { // EventSimulate_t
        pub const m_nCurrentTick: usize = 0x30; // int32_t
        pub const m_nCurrentTickThisFrame: usize = 0x34; // int32_t
        pub const m_nTotalTicksThisFrame: usize = 0x38; // int32_t
        pub const m_nTotalTicks: usize = 0x3C; // int32_t
    }

    pub mod EventPostDataUpdate_t {
        pub const m_nCount: usize = 0x0; // int32_t
    }

    pub mod EventPreDataUpdate_t {
        pub const m_nCount: usize = 0x0; // int32_t
    }

    pub mod EventProfileStorageAvailable_t {
        pub const m_nSplitScreenSlot: usize = 0x0; // CSplitScreenSlot
    }

    pub mod EventServerAdvanceTick_t { // EventAdvanceTick_t
    }

    pub mod EventServerPollNetworking_t { // EventSimulate_t
    }

    pub mod EventServerPostAdvanceTick_t { // EventPostAdvanceTick_t
    }

    pub mod EventServerPostSimulate_t { // EventSimulate_t
    }

    pub mod EventServerProcessNetworking_t { // EventSimulate_t
    }

    pub mod EventServerSimulate_t { // EventSimulate_t
    }

    pub mod EventSetTime_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_nClientOutputFrames: usize = 0x28; // int32_t
        pub const m_flRealTime: usize = 0x30; // double
        pub const m_flRenderTime: usize = 0x38; // double
        pub const m_flRenderFrameTime: usize = 0x40; // double
        pub const m_flRenderFrameTimeUnbounded: usize = 0x48; // double
        pub const m_flRenderFrameTimeUnscaled: usize = 0x50; // double
        pub const m_flTickRemainder: usize = 0x58; // double
    }

    pub mod EventSimpleLoopFrameUpdate_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_flRealTime: usize = 0x28; // float
        pub const m_flFrameTime: usize = 0x2C; // float
    }

    pub mod EventSimulate_t {
        pub const m_LoopState: usize = 0x0; // EngineLoopState_t
        pub const m_bFirstTick: usize = 0x28; // bool
        pub const m_bLastTick: usize = 0x29; // bool
    }

    pub mod EventSplitScreenStateChanged_t {
    }