Compare commits

...

11 Commits

Author SHA1 Message Date
a2x
86304e3ebc Remove generated files from root directory 2025-02-07 13:32:35 +10:00
a2x
5117d5a09b
Merge pull request #316 from ImInTheICU/main
Game update (27298993)
2025-02-07 12:34:54 +10:00
C
265c993810
Game update (27298993)
Game update (27298993)
2025-02-06 17:32:36 -06:00
a2x
0ebd71d045
Merge pull request #313 from ImInTheICU/main
Game update (14066)
2025-02-04 12:37:37 +10:00
C
17bbfd4b60
Game update (27298992)
Game update (27298992)
2025-02-03 19:42:21 -06:00
a2x
188528714f
Merge pull request #312 from Grovre/main
Fix C# source gen
2025-02-03 17:04:27 +10:00
grovre
c847b8d647 Merge branch 'main' of https://github.com/Grovre/cs2-dumper 2025-02-03 01:02:46 -06:00
grovre
451b2e48b8 amend 2025-02-03 01:00:38 -06:00
grovre
4be7b1793e Handle all negative enum value cases 2025-02-03 00:07:14 -06:00
grovre
b244f7b292 Fix mismatched types in C# source gen 2025-02-02 23:37:13 -06:00
grovre
ea249e3595 Update .gitignore 2025-02-02 21:42:34 -06:00
68 changed files with 408 additions and 403 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
/.idea
/.vscode
/.vs
/target
Cargo.lock

View File

