Output RVA instead of absolute offset for some fields

This commit is contained in:
a2x
2024-06-29 09:59:06 +10:00
parent f3eef1fa5d
commit e6fde4904c
5 changed files with 34 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-06-27 14:27:03.514757 UTC
// 2024-06-28 23:53:41.889494600 UTC
#![allow(non_upper_case_globals, unused)]
@@ -28,7 +28,6 @@ pub mod cs2_dumper {
// Module: engine2.dll
pub mod engine2_dll {
pub const dwBuildNumber: usize = 0x52F834;
pub const dwEngineViewData: usize = 0x5ECC0C;
pub const dwNetworkGameClient: usize = 0x52EBA0;
pub const dwNetworkGameClient_clientTickCount: usize = 0x178;
pub const dwNetworkGameClient_deltaTick: usize = 0x278;
@@ -37,7 +36,6 @@ pub mod cs2_dumper {
pub const dwNetworkGameClient_maxClients: usize = 0x270;
pub const dwNetworkGameClient_serverTickCount: usize = 0x174;
pub const dwNetworkGameClient_signOnState: usize = 0x260;
pub const dwSoundService: usize = 0x5ECB70;
pub const dwWindowHeight: usize = 0x5F0424;
pub const dwWindowWidth: usize = 0x5F0420;
}
@@ -48,7 +46,12 @@ pub mod cs2_dumper {
// Module: matchmaking.dll
pub mod matchmaking_dll {
pub const dwGameTypes: usize = 0x1A41C0;
pub const dwGameTypes_mapName: usize = 0x1A42E0;
pub const dwGameTypes_mapName: usize = 0x120;
}
// Module: soundsystem.dll
pub mod soundsystem_dll {
pub const dwSoundSystem: usize = 0x334E40;
pub const dwSoundSystem_engineViewData: usize = 0x7C;
}
}
}