Avoid generating files for empty modules

This commit is contained in:
a2x 2024-04-07 18:23:52 +10:00
parent 9f37324266
commit 4944a3a630
72 changed files with 136 additions and 209 deletions

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: animationsystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper {
// Module: client.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: client.dll
@ -732,7 +732,7 @@ namespace CS2Dumper.Schemas {
public const nint m_flOldPlayerZ = 0x138; // float32
public const nint m_flOldPlayerViewOffsetZ = 0x13C; // float32
public const nint m_CurrentFog = 0x140; // fogparams_t
public const nint m_hOldFogController = 0x1A8; // CHandle<C_FogController>
public const nint m_hOldFogController = 0x1A8; //
public const nint m_bOverrideFogColor = 0x1AC; // bool[5]
public const nint m_OverrideFogColor = 0x1B1; // Color[5]
public const nint m_bOverrideFogStartEnd = 0x1C5; // bool[5]
@ -910,8 +910,8 @@ namespace CS2Dumper.Schemas {
// NetworkVarNames: m_hostageRescueZ (int)
// NetworkVarNames: m_bEndMatchNextMapAllVoted (bool)
public static class C_CSPlayerResource {
public const nint m_bHostageAlive = 0x550; // bool[12]
public const nint m_isHostageFollowingSomeone = 0x55C; // bool[12]
public const nint m_bHostageAlive = 0x550; //
public const nint m_isHostageFollowingSomeone = 0x55C; //
public const nint m_iHostageEntityIDs = 0x568; // CEntityIndex[12]
public const nint m_bombsiteCenterA = 0x598; //
public const nint m_bombsiteCenterB = 0x5A4; //
@ -1936,7 +1936,7 @@ namespace CS2Dumper.Schemas {
// Metadata:
// NetworkVarNames: m_hCtrl (CHandle<CFogController>)
public static class C_fogplayerparams_t {
public const nint m_hCtrl = 0x8; // CHandle<C_FogController>
public const nint m_hCtrl = 0x8; //
public const nint m_flTransitionTime = 0xC; // float32
public const nint m_OldColor = 0x10; // Color
public const nint m_flOldStart = 0x14; // float32
@ -4245,8 +4245,8 @@ namespace CS2Dumper.Schemas {
// NetworkVarNames: m_iAmmo (uint16)
public static class CPlayer_WeaponServices {
public const nint m_hMyWeapons = 0x40; // C_NetworkUtlVectorBase<CHandle<C_BasePlayerWeapon>>
public const nint m_hActiveWeapon = 0x58; //
public const nint m_hLastWeapon = 0x5C; //
public const nint m_hActiveWeapon = 0x58; // CHandle<C_BasePlayerWeapon>
public const nint m_hLastWeapon = 0x5C; // CHandle<C_BasePlayerWeapon>
public const nint m_iAmmo = 0x60; // uint16[32]
}
// Parent: None
@ -4526,7 +4526,7 @@ namespace CS2Dumper.Schemas {
// NetworkVarNames: m_weaponPurchasesThisMatch (WeaponPurchaseTracker_t)
// NetworkVarNames: m_weaponPurchasesThisRound (WeaponPurchaseTracker_t)
public static class CCSPlayer_ActionTrackingServices {
public const nint m_hLastWeaponBeforeC4AutoSwitch = 0x40; //
public const nint m_hLastWeaponBeforeC4AutoSwitch = 0x40; // CHandle<C_BasePlayerWeapon>
public const nint m_bIsRescuing = 0x44; // bool
public const nint m_weaponPurchasesThisMatch = 0x48; // WeaponPurchaseTracker_t
public const nint m_weaponPurchasesThisRound = 0xA0; // WeaponPurchaseTracker_t
@ -6302,7 +6302,7 @@ namespace CS2Dumper.Schemas {
public const nint m_nViewModelIndex = 0xEEC; // uint32
public const nint m_nAnimationParity = 0xEF0; // uint32
public const nint m_flAnimationStartTime = 0xEF4; // float32
public const nint m_hWeapon = 0xEF8; //
public const nint m_hWeapon = 0xEF8; // CHandle<C_BasePlayerWeapon>
public const nint m_sVMName = 0xF00; // CUtlSymbolLarge
public const nint m_sAnimationPrefix = 0xF08; // CUtlSymbolLarge
public const nint m_hWeaponModel = 0xF10; // CHandle<C_ViewmodelWeapon>

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once
@ -737,7 +737,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_flOldPlayerZ = 0x138; // float32
constexpr std::ptrdiff_t m_flOldPlayerViewOffsetZ = 0x13C; // float32
constexpr std::ptrdiff_t m_CurrentFog = 0x140; // fogparams_t
constexpr std::ptrdiff_t m_hOldFogController = 0x1A8; // CHandle<C_FogController>
constexpr std::ptrdiff_t m_hOldFogController = 0x1A8; //
constexpr std::ptrdiff_t m_bOverrideFogColor = 0x1AC; // bool[5]
constexpr std::ptrdiff_t m_OverrideFogColor = 0x1B1; // Color[5]
constexpr std::ptrdiff_t m_bOverrideFogStartEnd = 0x1C5; // bool[5]
@ -915,8 +915,8 @@ namespace cs2_dumper {
// NetworkVarNames: m_hostageRescueZ (int)
// NetworkVarNames: m_bEndMatchNextMapAllVoted (bool)
namespace C_CSPlayerResource {
constexpr std::ptrdiff_t m_bHostageAlive = 0x550; // bool[12]
constexpr std::ptrdiff_t m_isHostageFollowingSomeone = 0x55C; // bool[12]
constexpr std::ptrdiff_t m_bHostageAlive = 0x550; //
constexpr std::ptrdiff_t m_isHostageFollowingSomeone = 0x55C; //
constexpr std::ptrdiff_t m_iHostageEntityIDs = 0x568; // CEntityIndex[12]
constexpr std::ptrdiff_t m_bombsiteCenterA = 0x598; //
constexpr std::ptrdiff_t m_bombsiteCenterB = 0x5A4; //
@ -1941,7 +1941,7 @@ namespace cs2_dumper {
// Metadata:
// NetworkVarNames: m_hCtrl (CHandle<CFogController>)
namespace C_fogplayerparams_t {
constexpr std::ptrdiff_t m_hCtrl = 0x8; // CHandle<C_FogController>
constexpr std::ptrdiff_t m_hCtrl = 0x8; //
constexpr std::ptrdiff_t m_flTransitionTime = 0xC; // float32
constexpr std::ptrdiff_t m_OldColor = 0x10; // Color
constexpr std::ptrdiff_t m_flOldStart = 0x14; // float32
@ -4250,8 +4250,8 @@ namespace cs2_dumper {
// NetworkVarNames: m_iAmmo (uint16)
namespace CPlayer_WeaponServices {
constexpr std::ptrdiff_t m_hMyWeapons = 0x40; // C_NetworkUtlVectorBase<CHandle<C_BasePlayerWeapon>>
constexpr std::ptrdiff_t m_hActiveWeapon = 0x58; //
constexpr std::ptrdiff_t m_hLastWeapon = 0x5C; //
constexpr std::ptrdiff_t m_hActiveWeapon = 0x58; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_hLastWeapon = 0x5C; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_iAmmo = 0x60; // uint16[32]
}
// Parent: None
@ -4531,7 +4531,7 @@ namespace cs2_dumper {
// NetworkVarNames: m_weaponPurchasesThisMatch (WeaponPurchaseTracker_t)
// NetworkVarNames: m_weaponPurchasesThisRound (WeaponPurchaseTracker_t)
namespace CCSPlayer_ActionTrackingServices {
constexpr std::ptrdiff_t m_hLastWeaponBeforeC4AutoSwitch = 0x40; //
constexpr std::ptrdiff_t m_hLastWeaponBeforeC4AutoSwitch = 0x40; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_bIsRescuing = 0x44; // bool
constexpr std::ptrdiff_t m_weaponPurchasesThisMatch = 0x48; // WeaponPurchaseTracker_t
constexpr std::ptrdiff_t m_weaponPurchasesThisRound = 0xA0; // WeaponPurchaseTracker_t
@ -6307,7 +6307,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_nViewModelIndex = 0xEEC; // uint32
constexpr std::ptrdiff_t m_nAnimationParity = 0xEF0; // uint32
constexpr std::ptrdiff_t m_flAnimationStartTime = 0xEF4; // float32
constexpr std::ptrdiff_t m_hWeapon = 0xEF8; //
constexpr std::ptrdiff_t m_hWeapon = 0xEF8; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_sVMName = 0xF00; // CUtlSymbolLarge
constexpr std::ptrdiff_t m_sAnimationPrefix = 0xF08; // CUtlSymbolLarge
constexpr std::ptrdiff_t m_hWeaponModel = 0xF10; // CHandle<C_ViewmodelWeapon>

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
@ -742,7 +742,7 @@ pub mod cs2_dumper {
pub const m_flOldPlayerZ: usize = 0x138; // float32
pub const m_flOldPlayerViewOffsetZ: usize = 0x13C; // float32
pub const m_CurrentFog: usize = 0x140; // fogparams_t
pub const m_hOldFogController: usize = 0x1A8; // CHandle<C_FogController>
pub const m_hOldFogController: usize = 0x1A8; //
pub const m_bOverrideFogColor: usize = 0x1AC; // bool[5]
pub const m_OverrideFogColor: usize = 0x1B1; // Color[5]
pub const m_bOverrideFogStartEnd: usize = 0x1C5; // bool[5]
@ -920,8 +920,8 @@ pub mod cs2_dumper {
// NetworkVarNames: m_hostageRescueZ (int)
// NetworkVarNames: m_bEndMatchNextMapAllVoted (bool)
pub mod C_CSPlayerResource {
pub const m_bHostageAlive: usize = 0x550; // bool[12]
pub const m_isHostageFollowingSomeone: usize = 0x55C; // bool[12]
pub const m_bHostageAlive: usize = 0x550; //
pub const m_isHostageFollowingSomeone: usize = 0x55C; //
pub const m_iHostageEntityIDs: usize = 0x568; // CEntityIndex[12]
pub const m_bombsiteCenterA: usize = 0x598; //
pub const m_bombsiteCenterB: usize = 0x5A4; //
@ -1946,7 +1946,7 @@ pub mod cs2_dumper {
// Metadata:
// NetworkVarNames: m_hCtrl (CHandle<CFogController>)
pub mod C_fogplayerparams_t {
pub const m_hCtrl: usize = 0x8; // CHandle<C_FogController>
pub const m_hCtrl: usize = 0x8; //
pub const m_flTransitionTime: usize = 0xC; // float32
pub const m_OldColor: usize = 0x10; // Color
pub const m_flOldStart: usize = 0x14; // float32
@ -4255,8 +4255,8 @@ pub mod cs2_dumper {
// NetworkVarNames: m_iAmmo (uint16)
pub mod CPlayer_WeaponServices {
pub const m_hMyWeapons: usize = 0x40; // C_NetworkUtlVectorBase<CHandle<C_BasePlayerWeapon>>
pub const m_hActiveWeapon: usize = 0x58; //
pub const m_hLastWeapon: usize = 0x5C; //
pub const m_hActiveWeapon: usize = 0x58; // CHandle<C_BasePlayerWeapon>
pub const m_hLastWeapon: usize = 0x5C; // CHandle<C_BasePlayerWeapon>
pub const m_iAmmo: usize = 0x60; // uint16[32]
}
// Parent: None
@ -4536,7 +4536,7 @@ pub mod cs2_dumper {
// NetworkVarNames: m_weaponPurchasesThisMatch (WeaponPurchaseTracker_t)
// NetworkVarNames: m_weaponPurchasesThisRound (WeaponPurchaseTracker_t)
pub mod CCSPlayer_ActionTrackingServices {
pub const m_hLastWeaponBeforeC4AutoSwitch: usize = 0x40; //
pub const m_hLastWeaponBeforeC4AutoSwitch: usize = 0x40; // CHandle<C_BasePlayerWeapon>
pub const m_bIsRescuing: usize = 0x44; // bool
pub const m_weaponPurchasesThisMatch: usize = 0x48; // WeaponPurchaseTracker_t
pub const m_weaponPurchasesThisRound: usize = 0xA0; // WeaponPurchaseTracker_t
@ -6312,7 +6312,7 @@ pub mod cs2_dumper {
pub const m_nViewModelIndex: usize = 0xEEC; // uint32
pub const m_nAnimationParity: usize = 0xEF0; // uint32
pub const m_flAnimationStartTime: usize = 0xEF4; // float32
pub const m_hWeapon: usize = 0xEF8; //
pub const m_hWeapon: usize = 0xEF8; // CHandle<C_BasePlayerWeapon>
pub const m_sVMName: usize = 0xF00; // CUtlSymbolLarge
pub const m_sAnimationPrefix: usize = 0xF08; // CUtlSymbolLarge
pub const m_hWeaponModel: usize = 0xF10; // CHandle<C_ViewmodelWeapon>

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: engine2.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: host.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,4 +1,4 @@
{
"build_number": 14001,
"timestamp": "2024-04-07T05:30:39.851724900+00:00"
"timestamp": "2024-04-07T08:19:03.265339800+00:00"
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Interfaces {
// Module: animationsystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: materialsystem2.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +0,0 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
}

View File

@ -1,11 +0,0 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
#pragma once
#include <cstddef>
namespace cs2_dumper {
namespace schemas {
}
}

View File

@ -1,6 +0,0 @@
{
"meshsystem.dll": {
"classes": {},
"enums": {}
}
}

View File

@ -1,9 +0,0 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
}
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: networksystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Offsets {
// Module: client.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: panorama.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: particles.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: pulse_system.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: rendersystemdx11.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: resourcesystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -1,5 +0,0 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
}

View File

@ -1,11 +0,0 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
#pragma once
#include <cstddef>
namespace cs2_dumper {
namespace schemas {
}
}

View File

@ -1,6 +0,0 @@
{
"scenefilecache.dll": {
"classes": {},
"enums": {}
}
}

View File

@ -1,9 +0,0 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
}
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: scenesystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: schemasystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: server.dll
@ -2588,7 +2588,7 @@ namespace CS2Dumper.Schemas {
public const nint m_vecBackBoundsMin = 0xE64; //
public const nint m_vecBackBoundsMax = 0xE70; //
public const nint m_bAjarDoorShouldntAlwaysOpen = 0xE7C; // bool
public const nint m_hEntityBlocker = 0xE80; // CHandle<CEntityBlocker>
public const nint m_hEntityBlocker = 0xE80; //
}
// Parent: CBaseModelEntity
// Fields count: 21
@ -3005,7 +3005,7 @@ namespace CS2Dumper.Schemas {
public const nint m_numCloseAttempts = 0xC48; // int32
public const nint m_nPhysicsMaterial = 0xC4C; // CUtlStringToken
public const nint m_SlaveName = 0xC50; // CUtlSymbolLarge
public const nint m_hMaster = 0xC58; //
public const nint m_hMaster = 0xC58; // CHandle<CBasePropDoor>
public const nint m_OnBlockedClosing = 0xC60; // CEntityIOOutput
public const nint m_OnBlockedOpening = 0xC88; // CEntityIOOutput
public const nint m_OnUnblockedClosing = 0xCB0; // CEntityIOOutput
@ -6769,8 +6769,8 @@ namespace CS2Dumper.Schemas {
// NetworkVarNames: m_hostageRescueZ (int)
// NetworkVarNames: m_bEndMatchNextMapAllVoted (bool)
public static class CCSPlayerResource {
public const nint m_bHostageAlive = 0x4C0; // bool[12]
public const nint m_isHostageFollowingSomeone = 0x4CC; // bool[12]
public const nint m_bHostageAlive = 0x4C0; //
public const nint m_isHostageFollowingSomeone = 0x4CC; //
public const nint m_iHostageEntityIDs = 0x4D8; // CEntityIndex[12]
public const nint m_bombsiteCenterA = 0x508; //
public const nint m_bombsiteCenterB = 0x514; //

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once
@ -2593,7 +2593,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_vecBackBoundsMin = 0xE64; //
constexpr std::ptrdiff_t m_vecBackBoundsMax = 0xE70; //
constexpr std::ptrdiff_t m_bAjarDoorShouldntAlwaysOpen = 0xE7C; // bool
constexpr std::ptrdiff_t m_hEntityBlocker = 0xE80; // CHandle<CEntityBlocker>
constexpr std::ptrdiff_t m_hEntityBlocker = 0xE80; //
}
// Parent: CBaseModelEntity
// Fields count: 21
@ -3010,7 +3010,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_numCloseAttempts = 0xC48; // int32
constexpr std::ptrdiff_t m_nPhysicsMaterial = 0xC4C; // CUtlStringToken
constexpr std::ptrdiff_t m_SlaveName = 0xC50; // CUtlSymbolLarge
constexpr std::ptrdiff_t m_hMaster = 0xC58; //
constexpr std::ptrdiff_t m_hMaster = 0xC58; // CHandle<CBasePropDoor>
constexpr std::ptrdiff_t m_OnBlockedClosing = 0xC60; // CEntityIOOutput
constexpr std::ptrdiff_t m_OnBlockedOpening = 0xC88; // CEntityIOOutput
constexpr std::ptrdiff_t m_OnUnblockedClosing = 0xCB0; // CEntityIOOutput
@ -6774,8 +6774,8 @@ namespace cs2_dumper {
// NetworkVarNames: m_hostageRescueZ (int)
// NetworkVarNames: m_bEndMatchNextMapAllVoted (bool)
namespace CCSPlayerResource {
constexpr std::ptrdiff_t m_bHostageAlive = 0x4C0; // bool[12]
constexpr std::ptrdiff_t m_isHostageFollowingSomeone = 0x4CC; // bool[12]
constexpr std::ptrdiff_t m_bHostageAlive = 0x4C0; //
constexpr std::ptrdiff_t m_isHostageFollowingSomeone = 0x4CC; //
constexpr std::ptrdiff_t m_iHostageEntityIDs = 0x4D8; // CEntityIndex[12]
constexpr std::ptrdiff_t m_bombsiteCenterA = 0x508; //
constexpr std::ptrdiff_t m_bombsiteCenterB = 0x514; //

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
@ -2717,7 +2717,7 @@ pub mod cs2_dumper {
pub const m_vecBackBoundsMin: usize = 0xE64; //
pub const m_vecBackBoundsMax: usize = 0xE70; //
pub const m_bAjarDoorShouldntAlwaysOpen: usize = 0xE7C; // bool
pub const m_hEntityBlocker: usize = 0xE80; // CHandle<CEntityBlocker>
pub const m_hEntityBlocker: usize = 0xE80; //
}
// Parent: CBaseModelEntity
// Fields count: 21
@ -3134,7 +3134,7 @@ pub mod cs2_dumper {
pub const m_numCloseAttempts: usize = 0xC48; // int32
pub const m_nPhysicsMaterial: usize = 0xC4C; // CUtlStringToken
pub const m_SlaveName: usize = 0xC50; // CUtlSymbolLarge
pub const m_hMaster: usize = 0xC58; //
pub const m_hMaster: usize = 0xC58; // CHandle<CBasePropDoor>
pub const m_OnBlockedClosing: usize = 0xC60; // CEntityIOOutput
pub const m_OnBlockedOpening: usize = 0xC88; // CEntityIOOutput
pub const m_OnUnblockedClosing: usize = 0xCB0; // CEntityIOOutput
@ -6898,8 +6898,8 @@ pub mod cs2_dumper {
// NetworkVarNames: m_hostageRescueZ (int)
// NetworkVarNames: m_bEndMatchNextMapAllVoted (bool)
pub mod CCSPlayerResource {
pub const m_bHostageAlive: usize = 0x4C0; // bool[12]
pub const m_isHostageFollowingSomeone: usize = 0x4CC; // bool[12]
pub const m_bHostageAlive: usize = 0x4C0; //
pub const m_isHostageFollowingSomeone: usize = 0x4CC; //
pub const m_iHostageEntityIDs: usize = 0x4D8; // CEntityIndex[12]
pub const m_bombsiteCenterA: usize = 0x508; //
pub const m_bombsiteCenterB: usize = 0x514; //

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: soundsystem.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: vphysics2.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 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
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
namespace CS2Dumper.Schemas {
// Module: worldrenderer.dll

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#pragma once

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-07 05:30:39.851724900 UTC
// 2024-04-07 08:19:03.265339800 UTC
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]

View File

@ -266,8 +266,7 @@ fn read_type_scopes(
) -> Result<Vec<TypeScope>> {
let type_scopes = &schema_system.type_scopes;
(0..type_scopes.size)
.map(|i| {
(0..type_scopes.size).try_fold(Vec::new(), |mut acc, i| {
let type_scope_ptr = type_scopes.element(process, i as _)?;
let type_scope = type_scope_ptr.read(process)?;
@ -289,19 +288,24 @@ fn read_type_scopes(
.filter_map(|ptr| read_enum_binding(process, *ptr).ok())
.collect();
if classes.is_empty() && enums.is_empty() {
return Ok(acc);
}
debug!(
"found type scope: {} at {:#X} (classes count: {}) (enums count: {})",
module_name,
type_scope_ptr.to_umem(),
classes.len(),
enums.len()
enums.len(),
);
Ok(TypeScope {
acc.push(TypeScope {
module_name,
classes,
enums,
});
Ok(acc)
})
})
.collect()
}

View File

@ -234,10 +234,10 @@ impl Results {
self.offsets
.iter()
.find_map(|(module_name, offsets)| {
let (_name, value) = offsets.iter().find(|(name, _)| *name == "dwBuildNumber")?;
let module = process.module_by_name(module_name).ok()?;
let offset = offsets.iter().find(|(name, _)| *name == "dwBuildNumber")?;
process.read(module.base + value).ok()
process.read(module.base + offset.1).ok()
})
.ok_or(Error::Other("unable to read build number"))
}

View File

@ -15,11 +15,6 @@ impl CodeGen for SchemaMap {
self.write_content(results, indent_size, |fmt| {
fmt.block("namespace CS2Dumper.Schemas", false, |fmt| {
for (module_name, (classes, enums)) in self {
// Skip empty modules.
if classes.is_empty() && enums.is_empty() {
continue;
}
writeln!(fmt, "// Module: {}", module_name)?;
writeln!(fmt, "// Classes count: {}", classes.len())?;
writeln!(fmt, "// Enums count: {}", enums.len())?;
@ -116,11 +111,6 @@ impl CodeGen for SchemaMap {
fmt.block("namespace cs2_dumper", false, |fmt| {
fmt.block("namespace schemas", false, |fmt| {
for (module_name, (classes, enums)) in self {
// Skip empty modules.
if classes.is_empty() && enums.is_empty() {
continue;
}
writeln!(fmt, "// Module: {}", module_name)?;
writeln!(fmt, "// Classes count: {}", classes.len())?;
writeln!(fmt, "// Enums count: {}", enums.len())?;
@ -302,11 +292,6 @@ impl CodeGen for SchemaMap {
fmt.block("pub mod cs2_dumper", false, |fmt| {
fmt.block("pub mod schemas", false, |fmt| {
for (module_name, (classes, enums)) in self {
// Skip empty modules.
if classes.is_empty() && enums.is_empty() {
continue;
}
writeln!(fmt, "// Module: {}", module_name)?;
writeln!(fmt, "// Classes count: {}", classes.len())?;
writeln!(fmt, "// Enums count: {}", enums.len())?;