@ -1,5 +0,0 @@
02:16:56 [INFO] found 16 buttons
02:16:56 [INFO] found 130 interfaces across 33 modules
02:16:57 [INFO] found 33 offsets across 5 modules
02:16:57 [INFO] found 2468 classes and 368 enums across 17 modules
02:16:57 [INFO] analysis completed in 1.05s

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: animationsystem.dll
@ -30,7 +30,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum BoneTransformSpace_t : uint {
BoneTransformSpace_Invalid = 0xFFFFFFFFFFFFFFFF,
BoneTransformSpace_Invalid = unchecked((uint)-1),
BoneTransformSpace_Parent = 0x0,
BoneTransformSpace_Model = 0x1,
BoneTransformSpace_World = 0x2
@ -72,7 +72,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 1
// Member count: 6
public enum MovementGait_t : byte {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = unchecked((byte)-1),
eSlow = 0x0,
eMedium = 0x1,
eFast = 0x2,
@ -343,7 +343,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum ModelBoneFlexComponent_t : uint {
MODEL_BONE_FLEX_INVALID = 0xFFFFFFFFFFFFFFFF,
MODEL_BONE_FLEX_INVALID = unchecked((uint)-1),
MODEL_BONE_FLEX_TX = 0x0,
MODEL_BONE_FLEX_TY = 0x1,
MODEL_BONE_FLEX_TZ = 0x2
@ -671,7 +671,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 2
// Member count: 3
public enum AnimScriptType : ushort {
ANIMSCRIPT_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
ANIMSCRIPT_TYPE_INVALID = unchecked((ushort)-1),
ANIMSCRIPT_FUSE_GENERAL = 0x0,
ANIMSCRIPT_FUSE_STATEMACHINE = 0x1
}
@ -725,7 +725,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum HandshakeTagType_t : uint {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = unchecked((uint)-1),
eTask = 0x0,
eMovement = 0x1,
eCount = 0x2
@ -733,7 +733,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 18
public enum ParticleAttachment_t : uint {
PATTACH_INVALID = 0xFFFFFFFFFFFFFFFF,
PATTACH_INVALID = unchecked((uint)-1),
PATTACH_ABSORIGIN = 0x0,
PATTACH_ABSORIGIN_FOLLOW = 0x1,
PATTACH_CUSTOMORIGIN = 0x2,
@ -887,7 +887,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 5
public enum ModelConfigAttachmentType_t : uint {
MODEL_CONFIG_ATTACHMENT_INVALID = 0xFFFFFFFFFFFFFFFF,
MODEL_CONFIG_ATTACHMENT_INVALID = unchecked((uint)-1),
MODEL_CONFIG_ATTACHMENT_BONE_OR_ATTACHMENT = 0x0,
MODEL_CONFIG_ATTACHMENT_ROOT_RELATIVE = 0x1,
MODEL_CONFIG_ATTACHMENT_BONEMERGE = 0x2,

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,24 +1,24 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper {
// Module: client.dll
public static class Buttons {
public const nint attack = 0x1875710;
public const nint attack2 = 0x18757A0;
public const nint back = 0x18759E0;
public const nint duck = 0x1875CB0;
public const nint forward = 0x1875950;
public const nint jump = 0x1875C20;
public const nint left = 0x1875A70;
public const nint lookatweapon = 0x1A9DF50;
public const nint reload = 0x1875680;
public const nint right = 0x1875B00;
public const nint showscores = 0x1A9DE30;
public const nint sprint = 0x18755F0;
public const nint turnleft = 0x1875830;
public const nint turnright = 0x18758C0;
public const nint use = 0x1875B90;
public const nint zoom = 0x1A9DEC0;
public const nint attack = 0x1882730;
public const nint attack2 = 0x18827C0;
public const nint back = 0x1882A00;
public const nint duck = 0x1882CD0;
public const nint forward = 0x1882970;
public const nint jump = 0x1882C40;
public const nint left = 0x1882A90;
public const nint lookatweapon = 0x1AAB5A0;
public const nint reload = 0x18826A0;
public const nint right = 0x1882B20;
public const nint showscores = 0x1AAB480;
public const nint sprint = 0x1882610;
public const nint turnleft = 0x1882850;
public const nint turnright = 0x18828E0;
public const nint use = 0x1882BB0;
public const nint zoom = 0x1AAB510;
}
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once
@ -8,21 +8,21 @@
namespace cs2_dumper {
// Module: client.dll
namespace buttons {
constexpr std::ptrdiff_t attack = 0x1875710;
constexpr std::ptrdiff_t attack2 = 0x18757A0;
constexpr std::ptrdiff_t back = 0x18759E0;
constexpr std::ptrdiff_t duck = 0x1875CB0;
constexpr std::ptrdiff_t forward = 0x1875950;
constexpr std::ptrdiff_t jump = 0x1875C20;
constexpr std::ptrdiff_t left = 0x1875A70;
constexpr std::ptrdiff_t lookatweapon = 0x1A9DF50;
constexpr std::ptrdiff_t reload = 0x1875680;
constexpr std::ptrdiff_t right = 0x1875B00;
constexpr std::ptrdiff_t showscores = 0x1A9DE30;
constexpr std::ptrdiff_t sprint = 0x18755F0;
constexpr std::ptrdiff_t turnleft = 0x1875830;
constexpr std::ptrdiff_t turnright = 0x18758C0;
constexpr std::ptrdiff_t use = 0x1875B90;
constexpr std::ptrdiff_t zoom = 0x1A9DEC0;
constexpr std::ptrdiff_t attack = 0x1882730;
constexpr std::ptrdiff_t attack2 = 0x18827C0;
constexpr std::ptrdiff_t back = 0x1882A00;
constexpr std::ptrdiff_t duck = 0x1882CD0;
constexpr std::ptrdiff_t forward = 0x1882970;
constexpr std::ptrdiff_t jump = 0x1882C40;
constexpr std::ptrdiff_t left = 0x1882A90;
constexpr std::ptrdiff_t lookatweapon = 0x1AAB5A0;
constexpr std::ptrdiff_t reload = 0x18826A0;
constexpr std::ptrdiff_t right = 0x1882B20;
constexpr std::ptrdiff_t showscores = 0x1AAB480;
constexpr std::ptrdiff_t sprint = 0x1882610;
constexpr std::ptrdiff_t turnleft = 0x1882850;
constexpr std::ptrdiff_t turnright = 0x18828E0;
constexpr std::ptrdiff_t use = 0x1882BB0;
constexpr std::ptrdiff_t zoom = 0x1AAB510;
}
}

View File

@ -1,20 +1,20 @@
{
"client.dll": {
"attack": 25646864,
"attack2": 25647008,
"back": 25647584,
"duck": 25648304,
"forward": 25647440,
"jump": 25648160,
"left": 25647728,
"lookatweapon": 27909968,
"reload": 25646720,
"right": 25647872,
"showscores": 27909680,
"sprint": 25646576,
"turnleft": 25647152,
"turnright": 25647296,
"use": 25648016,
"zoom": 27909824
"attack": 25700144,
"attack2": 25700288,
"back": 25700864,
"duck": 25701584,
"forward": 25700720,
"jump": 25701440,
"left": 25701008,
"lookatweapon": 27964832,
"reload": 25700000,
"right": 25701152,
"showscores": 27964544,
"sprint": 25699856,
"turnleft": 25700432,
"turnright": 25700576,
"use": 25701296,
"zoom": 27964688
}
}

View File

@ -1,26 +1,26 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, unused)]
pub mod cs2_dumper {
// Module: client.dll
pub mod buttons {
pub const attack: usize = 0x1875710;
pub const attack2: usize = 0x18757A0;
pub const back: usize = 0x18759E0;
pub const duck: usize = 0x1875CB0;
pub const forward: usize = 0x1875950;
pub const jump: usize = 0x1875C20;
pub const left: usize = 0x1875A70;
pub const lookatweapon: usize = 0x1A9DF50;
pub const reload: usize = 0x1875680;
pub const right: usize = 0x1875B00;
pub const showscores: usize = 0x1A9DE30;
pub const sprint: usize = 0x18755F0;
pub const turnleft: usize = 0x1875830;
pub const turnright: usize = 0x18758C0;
pub const r#use: usize = 0x1875B90;
pub const zoom: usize = 0x1A9DEC0;
pub const attack: usize = 0x1882730;
pub const attack2: usize = 0x18827C0;
pub const back: usize = 0x1882A00;
pub const duck: usize = 0x1882CD0;
pub const forward: usize = 0x1882970;
pub const jump: usize = 0x1882C40;
pub const left: usize = 0x1882A90;
pub const lookatweapon: usize = 0x1AAB5A0;
pub const reload: usize = 0x18826A0;
pub const right: usize = 0x1882B20;
pub const showscores: usize = 0x1AAB480;
pub const sprint: usize = 0x1882610;
pub const turnleft: usize = 0x1882850;
pub const turnright: usize = 0x18828E0;
pub const r#use: usize = 0x1882BB0;
pub const zoom: usize = 0x1AAB510;
}
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: client.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: engine2.dll
@ -16,7 +16,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum EntityIOTargetType_t : uint {
ENTITY_IO_TARGET_INVALID = 0xFFFFFFFFFFFFFFFF,
ENTITY_IO_TARGET_INVALID = unchecked((uint)-1),
ENTITY_IO_TARGET_ENTITYNAME = 0x2,
ENTITY_IO_TARGET_EHANDLE = 0x6,
ENTITY_IO_TARGET_ENTITYNAME_OR_CLASSNAME = 0x7

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: host.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,4 +1,4 @@
{
"build_number": 14064,
"timestamp": "2025-01-29T00:56:45.481338400+00:00"
"build_number": 14067,
"timestamp": "2025-02-07T03:30:27.112539300+00:00"
}

View File

@ -1,46 +1,46 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Interfaces {
// Module: animationsystem.dll
public static class AnimationsystemDll {
public const nint AnimationSystemUtils_001 = 0x60FE18;
public const nint AnimationSystem_001 = 0x607D40;
public const nint AnimationSystemUtils_001 = 0x60FE08;
public const nint AnimationSystem_001 = 0x607D30;
}
// Module: client.dll
public static class ClientDll {
public const nint ClientToolsInfo_001 = 0x1874D00;
public const nint EmptyWorldService001_Client = 0x1830000;
public const nint GameClientExports001 = 0x18719B8;
public const nint LegacyGameUI001 = 0x1892560;
public const nint Source2Client002 = 0x1A8D970;
public const nint Source2ClientConfig001 = 0x1A23F20;
public const nint Source2ClientPrediction001 = 0x187CD70;
public const nint Source2ClientUI001 = 0x1890930;
public const nint ClientToolsInfo_001 = 0x1881D20;
public const nint EmptyWorldService001_Client = 0x183D030;
public const nint GameClientExports001 = 0x187E9D8;
public const nint LegacyGameUI001 = 0x189F580;
public const nint Source2Client002 = 0x1A9AE30;
public const nint Source2ClientConfig001 = 0x1A315C0;
public const nint Source2ClientPrediction001 = 0x1889DB0;
public const nint Source2ClientUI001 = 0x189D950;
}
// Module: engine2.dll
public static class Engine2Dll {
public const nint BenchmarkService001 = 0x546D30;
public const nint BugService001 = 0x5DFD10;
public const nint BugService001 = 0x5DFCC0;
public const nint ClientServerEngineLoopService_001 = 0x547A50;
public const nint EngineGameUI001 = 0x544B90;
public const nint EngineServiceMgr001 = 0x620BA0;
public const nint GameEventSystemClientV001 = 0x620EC0;
public const nint GameEventSystemServerV001 = 0x621000;
public const nint EngineServiceMgr001 = 0x620B50;
public const nint GameEventSystemClientV001 = 0x620E70;
public const nint GameEventSystemServerV001 = 0x620FB0;
public const nint GameResourceServiceClientV001 = 0x546E30;
public const nint GameResourceServiceServerV001 = 0x546E90;
public const nint GameUIService_001 = 0x5E0010;
public const nint GameUIService_001 = 0x5DFFC0;
public const nint HostStateMgr001 = 0x547940;
public const nint INETSUPPORT_001 = 0x540060;
public const nint InputService_001 = 0x5E0320;
public const nint InputService_001 = 0x5E02D0;
public const nint KeyValueCache001 = 0x5479F0;
public const nint MapListService_001 = 0x61F320;
public const nint NetworkClientService_001 = 0x61F4B0;
public const nint MapListService_001 = 0x61F2D0;
public const nint NetworkClientService_001 = 0x61F460;
public const nint NetworkP2PService_001 = 0x547140;
public const nint NetworkServerService_001 = 0x61F840;
public const nint NetworkServerService_001 = 0x61F7F0;
public const nint NetworkService_001 = 0x547290;
public const nint RenderService_001 = 0x61FAA0;
public const nint ScreenshotService001 = 0x61FD40;
public const nint RenderService_001 = 0x61FA50;
public const nint ScreenshotService001 = 0x61FCF0;
public const nint SimpleEngineLoopService_001 = 0x547B60;
public const nint SoundService_001 = 0x5472D0;
public const nint Source2EngineToClient001 = 0x544210;
@ -48,7 +48,7 @@ namespace CS2Dumper.Interfaces {
public const nint Source2EngineToServer001 = 0x544308;
public const nint Source2EngineToServerStringTable001 = 0x544330;
public const nint SplitScreenService_001 = 0x5475B0;
public const nint StatsService_001 = 0x620170;
public const nint StatsService_001 = 0x620120;
public const nint ToolService_001 = 0x547770;
public const nint VENGINE_GAMEUIFUNCS_VERSION005 = 0x544C20;
public const nint VProfService_001 = 0x5477B0;
@ -112,7 +112,7 @@ namespace CS2Dumper.Interfaces {
}
// Module: panorama.dll
public static class PanoramaDll {
public const nint PanoramaUIEngine001 = 0x4E5260;
public const nint PanoramaUIEngine001 = 0x4E9250;
}
// Module: panorama_text_pango.dll
public static class PanoramaTextPangoDll {
@ -120,7 +120,7 @@ namespace CS2Dumper.Interfaces {
}
// Module: panoramauiclient.dll
public static class PanoramauiclientDll {
public const nint PanoramaUIClient001 = 0x28A850;
public const nint PanoramaUIClient001 = 0x28D840;
}
// Module: particles.dll
public static class ParticlesDll {
@ -157,16 +157,16 @@ namespace CS2Dumper.Interfaces {
}
// Module: server.dll
public static class ServerDll {
public const nint EmptyWorldService001_Server = 0x137DCF0;
public const nint EntitySubclassUtilsV001 = 0x132E3D0;
public const nint NavGameTest001 = 0x141DD48;
public const nint ServerToolsInfo_001 = 0x13D36A8;
public const nint Source2GameClients001 = 0x13CD570;
public const nint Source2GameDirector001 = 0x1501400;
public const nint Source2GameEntities001 = 0x13D35D0;
public const nint Source2Server001 = 0x13D3440;
public const nint Source2ServerConfig001 = 0x15CBD78;
public const nint customnavsystem001 = 0x1312B38;
public const nint EmptyWorldService001_Server = 0x137DD10;
public const nint EntitySubclassUtilsV001 = 0x132E3F0;
public const nint NavGameTest001 = 0x141DD68;
public const nint ServerToolsInfo_001 = 0x13D36C8;
public const nint Source2GameClients001 = 0x13CD590;
public const nint Source2GameDirector001 = 0x1501420;
public const nint Source2GameEntities001 = 0x13D35F0;
public const nint Source2Server001 = 0x13D3460;
public const nint Source2ServerConfig001 = 0x15CBD98;
public const nint customnavsystem001 = 0x1312B58;
}
// Module: soundsystem.dll
public static class SoundsystemDll {
@ -181,7 +181,7 @@ namespace CS2Dumper.Interfaces {
}
// Module: steamclient64.dll
public static class Steamclient64Dll {
public const nint CLIENTENGINE_INTERFACE_VERSION005 = 0xFFFFFFFF8BAF74EA;
public static readonly nint CLIENTENGINE_INTERFACE_VERSION005 = unchecked((nint)0xFFFFFFFF8BAF74EA);
public const nint IVALIDATE001 = 0x14A3108;
public const nint SteamClient006 = 0x14A0860;
public const nint SteamClient007 = 0x14A0868;

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once
@ -9,43 +9,43 @@ namespace cs2_dumper {
namespace interfaces {
// Module: animationsystem.dll
namespace animationsystem_dll {
constexpr std::ptrdiff_t AnimationSystemUtils_001 = 0x60FE18;
constexpr std::ptrdiff_t AnimationSystem_001 = 0x607D40;
constexpr std::ptrdiff_t AnimationSystemUtils_001 = 0x60FE08;
constexpr std::ptrdiff_t AnimationSystem_001 = 0x607D30;
}
// Module: client.dll
namespace client_dll {
constexpr std::ptrdiff_t ClientToolsInfo_001 = 0x1874D00;
constexpr std::ptrdiff_t EmptyWorldService001_Client = 0x1830000;
constexpr std::ptrdiff_t GameClientExports001 = 0x18719B8;
constexpr std::ptrdiff_t LegacyGameUI001 = 0x1892560;
constexpr std::ptrdiff_t Source2Client002 = 0x1A8D970;
constexpr std::ptrdiff_t Source2ClientConfig001 = 0x1A23F20;
constexpr std::ptrdiff_t Source2ClientPrediction001 = 0x187CD70;
constexpr std::ptrdiff_t Source2ClientUI001 = 0x1890930;
constexpr std::ptrdiff_t ClientToolsInfo_001 = 0x1881D20;
constexpr std::ptrdiff_t EmptyWorldService001_Client = 0x183D030;
constexpr std::ptrdiff_t GameClientExports001 = 0x187E9D8;
constexpr std::ptrdiff_t LegacyGameUI001 = 0x189F580;
constexpr std::ptrdiff_t Source2Client002 = 0x1A9AE30;
constexpr std::ptrdiff_t Source2ClientConfig001 = 0x1A315C0;
constexpr std::ptrdiff_t Source2ClientPrediction001 = 0x1889DB0;
constexpr std::ptrdiff_t Source2ClientUI001 = 0x189D950;
}
// Module: engine2.dll
namespace engine2_dll {
constexpr std::ptrdiff_t BenchmarkService001 = 0x546D30;
constexpr std::ptrdiff_t BugService001 = 0x5DFD10;
constexpr std::ptrdiff_t BugService001 = 0x5DFCC0;
constexpr std::ptrdiff_t ClientServerEngineLoopService_001 = 0x547A50;
constexpr std::ptrdiff_t EngineGameUI001 = 0x544B90;
constexpr std::ptrdiff_t EngineServiceMgr001 = 0x620BA0;
constexpr std::ptrdiff_t GameEventSystemClientV001 = 0x620EC0;
constexpr std::ptrdiff_t GameEventSystemServerV001 = 0x621000;
constexpr std::ptrdiff_t EngineServiceMgr001 = 0x620B50;
constexpr std::ptrdiff_t GameEventSystemClientV001 = 0x620E70;
constexpr std::ptrdiff_t GameEventSystemServerV001 = 0x620FB0;
constexpr std::ptrdiff_t GameResourceServiceClientV001 = 0x546E30;
constexpr std::ptrdiff_t GameResourceServiceServerV001 = 0x546E90;
constexpr std::ptrdiff_t GameUIService_001 = 0x5E0010;
constexpr std::ptrdiff_t GameUIService_001 = 0x5DFFC0;
constexpr std::ptrdiff_t HostStateMgr001 = 0x547940;
constexpr std::ptrdiff_t INETSUPPORT_001 = 0x540060;
constexpr std::ptrdiff_t InputService_001 = 0x5E0320;
constexpr std::ptrdiff_t InputService_001 = 0x5E02D0;
constexpr std::ptrdiff_t KeyValueCache001 = 0x5479F0;
constexpr std::ptrdiff_t MapListService_001 = 0x61F320;
constexpr std::ptrdiff_t NetworkClientService_001 = 0x61F4B0;
constexpr std::ptrdiff_t MapListService_001 = 0x61F2D0;
constexpr std::ptrdiff_t NetworkClientService_001 = 0x61F460;
constexpr std::ptrdiff_t NetworkP2PService_001 = 0x547140;
constexpr std::ptrdiff_t NetworkServerService_001 = 0x61F840;
constexpr std::ptrdiff_t NetworkServerService_001 = 0x61F7F0;
constexpr std::ptrdiff_t NetworkService_001 = 0x547290;
constexpr std::ptrdiff_t RenderService_001 = 0x61FAA0;
constexpr std::ptrdiff_t ScreenshotService001 = 0x61FD40;
constexpr std::ptrdiff_t RenderService_001 = 0x61FA50;
constexpr std::ptrdiff_t ScreenshotService001 = 0x61FCF0;
constexpr std::ptrdiff_t SimpleEngineLoopService_001 = 0x547B60;
constexpr std::ptrdiff_t SoundService_001 = 0x5472D0;
constexpr std::ptrdiff_t Source2EngineToClient001 = 0x544210;
@ -53,7 +53,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t Source2EngineToServer001 = 0x544308;
constexpr std::ptrdiff_t Source2EngineToServerStringTable001 = 0x544330;
constexpr std::ptrdiff_t SplitScreenService_001 = 0x5475B0;
constexpr std::ptrdiff_t StatsService_001 = 0x620170;
constexpr std::ptrdiff_t StatsService_001 = 0x620120;
constexpr std::ptrdiff_t ToolService_001 = 0x547770;
constexpr std::ptrdiff_t VENGINE_GAMEUIFUNCS_VERSION005 = 0x544C20;
constexpr std::ptrdiff_t VProfService_001 = 0x5477B0;
@ -117,7 +117,7 @@ namespace cs2_dumper {
}
// Module: panorama.dll
namespace panorama_dll {
constexpr std::ptrdiff_t PanoramaUIEngine001 = 0x4E5260;
constexpr std::ptrdiff_t PanoramaUIEngine001 = 0x4E9250;
}
// Module: panorama_text_pango.dll
namespace panorama_text_pango_dll {
@ -125,7 +125,7 @@ namespace cs2_dumper {
}
// Module: panoramauiclient.dll
namespace panoramauiclient_dll {
constexpr std::ptrdiff_t PanoramaUIClient001 = 0x28A850;
constexpr std::ptrdiff_t PanoramaUIClient001 = 0x28D840;
}
// Module: particles.dll
namespace particles_dll {
@ -162,16 +162,16 @@ namespace cs2_dumper {
}
// Module: server.dll
namespace server_dll {
constexpr std::ptrdiff_t EmptyWorldService001_Server = 0x137DCF0;
constexpr std::ptrdiff_t EntitySubclassUtilsV001 = 0x132E3D0;
constexpr std::ptrdiff_t NavGameTest001 = 0x141DD48;
constexpr std::ptrdiff_t ServerToolsInfo_001 = 0x13D36A8;
constexpr std::ptrdiff_t Source2GameClients001 = 0x13CD570;
constexpr std::ptrdiff_t Source2GameDirector001 = 0x1501400;
constexpr std::ptrdiff_t Source2GameEntities001 = 0x13D35D0;
constexpr std::ptrdiff_t Source2Server001 = 0x13D3440;
constexpr std::ptrdiff_t Source2ServerConfig001 = 0x15CBD78;
constexpr std::ptrdiff_t customnavsystem001 = 0x1312B38;
constexpr std::ptrdiff_t EmptyWorldService001_Server = 0x137DD10;
constexpr std::ptrdiff_t EntitySubclassUtilsV001 = 0x132E3F0;
constexpr std::ptrdiff_t NavGameTest001 = 0x141DD68;
constexpr std::ptrdiff_t ServerToolsInfo_001 = 0x13D36C8;
constexpr std::ptrdiff_t Source2GameClients001 = 0x13CD590;
constexpr std::ptrdiff_t Source2GameDirector001 = 0x1501420;
constexpr std::ptrdiff_t Source2GameEntities001 = 0x13D35F0;
constexpr std::ptrdiff_t Source2Server001 = 0x13D3460;
constexpr std::ptrdiff_t Source2ServerConfig001 = 0x15CBD98;
constexpr std::ptrdiff_t customnavsystem001 = 0x1312B58;
}
// Module: soundsystem.dll
namespace soundsystem_dll {

View File

@ -1,40 +1,40 @@
{
"animationsystem.dll": {
"AnimationSystemUtils_001": 6356504,
"AnimationSystem_001": 6323520
"AnimationSystemUtils_001": 6356488,
"AnimationSystem_001": 6323504
},
"client.dll": {
"ClientToolsInfo_001": 25644288,
"EmptyWorldService001_Client": 25362432,
"GameClientExports001": 25631160,
"LegacyGameUI001": 25765216,
"Source2Client002": 27842928,
"Source2ClientConfig001": 27410208,
"Source2ClientPrediction001": 25677168,
"Source2ClientUI001": 25758000
"ClientToolsInfo_001": 25697568,
"EmptyWorldService001_Client": 25415728,
"GameClientExports001": 25684440,
"LegacyGameUI001": 25818496,
"Source2Client002": 27897392,
"Source2ClientConfig001": 27465152,
"Source2ClientPrediction001": 25730480,
"Source2ClientUI001": 25811280
},
"engine2.dll": {
"BenchmarkService001": 5532976,
"BugService001": 6159632,
"BugService001": 6159552,
"ClientServerEngineLoopService_001": 5536336,
"EngineGameUI001": 5524368,
"EngineServiceMgr001": 6425504,
"GameEventSystemClientV001": 6426304,
"GameEventSystemServerV001": 6426624,
"EngineServiceMgr001": 6425424,
"GameEventSystemClientV001": 6426224,
"GameEventSystemServerV001": 6426544,
"GameResourceServiceClientV001": 5533232,
"GameResourceServiceServerV001": 5533328,
"GameUIService_001": 6160400,
"GameUIService_001": 6160320,
"HostStateMgr001": 5536064,
"INETSUPPORT_001": 5505120,
"InputService_001": 6161184,
"InputService_001": 6161104,
"KeyValueCache001": 5536240,
"MapListService_001": 6419232,
"NetworkClientService_001": 6419632,
"MapListService_001": 6419152,
"NetworkClientService_001": 6419552,
"NetworkP2PService_001": 5534016,
"NetworkServerService_001": 6420544,
"NetworkServerService_001": 6420464,
"NetworkService_001": 5534352,
"RenderService_001": 6421152,
"ScreenshotService001": 6421824,
"RenderService_001": 6421072,
"ScreenshotService001": 6421744,
"SimpleEngineLoopService_001": 5536608,
"SoundService_001": 5534416,
"Source2EngineToClient001": 5521936,
@ -42,7 +42,7 @@
"Source2EngineToServer001": 5522184,
"Source2EngineToServerStringTable001": 5522224,
"SplitScreenService_001": 5535152,
"StatsService_001": 6422896,
"StatsService_001": 6422816,
"ToolService_001": 5535600,
"VENGINE_GAMEUIFUNCS_VERSION005": 5524512,
"VProfService_001": 5535664
@ -95,13 +95,13 @@
"SerializedEntitiesVersion001": 2548720
},
"panorama.dll": {
"PanoramaUIEngine001": 5132896
"PanoramaUIEngine001": 5149264
},
"panorama_text_pango.dll": {
"PanoramaTextServices001": 2832608
},
"panoramauiclient.dll": {
"PanoramaUIClient001": 2664528
"PanoramaUIClient001": 2676800
},
"particles.dll": {
"ParticleSystemMgr003": 6462672
@ -130,16 +130,16 @@
"SchemaSystem_001": 399072
},
"server.dll": {
"EmptyWorldService001_Server": 20438256,
"EntitySubclassUtilsV001": 20112336,
"NavGameTest001": 21093704,
"ServerToolsInfo_001": 20788904,
"Source2GameClients001": 20764016,
"Source2GameDirector001": 22025216,
"Source2GameEntities001": 20788688,
"Source2Server001": 20788288,
"Source2ServerConfig001": 22855032,
"customnavsystem001": 19999544
"EmptyWorldService001_Server": 20438288,
"EntitySubclassUtilsV001": 20112368,
"NavGameTest001": 21093736,
"ServerToolsInfo_001": 20788936,
"Source2GameClients001": 20764048,
"Source2GameDirector001": 22025248,
"Source2GameEntities001": 20788720,
"Source2Server001": 20788320,
"Source2ServerConfig001": 22855064,
"customnavsystem001": 19999576
},
"soundsystem.dll": {
"SoundOpSystem001": 3796032,

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, unused)]
@ -7,43 +7,43 @@ pub mod cs2_dumper {
pub mod interfaces {
// Module: animationsystem.dll
pub mod animationsystem_dll {
pub const AnimationSystemUtils_001: usize = 0x60FE18;
pub const AnimationSystem_001: usize = 0x607D40;
pub const AnimationSystemUtils_001: usize = 0x60FE08;
pub const AnimationSystem_001: usize = 0x607D30;
}
// Module: client.dll
pub mod client_dll {
pub const ClientToolsInfo_001: usize = 0x1874D00;
pub const EmptyWorldService001_Client: usize = 0x1830000;
pub const GameClientExports001: usize = 0x18719B8;
pub const LegacyGameUI001: usize = 0x1892560;
pub const Source2Client002: usize = 0x1A8D970;
pub const Source2ClientConfig001: usize = 0x1A23F20;
pub const Source2ClientPrediction001: usize = 0x187CD70;
pub const Source2ClientUI001: usize = 0x1890930;
pub const ClientToolsInfo_001: usize = 0x1881D20;
pub const EmptyWorldService001_Client: usize = 0x183D030;
pub const GameClientExports001: usize = 0x187E9D8;
pub const LegacyGameUI001: usize = 0x189F580;
pub const Source2Client002: usize = 0x1A9AE30;
pub const Source2ClientConfig001: usize = 0x1A315C0;
pub const Source2ClientPrediction001: usize = 0x1889DB0;
pub const Source2ClientUI001: usize = 0x189D950;
}
// Module: engine2.dll
pub mod engine2_dll {
pub const BenchmarkService001: usize = 0x546D30;
pub const BugService001: usize = 0x5DFD10;
pub const BugService001: usize = 0x5DFCC0;
pub const ClientServerEngineLoopService_001: usize = 0x547A50;
pub const EngineGameUI001: usize = 0x544B90;
pub const EngineServiceMgr001: usize = 0x620BA0;
pub const GameEventSystemClientV001: usize = 0x620EC0;
pub const GameEventSystemServerV001: usize = 0x621000;
pub const EngineServiceMgr001: usize = 0x620B50;
pub const GameEventSystemClientV001: usize = 0x620E70;
pub const GameEventSystemServerV001: usize = 0x620FB0;
pub const GameResourceServiceClientV001: usize = 0x546E30;
pub const GameResourceServiceServerV001: usize = 0x546E90;
pub const GameUIService_001: usize = 0x5E0010;
pub const GameUIService_001: usize = 0x5DFFC0;
pub const HostStateMgr001: usize = 0x547940;
pub const INETSUPPORT_001: usize = 0x540060;
pub const InputService_001: usize = 0x5E0320;
pub const InputService_001: usize = 0x5E02D0;
pub const KeyValueCache001: usize = 0x5479F0;
pub const MapListService_001: usize = 0x61F320;
pub const NetworkClientService_001: usize = 0x61F4B0;
pub const MapListService_001: usize = 0x61F2D0;
pub const NetworkClientService_001: usize = 0x61F460;
pub const NetworkP2PService_001: usize = 0x547140;
pub const NetworkServerService_001: usize = 0x61F840;
pub const NetworkServerService_001: usize = 0x61F7F0;
pub const NetworkService_001: usize = 0x547290;
pub const RenderService_001: usize = 0x61FAA0;
pub const ScreenshotService001: usize = 0x61FD40;
pub const RenderService_001: usize = 0x61FA50;
pub const ScreenshotService001: usize = 0x61FCF0;
pub const SimpleEngineLoopService_001: usize = 0x547B60;
pub const SoundService_001: usize = 0x5472D0;
pub const Source2EngineToClient001: usize = 0x544210;
@ -51,7 +51,7 @@ pub mod cs2_dumper {
pub const Source2EngineToServer001: usize = 0x544308;
pub const Source2EngineToServerStringTable001: usize = 0x544330;
pub const SplitScreenService_001: usize = 0x5475B0;
pub const StatsService_001: usize = 0x620170;
pub const StatsService_001: usize = 0x620120;
pub const ToolService_001: usize = 0x547770;
pub const VENGINE_GAMEUIFUNCS_VERSION005: usize = 0x544C20;
pub const VProfService_001: usize = 0x5477B0;
@ -115,7 +115,7 @@ pub mod cs2_dumper {
}
// Module: panorama.dll
pub mod panorama_dll {
pub const PanoramaUIEngine001: usize = 0x4E5260;
pub const PanoramaUIEngine001: usize = 0x4E9250;
}
// Module: panorama_text_pango.dll
pub mod panorama_text_pango_dll {
@ -123,7 +123,7 @@ pub mod cs2_dumper {
}
// Module: panoramauiclient.dll
pub mod panoramauiclient_dll {
pub const PanoramaUIClient001: usize = 0x28A850;
pub const PanoramaUIClient001: usize = 0x28D840;
}
// Module: particles.dll
pub mod particles_dll {
@ -160,16 +160,16 @@ pub mod cs2_dumper {
}
// Module: server.dll
pub mod server_dll {
pub const EmptyWorldService001_Server: usize = 0x137DCF0;
pub const EntitySubclassUtilsV001: usize = 0x132E3D0;
pub const NavGameTest001: usize = 0x141DD48;
pub const ServerToolsInfo_001: usize = 0x13D36A8;
pub const Source2GameClients001: usize = 0x13CD570;
pub const Source2GameDirector001: usize = 0x1501400;
pub const Source2GameEntities001: usize = 0x13D35D0;
pub const Source2Server001: usize = 0x13D3440;
pub const Source2ServerConfig001: usize = 0x15CBD78;
pub const customnavsystem001: usize = 0x1312B38;
pub const EmptyWorldService001_Server: usize = 0x137DD10;
pub const EntitySubclassUtilsV001: usize = 0x132E3F0;
pub const NavGameTest001: usize = 0x141DD68;
pub const ServerToolsInfo_001: usize = 0x13D36C8;
pub const Source2GameClients001: usize = 0x13CD590;
pub const Source2GameDirector001: usize = 0x1501420;
pub const Source2GameEntities001: usize = 0x13D35F0;
pub const Source2Server001: usize = 0x13D3460;
pub const Source2ServerConfig001: usize = 0x15CBD98;
pub const customnavsystem001: usize = 0x1312B58;
}
// Module: soundsystem.dll
pub mod soundsystem_dll {

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: materialsystem2.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: networksystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,26 +1,26 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Offsets {
// Module: client.dll
public static class ClientDll {
public const nint dwCSGOInput = 0x1A9E030;
public const nint dwEntityList = 0x1A292F0;
public const nint dwGameEntitySystem = 0x1B4F1F8;
public const nint dwCSGOInput = 0x1AAB680;
public const nint dwEntityList = 0x1A359C0;
public const nint dwGameEntitySystem = 0x1B5C6D8;
public const nint dwGameEntitySystem_highestEntityIndex = 0x20F0;
public const nint dwGameRules = 0x1A8FBD8;
public const nint dwGlobalVars = 0x1870BA8;
public const nint dwGlowManager = 0x1A8F300;
public const nint dwLocalPlayerController = 0x1A79C58;
public const nint dwLocalPlayerPawn = 0x187CEF0;
public const nint dwPlantedC4 = 0x1A986D0;
public const nint dwPrediction = 0x187CD70;
public const nint dwSensitivity = 0x1A908F8;
public const nint dwGameRules = 0x1A9C800;
public const nint dwGlobalVars = 0x187DC90;
public const nint dwGlowManager = 0x1A9C820;
public const nint dwLocalPlayerController = 0x1A87040;
public const nint dwLocalPlayerPawn = 0x1889F30;
public const nint dwPlantedC4 = 0x1AA66E0;
public const nint dwPrediction = 0x1889DB0;
public const nint dwSensitivity = 0x1A9DF68;
public const nint dwSensitivity_sensitivity = 0x40;
public const nint dwViewAngles = 0x1A9E400;
public const nint dwViewMatrix = 0x1A942F0;
public const nint dwViewRender = 0x1A94AD8;
public const nint dwWeaponC4 = 0x1A2C420;
public const nint dwViewAngles = 0x1AABA50;
public const nint dwViewMatrix = 0x1AA17C0;
public const nint dwViewRender = 0x1AA1FD0;
public const nint dwWeaponC4 = 0x1A39C30;
}
// Module: engine2.dll
public static class Engine2Dll {
@ -33,8 +33,8 @@ namespace CS2Dumper.Offsets {
public const nint dwNetworkGameClient_maxClients = 0x238;
public const nint dwNetworkGameClient_serverTickCount = 0x36C;
public const nint dwNetworkGameClient_signOnState = 0x228;
public const nint dwWindowHeight = 0x62354C;
public const nint dwWindowWidth = 0x623548;
public const nint dwWindowHeight = 0x6234FC;
public const nint dwWindowWidth = 0x6234F8;
}
// Module: inputsystem.dll
public static class InputsystemDll {

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once
@ -9,23 +9,23 @@ namespace cs2_dumper {
namespace offsets {
// Module: client.dll
namespace client_dll {
constexpr std::ptrdiff_t dwCSGOInput = 0x1A9E030;
constexpr std::ptrdiff_t dwEntityList = 0x1A292F0;
constexpr std::ptrdiff_t dwGameEntitySystem = 0x1B4F1F8;
constexpr std::ptrdiff_t dwCSGOInput = 0x1AAB680;
constexpr std::ptrdiff_t dwEntityList = 0x1A359C0;
constexpr std::ptrdiff_t dwGameEntitySystem = 0x1B5C6D8;
constexpr std::ptrdiff_t dwGameEntitySystem_highestEntityIndex = 0x20F0;
constexpr std::ptrdiff_t dwGameRules = 0x1A8FBD8;
constexpr std::ptrdiff_t dwGlobalVars = 0x1870BA8;
constexpr std::ptrdiff_t dwGlowManager = 0x1A8F300;
constexpr std::ptrdiff_t dwLocalPlayerController = 0x1A79C58;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x187CEF0;
constexpr std::ptrdiff_t dwPlantedC4 = 0x1A986D0;
constexpr std::ptrdiff_t dwPrediction = 0x187CD70;
constexpr std::ptrdiff_t dwSensitivity = 0x1A908F8;
constexpr std::ptrdiff_t dwGameRules = 0x1A9C800;
constexpr std::ptrdiff_t dwGlobalVars = 0x187DC90;
constexpr std::ptrdiff_t dwGlowManager = 0x1A9C820;
constexpr std::ptrdiff_t dwLocalPlayerController = 0x1A87040;
constexpr std::ptrdiff_t dwLocalPlayerPawn = 0x1889F30;
constexpr std::ptrdiff_t dwPlantedC4 = 0x1AA66E0;
constexpr std::ptrdiff_t dwPrediction = 0x1889DB0;
constexpr std::ptrdiff_t dwSensitivity = 0x1A9DF68;
constexpr std::ptrdiff_t dwSensitivity_sensitivity = 0x40;
constexpr std::ptrdiff_t dwViewAngles = 0x1A9E400;
constexpr std::ptrdiff_t dwViewMatrix = 0x1A942F0;
constexpr std::ptrdiff_t dwViewRender = 0x1A94AD8;
constexpr std::ptrdiff_t dwWeaponC4 = 0x1A2C420;
constexpr std::ptrdiff_t dwViewAngles = 0x1AABA50;
constexpr std::ptrdiff_t dwViewMatrix = 0x1AA17C0;
constexpr std::ptrdiff_t dwViewRender = 0x1AA1FD0;
constexpr std::ptrdiff_t dwWeaponC4 = 0x1A39C30;
}
// Module: engine2.dll
namespace engine2_dll {
@ -38,8 +38,8 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t dwNetworkGameClient_maxClients = 0x238;
constexpr std::ptrdiff_t dwNetworkGameClient_serverTickCount = 0x36C;
constexpr std::ptrdiff_t dwNetworkGameClient_signOnState = 0x228;
constexpr std::ptrdiff_t dwWindowHeight = 0x62354C;
constexpr std::ptrdiff_t dwWindowWidth = 0x623548;
constexpr std::ptrdiff_t dwWindowHeight = 0x6234FC;
constexpr std::ptrdiff_t dwWindowWidth = 0x6234F8;
}
// Module: inputsystem.dll
namespace inputsystem_dll {

View File

@ -1,22 +1,22 @@
{
"client.dll": {
"dwCSGOInput": 27910192,
"dwEntityList": 27431664,
"dwGameEntitySystem": 28635640,
"dwCSGOInput": 27965056,
"dwEntityList": 27482560,
"dwGameEntitySystem": 28690136,
"dwGameEntitySystem_highestEntityIndex": 8432,
"dwGameRules": 27851736,
"dwGlobalVars": 25627560,
"dwGlowManager": 27849472,
"dwLocalPlayerController": 27761752,
"dwLocalPlayerPawn": 25677552,
"dwPlantedC4": 27887312,
"dwPrediction": 25677168,
"dwSensitivity": 27855096,
"dwGameRules": 27904000,
"dwGlobalVars": 25681040,
"dwGlowManager": 27904032,
"dwLocalPlayerController": 27816000,
"dwLocalPlayerPawn": 25730864,
"dwPlantedC4": 27944672,
"dwPrediction": 25730480,
"dwSensitivity": 27909992,
"dwSensitivity_sensitivity": 64,
"dwViewAngles": 27911168,
"dwViewMatrix": 27869936,
"dwViewRender": 27871960,
"dwWeaponC4": 27444256
"dwViewAngles": 27966032,
"dwViewMatrix": 27924416,
"dwViewRender": 27926480,
"dwWeaponC4": 27499568
},
"engine2.dll": {
"dwBuildNumber": 5508068,
@ -28,8 +28,8 @@
"dwNetworkGameClient_maxClients": 568,
"dwNetworkGameClient_serverTickCount": 876,
"dwNetworkGameClient_signOnState": 552,
"dwWindowHeight": 6436172,
"dwWindowWidth": 6436168
"dwWindowHeight": 6436092,
"dwWindowWidth": 6436088
},
"inputsystem.dll": {
"dwInputSystem": 231392

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, unused)]
@ -7,23 +7,23 @@ pub mod cs2_dumper {
pub mod offsets {
// Module: client.dll
pub mod client_dll {
pub const dwCSGOInput: usize = 0x1A9E030;
pub const dwEntityList: usize = 0x1A292F0;
pub const dwGameEntitySystem: usize = 0x1B4F1F8;
pub const dwCSGOInput: usize = 0x1AAB680;
pub const dwEntityList: usize = 0x1A359C0;
pub const dwGameEntitySystem: usize = 0x1B5C6D8;
pub const dwGameEntitySystem_highestEntityIndex: usize = 0x20F0;
pub const dwGameRules: usize = 0x1A8FBD8;
pub const dwGlobalVars: usize = 0x1870BA8;
pub const dwGlowManager: usize = 0x1A8F300;
pub const dwLocalPlayerController: usize = 0x1A79C58;
pub const dwLocalPlayerPawn: usize = 0x187CEF0;
pub const dwPlantedC4: usize = 0x1A986D0;
pub const dwPrediction: usize = 0x187CD70;
pub const dwSensitivity: usize = 0x1A908F8;
pub const dwGameRules: usize = 0x1A9C800;
pub const dwGlobalVars: usize = 0x187DC90;
pub const dwGlowManager: usize = 0x1A9C820;
pub const dwLocalPlayerController: usize = 0x1A87040;
pub const dwLocalPlayerPawn: usize = 0x1889F30;
pub const dwPlantedC4: usize = 0x1AA66E0;
pub const dwPrediction: usize = 0x1889DB0;
pub const dwSensitivity: usize = 0x1A9DF68;
pub const dwSensitivity_sensitivity: usize = 0x40;
pub const dwViewAngles: usize = 0x1A9E400;
pub const dwViewMatrix: usize = 0x1A942F0;
pub const dwViewRender: usize = 0x1A94AD8;
pub const dwWeaponC4: usize = 0x1A2C420;
pub const dwViewAngles: usize = 0x1AABA50;
pub const dwViewMatrix: usize = 0x1AA17C0;
pub const dwViewRender: usize = 0x1AA1FD0;
pub const dwWeaponC4: usize = 0x1A39C30;
}
// Module: engine2.dll
pub mod engine2_dll {
@ -36,8 +36,8 @@ pub mod cs2_dumper {
pub const dwNetworkGameClient_maxClients: usize = 0x238;
pub const dwNetworkGameClient_serverTickCount: usize = 0x36C;
pub const dwNetworkGameClient_signOnState: usize = 0x228;
pub const dwWindowHeight: usize = 0x62354C;
pub const dwWindowWidth: usize = 0x623548;
pub const dwWindowHeight: usize = 0x6234FC;
pub const dwWindowWidth: usize = 0x6234F8;
}
// Module: inputsystem.dll
pub mod inputsystem_dll {

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: panorama.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: particles.dll
@ -19,7 +19,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 7
public enum Detail2Combo_t : uint {
DETAIL_2_COMBO_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
DETAIL_2_COMBO_UNINITIALIZED = unchecked((uint)-1),
DETAIL_2_COMBO_OFF = 0x0,
DETAIL_2_COMBO_ADD = 0x1,
DETAIL_2_COMBO_ADD_SELF_ILLUM = 0x2,
@ -30,7 +30,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum MissingParentInheritBehavior_t : uint {
MISSING_PARENT_DO_NOTHING = 0xFFFFFFFFFFFFFFFF,
MISSING_PARENT_DO_NOTHING = unchecked((uint)-1),
MISSING_PARENT_KILL = 0x0,
MISSING_PARENT_FIND_NEW = 0x1,
MISSING_PARENT_SAME_INDEX = 0x2
@ -38,7 +38,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 5
public enum ParticleFloatBiasType_t : uint {
PF_BIAS_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_BIAS_TYPE_INVALID = unchecked((uint)-1),
PF_BIAS_TYPE_STANDARD = 0x0,
PF_BIAS_TYPE_GAIN = 0x1,
PF_BIAS_TYPE_EXPONENTIAL = 0x2,
@ -93,7 +93,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 24
public enum ParticleFloatType_t : uint {
PF_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_TYPE_INVALID = unchecked((uint)-1),
PF_TYPE_LITERAL = 0x0,
PF_TYPE_NAMED_VALUE = 0x1,
PF_TYPE_RANDOM_UNIFORM = 0x2,
@ -175,7 +175,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 9
public enum ScalarExpressionType_t : uint {
SCALAR_EXPRESSION_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
SCALAR_EXPRESSION_UNINITIALIZED = unchecked((uint)-1),
SCALAR_EXPRESSION_ADD = 0x0,
SCALAR_EXPRESSION_SUBTRACT = 0x1,
SCALAR_EXPRESSION_MUL = 0x2,
@ -236,12 +236,12 @@ namespace CS2Dumper.Schemas {
public enum ParticleLightingQuality_t : uint {
PARTICLE_LIGHTING_PER_PARTICLE = 0x0,
PARTICLE_LIGHTING_PER_VERTEX = 0x1,
PARTICLE_LIGHTING_PER_PIXEL = 0xFFFFFFFFFFFFFFFF
PARTICLE_LIGHTING_PER_PIXEL = unchecked((uint)-1)
}
// Alignment: 4
// Member count: 5
public enum ParticleFloatRoundType_t : uint {
PF_ROUND_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_ROUND_TYPE_INVALID = unchecked((uint)-1),
PF_ROUND_TYPE_NEAREST = 0x0,
PF_ROUND_TYPE_FLOOR = 0x1,
PF_ROUND_TYPE_CEIL = 0x2,
@ -302,7 +302,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 12
public enum ParticlePinDistance_t : uint {
PARTICLE_PIN_DISTANCE_NONE = 0xFFFFFFFFFFFFFFFF,
PARTICLE_PIN_DISTANCE_NONE = unchecked((uint)-1),
PARTICLE_PIN_DISTANCE_NEIGHBOR = 0x0,
PARTICLE_PIN_DISTANCE_FARTHEST = 0x1,
PARTICLE_PIN_DISTANCE_FIRST = 0x2,
@ -318,7 +318,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 7
public enum VectorFloatExpressionType_t : uint {
VECTOR_FLOAT_EXPRESSION_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
VECTOR_FLOAT_EXPRESSION_UNINITIALIZED = unchecked((uint)-1),
VECTOR_FLOAT_EXPRESSION_DOTPRODUCT = 0x0,
VECTOR_FLOAT_EXPRESSION_DISTANCE = 0x1,
VECTOR_FLOAT_EXPRESSION_DISTANCESQR = 0x2,
@ -336,7 +336,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 9
public enum VectorExpressionType_t : uint {
VECTOR_EXPRESSION_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
VECTOR_EXPRESSION_UNINITIALIZED = unchecked((uint)-1),
VECTOR_EXPRESSION_ADD = 0x0,
VECTOR_EXPRESSION_SUBTRACT = 0x1,
VECTOR_EXPRESSION_MUL = 0x2,
@ -399,7 +399,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 9
public enum ParticleFloatMapType_t : uint {
PF_MAP_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_MAP_TYPE_INVALID = unchecked((uint)-1),
PF_MAP_TYPE_DIRECT = 0x0,
PF_MAP_TYPE_MULT = 0x1,
PF_MAP_TYPE_REMAP = 0x2,
@ -438,7 +438,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum ParticleFloatInputMode_t : uint {
PF_INPUT_MODE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_INPUT_MODE_INVALID = unchecked((uint)-1),
PF_INPUT_MODE_CLAMPED = 0x0,
PF_INPUT_MODE_LOOPED = 0x1,
PF_INPUT_MODE_COUNT = 0x2
@ -482,7 +482,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum ParticleFloatRandomMode_t : uint {
PF_RANDOM_MODE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_RANDOM_MODE_INVALID = unchecked((uint)-1),
PF_RANDOM_MODE_CONSTANT = 0x0,
PF_RANDOM_MODE_VARYING = 0x1,
PF_RANDOM_MODE_COUNT = 0x2
@ -498,7 +498,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 19
public enum ParticleVecType_t : uint {
PVEC_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PVEC_TYPE_INVALID = unchecked((uint)-1),
PVEC_TYPE_LITERAL = 0x0,
PVEC_TYPE_LITERAL_COLOR = 0x1,
PVEC_TYPE_NAMED_VALUE = 0x2,
@ -534,7 +534,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 3
public enum ParticleSequenceCropOverride_t : uint {
PARTICLE_SEQUENCE_CROP_OVERRIDE_DEFAULT = 0xFFFFFFFFFFFFFFFF,
PARTICLE_SEQUENCE_CROP_OVERRIDE_DEFAULT = unchecked((uint)-1),
PARTICLE_SEQUENCE_CROP_OVERRIDE_FORCE_OFF = 0x0,
PARTICLE_SEQUENCE_CROP_OVERRIDE_FORCE_ON = 0x1
}
@ -634,7 +634,7 @@ namespace CS2Dumper.Schemas {
COLLISION_MODE_USE_NEAREST_TRACE = 0x2,
COLLISION_MODE_PER_FRAME_PLANESET = 0x1,
COLLISION_MODE_INITIAL_TRACE_DOWN = 0x0,
COLLISION_MODE_DISABLED = 0xFFFFFFFFFFFFFFFF
COLLISION_MODE_DISABLED = unchecked((uint)-1)
}
// Alignment: 4
// Member count: 2
@ -645,7 +645,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 3
public enum ParticleEndcapMode_t : uint {
PARTICLE_ENDCAP_ALWAYS_ON = 0xFFFFFFFFFFFFFFFF,
PARTICLE_ENDCAP_ALWAYS_ON = unchecked((uint)-1),
PARTICLE_ENDCAP_ENDCAP_OFF = 0x0,
PARTICLE_ENDCAP_ENDCAP_ON = 0x1
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: pulse_system.dll
@ -40,7 +40,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 21
public enum PulseValueType_t : uint {
PVAL_INVALID = 0xFFFFFFFFFFFFFFFF,
PVAL_INVALID = unchecked((uint)-1),
PVAL_BOOL = 0x0,
PVAL_INT = 0x1,
PVAL_FLOAT = 0x2,
@ -161,7 +161,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum PulseDomainValueType_t : uint {
INVALID = 0xFFFFFFFFFFFFFFFF,
INVALID = unchecked((uint)-1),
ENTITY_NAME = 0x0,
PANEL_ID = 0x1,
COUNT = 0x2

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: rendersystemdx11.dll
@ -43,7 +43,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 1
// Member count: 8
public enum RenderMultisampleType_t : byte {
RENDER_MULTISAMPLE_INVALID = 0xFFFFFFFFFFFFFFFF,
RENDER_MULTISAMPLE_INVALID = unchecked((byte)-1),
RENDER_MULTISAMPLE_NONE = 0x0,
RENDER_MULTISAMPLE_2X = 0x1,
RENDER_MULTISAMPLE_4X = 0x2,
@ -63,7 +63,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 3
public enum RenderSlotType_t : uint {
RENDER_SLOT_INVALID = 0xFFFFFFFFFFFFFFFF,
RENDER_SLOT_INVALID = unchecked((uint)-1),
RENDER_SLOT_PER_VERTEX = 0x0,
RENDER_SLOT_PER_INSTANCE = 0x1
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: resourcesystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: scenesystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: schemasystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: server.dll
@ -52,7 +52,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 5
public enum StanceType_t : uint {
STANCE_CURRENT = 0xFFFFFFFFFFFFFFFF,
STANCE_CURRENT = unchecked((uint)-1),
STANCE_DEFAULT = 0x0,
STANCE_CROUCHING = 0x1,
STANCE_PRONE = 0x2,
@ -225,7 +225,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 5
public enum NPCFollowFormation_t : uint {
Default = 0xFFFFFFFFFFFFFFFF,
Default = unchecked((uint)-1),
CloseCircle = 0x0,
WideCircle = 0x1,
MediumCircle = 0x5,
@ -264,7 +264,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 9
public enum BloodType : uint {
None = 0xFFFFFFFFFFFFFFFF,
None = unchecked((uint)-1),
ColorRed = 0x0,
ColorYellow = 0x1,
ColorGreen = 0x2,
@ -295,7 +295,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 5
public enum AnimLoopMode_t : uint {
ANIM_LOOP_MODE_INVALID = 0xFFFFFFFFFFFFFFFF,
ANIM_LOOP_MODE_INVALID = unchecked((uint)-1),
ANIM_LOOP_MODE_NOT_LOOPING = 0x0,
ANIM_LOOP_MODE_LOOPING = 0x1,
ANIM_LOOP_MODE_USE_SEQUENCE_SETTINGS = 0x2,
@ -566,8 +566,8 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 74
public enum loadout_slot_t : uint {
LOADOUT_SLOT_PROMOTED = 0xFFFFFFFFFFFFFFFE,
LOADOUT_SLOT_INVALID = 0xFFFFFFFFFFFFFFFF,
LOADOUT_SLOT_PROMOTED = unchecked((uint)-2),
LOADOUT_SLOT_INVALID = unchecked((uint)-1),
LOADOUT_SLOT_MELEE = 0x0,
LOADOUT_SLOT_C4 = 0x1,
LOADOUT_SLOT_FIRST_AUTO_BUY_WEAPON = 0x0,
@ -736,7 +736,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum WeaponAttackType_t : uint {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = unchecked((uint)-1),
ePrimary = 0x0,
eSecondary = 0x1,
eCount = 0x2
@ -790,7 +790,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum ScriptedOnDeath_t : uint {
SS_ONDEATH_NOT_APPLICABLE = 0xFFFFFFFFFFFFFFFF,
SS_ONDEATH_NOT_APPLICABLE = unchecked((uint)-1),
SS_ONDEATH_UNDEFINED = 0x0,
SS_ONDEATH_RAGDOLL = 0x1,
SS_ONDEATH_ANIMATED_DEATH = 0x2
@ -798,7 +798,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum ChoreoLookAtSpeed_t : uint {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = unchecked((uint)-1),
eSlow = 0x0,
eMedium = 0x1,
eFast = 0x2
@ -814,7 +814,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 17
public enum gear_slot_t : uint {
GEAR_SLOT_INVALID = 0xFFFFFFFFFFFFFFFF,
GEAR_SLOT_INVALID = unchecked((uint)-1),
GEAR_SLOT_RIFLE = 0x0,
GEAR_SLOT_PISTOL = 0x1,
GEAR_SLOT_KNIFE = 0x2,
@ -873,7 +873,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum AmmoPosition_t : uint {
AMMO_POSITION_INVALID = 0xFFFFFFFFFFFFFFFF,
AMMO_POSITION_INVALID = unchecked((uint)-1),
AMMO_POSITION_PRIMARY = 0x0,
AMMO_POSITION_SECONDARY = 0x1,
AMMO_POSITION_COUNT = 0x2
@ -890,7 +890,7 @@ namespace CS2Dumper.Schemas {
AI_TASK = 0x6,
AI_EVENT = 0x7,
END_SIM_HISTORY_TYPES = 0x8,
COMBINED = 0xFFFFFFFFFFFFFFFF
COMBINED = unchecked((uint)-1)
}
// Alignment: 4
// Member count: 23
@ -922,7 +922,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 5
public enum EntityDisolveType_t : uint {
ENTITY_DISSOLVE_INVALID = 0xFFFFFFFFFFFFFFFF,
ENTITY_DISSOLVE_INVALID = unchecked((uint)-1),
ENTITY_DISSOLVE_NORMAL = 0x0,
ENTITY_DISSOLVE_ELECTRICAL = 0x1,
ENTITY_DISSOLVE_ELECTRICAL_LIGHT = 0x2,
@ -932,7 +932,7 @@ namespace CS2Dumper.Schemas {
// Member count: 21
public enum InputBitMask_t : ulong {
IN_NONE = 0x0,
IN_ALL = 0xFFFFFFFFFFFFFFFF,
IN_ALL = unchecked((ulong)-1),
IN_ATTACK = 0x1,
IN_JUMP = 0x2,
IN_DUCK = 0x4,
@ -947,16 +947,16 @@ namespace CS2Dumper.Schemas {
IN_RELOAD = 0x2000,
IN_SPEED = 0x10000,
IN_JOYAUTOSPRINT = 0x20000,
IN_FIRST_MOD_SPECIFIC_BIT = 0x100000000,
IN_USEORRELOAD = 0x100000000,
IN_SCORE = 0x200000000,
IN_ZOOM = 0x400000000,
IN_LOOK_AT_WEAPON = 0x800000000
IN_FIRST_MOD_SPECIFIC_BIT = unchecked((ulong)4294967296),
IN_USEORRELOAD = unchecked((ulong)4294967296),
IN_SCORE = unchecked((ulong)8589934592),
IN_ZOOM = unchecked((ulong)17179869184),
IN_LOOK_AT_WEAPON = unchecked((ulong)34359738368)
}
// Alignment: 4
// Member count: 14
public enum HitGroup_t : uint {
HITGROUP_INVALID = 0xFFFFFFFFFFFFFFFF,
HITGROUP_INVALID = unchecked((uint)-1),
HITGROUP_GENERIC = 0x0,
HITGROUP_HEAD = 0x1,
HITGROUP_CHEST = 0x2,
@ -1023,16 +1023,16 @@ namespace CS2Dumper.Schemas {
OVERLAY_NPC_KILL_BIT = 0x10000000,
OVERLAY_WC_CHANGE_ENTITY = 0x20000000,
OVERLAY_BUDDHA_MODE = 0x40000000,
OVERLAY_NPC_STEERING_REGULATIONS = 0x80000000,
OVERLAY_NPC_TASK_TEXT_BIT = 0x100000000,
OVERLAY_PROP_DEBUG = 0x200000000,
OVERLAY_NPC_RELATION_BIT = 0x400000000,
OVERLAY_VIEWOFFSET = 0x800000000,
OVERLAY_VCOLLIDE_WIREFRAME_BIT = 0x1000000000,
OVERLAY_NPC_SCRIPTED_COMMANDS_BIT = 0x2000000000,
OVERLAY_ACTORNAME_BIT = 0x4000000000,
OVERLAY_NPC_CONDITIONS_TEXT_BIT = 0x8000000000,
OVERLAY_NPC_ABILITY_RANGE_DEBUG_BIT = 0x10000000000
OVERLAY_NPC_STEERING_REGULATIONS = unchecked((ulong)2147483648),
OVERLAY_NPC_TASK_TEXT_BIT = unchecked((ulong)4294967296),
OVERLAY_PROP_DEBUG = unchecked((ulong)8589934592),
OVERLAY_NPC_RELATION_BIT = unchecked((ulong)17179869184),
OVERLAY_VIEWOFFSET = unchecked((ulong)34359738368),
OVERLAY_VCOLLIDE_WIREFRAME_BIT = unchecked((ulong)68719476736),
OVERLAY_NPC_SCRIPTED_COMMANDS_BIT = unchecked((ulong)137438953472),
OVERLAY_ACTORNAME_BIT = unchecked((ulong)274877906944),
OVERLAY_NPC_CONDITIONS_TEXT_BIT = unchecked((ulong)549755813888),
OVERLAY_NPC_ABILITY_RANGE_DEBUG_BIT = unchecked((ulong)1099511627776)
}
// Alignment: 4
// Member count: 3
@ -1072,7 +1072,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum EntitySubclassScope_t : uint {
SUBCLASS_SCOPE_NONE = 0xFFFFFFFFFFFFFFFF,
SUBCLASS_SCOPE_NONE = unchecked((uint)-1),
SUBCLASS_SCOPE_PRECIPITATION = 0x0,
SUBCLASS_SCOPE_PLAYER_WEAPONS = 0x1,
SUBCLASS_SCOPE_COUNT = 0x2
@ -1208,7 +1208,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 27
public enum RumbleEffect_t : uint {
RUMBLE_INVALID = 0xFFFFFFFFFFFFFFFF,
RUMBLE_INVALID = unchecked((uint)-1),
RUMBLE_STOP_ALL = 0x0,
RUMBLE_PISTOL = 0x1,
RUMBLE_357 = 0x2,
@ -1258,7 +1258,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum ChoreoLookAtMode_t : uint {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = unchecked((uint)-1),
eChest = 0x0,
eHead = 0x1,
eEyesOnly = 0x2
@ -1273,7 +1273,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 7
public enum PlayerConnectedState : uint {
PlayerNeverConnected = 0xFFFFFFFFFFFFFFFF,
PlayerNeverConnected = unchecked((uint)-1),
PlayerConnected = 0x0,
PlayerConnecting = 0x1,
PlayerReconnecting = 0x2,
@ -1467,7 +1467,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 4
// Member count: 4
public enum ScriptedHeldWeaponBehavior_t : uint {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = unchecked((uint)-1),
eHolster = 0x0,
eDeploy = 0x1,
eDrop = 0x2

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: soundsystem.dll
@ -33,7 +33,7 @@ namespace CS2Dumper.Schemas {
// Alignment: 2
// Member count: 10
public enum VMixFilterType_t : ushort {
FILTER_UNKNOWN = 0xFFFFFFFFFFFFFFFF,
FILTER_UNKNOWN = unchecked((ushort)-1),
FILTER_LOWPASS = 0x0,
FILTER_HIGHPASS = 0x1,
FILTER_BANDPASS = 0x2,

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: vphysics2.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
namespace CS2Dumper.Schemas {
// Module: worldrenderer.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2025-01-29 00:56:45.481338400 UTC
// 2025-02-07 03:30:27.112539300 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -16,7 +16,11 @@ impl CodeWriter for InterfaceMap {
false,
|fmt| {
for (name, value) in ifaces {
writeln!(fmt, "public const nint {} = {:#X};", name, value)?;
if *value > i32::MAX as u64 {
writeln!(fmt, "public static readonly nint {} = unchecked((nint){:#X});", name, value)?;
} else {
writeln!(fmt, "public const nint {} = {:#X};", name, value)?;
};
}
Ok(())

View File

@ -41,7 +41,12 @@ impl CodeWriter for SchemaMap {
.members
.iter()
.map(|member| {
format!("{} = {:#X}", member.name, member.value)
let hex = if member.value < 0 || member.value > i32::MAX as i64 {
format!("unchecked(({}){})", type_name, member.value)
} else {
format!("{:#X}", member.value)
};
format!("{} = {}", member.name, hex)
})
.collect::<Vec<_>>()
.join(",\n");