Fix for enum values that could be out of range for their datatype

This commit is contained in:
a2x 2024-04-07 15:35:48 +10:00
parent 7c9d594ca6
commit 9f37324266
69 changed files with 177 additions and 176 deletions

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: animationsystem.dll
@ -2697,7 +2697,7 @@ namespace CS2Dumper.Schemas {
public static class CStateMachineUpdateNode {
public const nint m_stateMachine = 0x68; // CAnimStateMachineUpdater
public const nint m_stateData = 0xC0; // CUtlVector<CStateNodeStateData>
public const nint m_transitionData = 0xD8; // CUtlVector<CStateNodeTransition
public const nint m_transitionData = 0xD8; // CUtlVector<CStateNodeTransitionData>
public const nint m_bBlockWaningTags = 0xF4; // bool
public const nint m_bLockStateWhenWaning = 0xF5; // bool
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#pragma once
@ -2702,7 +2702,7 @@ namespace cs2_dumper {
namespace CStateMachineUpdateNode {
constexpr std::ptrdiff_t m_stateMachine = 0x68; // CAnimStateMachineUpdater
constexpr std::ptrdiff_t m_stateData = 0xC0; // CUtlVector<CStateNodeStateData>
constexpr std::ptrdiff_t m_transitionData = 0xD8; // CUtlVector<CStateNodeTransition
constexpr std::ptrdiff_t m_transitionData = 0xD8; // CUtlVector<CStateNodeTransitionData>
constexpr std::ptrdiff_t m_bBlockWaningTags = 0xF4; // bool
constexpr std::ptrdiff_t m_bLockStateWhenWaning = 0xF5; // bool
}

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -35,7 +35,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum BoneTransformSpace_t {
BoneTransformSpace_Invalid = 0xFFFFFFFFFFFFFFFF,
BoneTransformSpace_Invalid = u32::MAX,
BoneTransformSpace_Parent = 0x0,
BoneTransformSpace_Model = 0x1,
BoneTransformSpace_World = 0x2
@ -82,7 +82,7 @@ pub mod cs2_dumper {
// Members count: 5
#[repr(u8)]
pub enum MovementGait_t {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = u8::MAX,
eWalk = 0x0,
eJog = 0x1,
eRun = 0x2,
@ -266,7 +266,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum ModelBoneFlexComponent_t {
MODEL_BONE_FLEX_INVALID = 0xFFFFFFFFFFFFFFFF,
MODEL_BONE_FLEX_INVALID = u32::MAX,
MODEL_BONE_FLEX_TX = 0x0,
MODEL_BONE_FLEX_TY = 0x1,
MODEL_BONE_FLEX_TZ = 0x2
@ -538,7 +538,7 @@ pub mod cs2_dumper {
// Members count: 3
#[repr(u16)]
pub enum AnimScriptType {
ANIMSCRIPT_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
ANIMSCRIPT_TYPE_INVALID = u16::MAX,
ANIMSCRIPT_FUSE_GENERAL = 0x0,
ANIMSCRIPT_FUSE_STATEMACHINE = 0x1
}
@ -589,7 +589,7 @@ pub mod cs2_dumper {
// Members count: 18
#[repr(u32)]
pub enum ParticleAttachment_t {
PATTACH_INVALID = 0xFFFFFFFFFFFFFFFF,
PATTACH_INVALID = u32::MAX,
PATTACH_ABSORIGIN = 0x0,
PATTACH_ABSORIGIN_FOLLOW = 0x1,
PATTACH_CUSTOMORIGIN = 0x2,
@ -723,7 +723,7 @@ pub mod cs2_dumper {
// Members count: 5
#[repr(u32)]
pub enum ModelConfigAttachmentType_t {
MODEL_CONFIG_ATTACHMENT_INVALID = 0xFFFFFFFFFFFFFFFF,
MODEL_CONFIG_ATTACHMENT_INVALID = u32::MAX,
MODEL_CONFIG_ATTACHMENT_BONE_OR_ATTACHMENT = 0x0,
MODEL_CONFIG_ATTACHMENT_ROOT_RELATIVE = 0x1,
MODEL_CONFIG_ATTACHMENT_BONEMERGE = 0x2,
@ -2770,7 +2770,7 @@ pub mod cs2_dumper {
pub mod CStateMachineUpdateNode {
pub const m_stateMachine: usize = 0x68; // CAnimStateMachineUpdater
pub const m_stateData: usize = 0xC0; // CUtlVector<CStateNodeStateData>
pub const m_transitionData: usize = 0xD8; // CUtlVector<CStateNodeTransition
pub const m_transitionData: usize = 0xD8; // CUtlVector<CStateNodeTransitionData>
pub const m_bBlockWaningTags: usize = 0xF4; // bool
pub const m_bLockStateWhenWaning: usize = 0xF5; // bool
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper {
// Module: client.dll

View File

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

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 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; //
public const nint m_hOldFogController = 0x1A8; // CHandle<C_FogController>
public const nint m_bOverrideFogColor = 0x1AC; // bool[5]
public const nint m_OverrideFogColor = 0x1B1; // Color[5]
public const nint m_bOverrideFogStartEnd = 0x1C5; // bool[5]
@ -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; //
public const nint m_hCtrl = 0x8; // CHandle<C_FogController>
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; // CHandle<C_BasePlayerWeapon>
public const nint m_hLastWeapon = 0x5C; // CHandle<C_BasePlayerWeapon>
public const nint m_hActiveWeapon = 0x58; //
public const nint m_hLastWeapon = 0x5C; //
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; // CHandle<C_BasePlayerWeapon>
public const nint m_hLastWeaponBeforeC4AutoSwitch = 0x40; //
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; // CHandle<C_BasePlayerWeapon>
public const nint m_hWeapon = 0xEF8; //
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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 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; //
constexpr std::ptrdiff_t m_hOldFogController = 0x1A8; // CHandle<C_FogController>
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]
@ -1941,7 +1941,7 @@ namespace cs2_dumper {
// Metadata:
// NetworkVarNames: m_hCtrl (CHandle<CFogController>)
namespace C_fogplayerparams_t {
constexpr std::ptrdiff_t m_hCtrl = 0x8; //
constexpr std::ptrdiff_t m_hCtrl = 0x8; // CHandle<C_FogController>
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; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_hLastWeapon = 0x5C; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_hActiveWeapon = 0x58; //
constexpr std::ptrdiff_t m_hLastWeapon = 0x5C; //
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; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_hLastWeaponBeforeC4AutoSwitch = 0x40; //
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; // CHandle<C_BasePlayerWeapon>
constexpr std::ptrdiff_t m_hWeapon = 0xEF8; //
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,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -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; //
pub const m_hOldFogController: usize = 0x1A8; // CHandle<C_FogController>
pub const m_bOverrideFogColor: usize = 0x1AC; // bool[5]
pub const m_OverrideFogColor: usize = 0x1B1; // Color[5]
pub const m_bOverrideFogStartEnd: usize = 0x1C5; // bool[5]
@ -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; //
pub const m_hCtrl: usize = 0x8; // CHandle<C_FogController>
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; // CHandle<C_BasePlayerWeapon>
pub const m_hLastWeapon: usize = 0x5C; // CHandle<C_BasePlayerWeapon>
pub const m_hActiveWeapon: usize = 0x58; //
pub const m_hLastWeapon: usize = 0x5C; //
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; // CHandle<C_BasePlayerWeapon>
pub const m_hLastWeaponBeforeC4AutoSwitch: usize = 0x40; //
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; // CHandle<C_BasePlayerWeapon>
pub const m_hWeapon: usize = 0xEF8; //
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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: engine2.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -21,7 +21,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum EntityIOTargetType_t {
ENTITY_IO_TARGET_INVALID = 0xFFFFFFFFFFFFFFFF,
ENTITY_IO_TARGET_INVALID = u32::MAX,
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
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: host.dll

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{
"build_number": 14001,
"timestamp": "2024-04-06T17:17:10.780616100+00:00"
"timestamp": "2024-04-07T05:30:39.851724900+00:00"
}

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
}

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: networksystem.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Offsets {
// Module: client.dll

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: particles.dll
@ -4613,9 +4613,9 @@ namespace CS2Dumper.Schemas {
public const nint m_nControlPointNumber = 0x1C0; // int32
public const nint m_vecOffset = 0x1C8; // CParticleCollectionVecInput
public const nint m_bOffsetLocal = 0x820; // bool
public const nint m_nParticleSelection = 0x824; //
public const nint m_nParticleSelection = 0x824; // ParticleSelection_t
public const nint m_nParticleNumber = 0x828; // CParticleCollectionFloatInput
public const nint m_nPinBreakType = 0x980; // ParticlePinDistance_t
public const nint m_nPinBreakType = 0x980; //
public const nint m_flBreakDistance = 0x988; // CParticleCollectionFloatInput
public const nint m_flBreakSpeed = 0xAE0; // CParticleCollectionFloatInput
public const nint m_flAge = 0xC38; // CParticleCollectionFloatInput

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#pragma once
@ -4618,9 +4618,9 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_nControlPointNumber = 0x1C0; // int32
constexpr std::ptrdiff_t m_vecOffset = 0x1C8; // CParticleCollectionVecInput
constexpr std::ptrdiff_t m_bOffsetLocal = 0x820; // bool
constexpr std::ptrdiff_t m_nParticleSelection = 0x824; //
constexpr std::ptrdiff_t m_nParticleSelection = 0x824; // ParticleSelection_t
constexpr std::ptrdiff_t m_nParticleNumber = 0x828; // CParticleCollectionFloatInput
constexpr std::ptrdiff_t m_nPinBreakType = 0x980; // ParticlePinDistance_t
constexpr std::ptrdiff_t m_nPinBreakType = 0x980; //
constexpr std::ptrdiff_t m_flBreakDistance = 0x988; // CParticleCollectionFloatInput
constexpr std::ptrdiff_t m_flBreakSpeed = 0xAE0; // CParticleCollectionFloatInput
constexpr std::ptrdiff_t m_flAge = 0xC38; // CParticleCollectionFloatInput

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -24,7 +24,7 @@ pub mod cs2_dumper {
// Members count: 7
#[repr(u32)]
pub enum Detail2Combo_t {
DETAIL_2_COMBO_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
DETAIL_2_COMBO_UNINITIALIZED = u32::MAX,
DETAIL_2_COMBO_OFF = 0x0,
DETAIL_2_COMBO_ADD = 0x1,
DETAIL_2_COMBO_ADD_SELF_ILLUM = 0x2,
@ -36,7 +36,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum MissingParentInheritBehavior_t {
MISSING_PARENT_DO_NOTHING = 0xFFFFFFFFFFFFFFFF,
MISSING_PARENT_DO_NOTHING = u32::MAX,
MISSING_PARENT_KILL = 0x0,
MISSING_PARENT_FIND_NEW = 0x1,
MISSING_PARENT_SAME_INDEX = 0x2
@ -45,7 +45,7 @@ pub mod cs2_dumper {
// Members count: 5
#[repr(u32)]
pub enum ParticleFloatBiasType_t {
PF_BIAS_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_BIAS_TYPE_INVALID = u32::MAX,
PF_BIAS_TYPE_STANDARD = 0x0,
PF_BIAS_TYPE_GAIN = 0x1,
PF_BIAS_TYPE_EXPONENTIAL = 0x2,
@ -100,7 +100,7 @@ pub mod cs2_dumper {
// Members count: 24
#[repr(u32)]
pub enum ParticleFloatType_t {
PF_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_TYPE_INVALID = u32::MAX,
PF_TYPE_LITERAL = 0x0,
PF_TYPE_NAMED_VALUE = 0x1,
PF_TYPE_RANDOM_UNIFORM = 0x2,
@ -188,7 +188,7 @@ pub mod cs2_dumper {
// Members count: 9
#[repr(u32)]
pub enum ScalarExpressionType_t {
SCALAR_EXPRESSION_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
SCALAR_EXPRESSION_UNINITIALIZED = u32::MAX,
SCALAR_EXPRESSION_ADD = 0x0,
SCALAR_EXPRESSION_SUBTRACT = 0x1,
SCALAR_EXPRESSION_MUL = 0x2,
@ -255,7 +255,7 @@ pub mod cs2_dumper {
pub enum ParticleLightingQuality_t {
PARTICLE_LIGHTING_PER_PARTICLE = 0x0,
PARTICLE_LIGHTING_PER_VERTEX = 0x1,
PARTICLE_LIGHTING_PER_PIXEL = 0xFFFFFFFFFFFFFFFF
PARTICLE_LIGHTING_PER_PIXEL = u32::MAX
}
// Alignment: 4
// Members count: 4
@ -296,7 +296,7 @@ pub mod cs2_dumper {
// Members count: 12
#[repr(u32)]
pub enum ParticlePinDistance_t {
PARTICLE_PIN_DISTANCE_NONE = 0xFFFFFFFFFFFFFFFF,
PARTICLE_PIN_DISTANCE_NONE = u32::MAX,
PARTICLE_PIN_DISTANCE_NEIGHBOR = 0x0,
PARTICLE_PIN_DISTANCE_FARTHEST = 0x1,
PARTICLE_PIN_DISTANCE_FIRST = 0x2,
@ -313,7 +313,7 @@ pub mod cs2_dumper {
// Members count: 7
#[repr(u32)]
pub enum VectorFloatExpressionType_t {
VECTOR_FLOAT_EXPRESSION_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
VECTOR_FLOAT_EXPRESSION_UNINITIALIZED = u32::MAX,
VECTOR_FLOAT_EXPRESSION_DOTPRODUCT = 0x0,
VECTOR_FLOAT_EXPRESSION_DISTANCE = 0x1,
VECTOR_FLOAT_EXPRESSION_DISTANCESQR = 0x2,
@ -333,7 +333,7 @@ pub mod cs2_dumper {
// Members count: 9
#[repr(u32)]
pub enum VectorExpressionType_t {
VECTOR_EXPRESSION_UNINITIALIZED = 0xFFFFFFFFFFFFFFFF,
VECTOR_EXPRESSION_UNINITIALIZED = u32::MAX,
VECTOR_EXPRESSION_ADD = 0x0,
VECTOR_EXPRESSION_SUBTRACT = 0x1,
VECTOR_EXPRESSION_MUL = 0x2,
@ -395,7 +395,7 @@ pub mod cs2_dumper {
// Members count: 8
#[repr(u32)]
pub enum ParticleFloatMapType_t {
PF_MAP_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_MAP_TYPE_INVALID = u32::MAX,
PF_MAP_TYPE_DIRECT = 0x0,
PF_MAP_TYPE_MULT = 0x1,
PF_MAP_TYPE_REMAP = 0x2,
@ -437,7 +437,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum ParticleFloatInputMode_t {
PF_INPUT_MODE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_INPUT_MODE_INVALID = u32::MAX,
PF_INPUT_MODE_CLAMPED = 0x0,
PF_INPUT_MODE_LOOPED = 0x1,
PF_INPUT_MODE_COUNT = 0x2
@ -487,7 +487,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum ParticleFloatRandomMode_t {
PF_RANDOM_MODE_INVALID = 0xFFFFFFFFFFFFFFFF,
PF_RANDOM_MODE_INVALID = u32::MAX,
PF_RANDOM_MODE_CONSTANT = 0x0,
PF_RANDOM_MODE_VARYING = 0x1,
PF_RANDOM_MODE_COUNT = 0x2
@ -505,7 +505,7 @@ pub mod cs2_dumper {
// Members count: 19
#[repr(u32)]
pub enum ParticleVecType_t {
PVEC_TYPE_INVALID = 0xFFFFFFFFFFFFFFFF,
PVEC_TYPE_INVALID = u32::MAX,
PVEC_TYPE_LITERAL = 0x0,
PVEC_TYPE_LITERAL_COLOR = 0x1,
PVEC_TYPE_NAMED_VALUE = 0x2,
@ -544,7 +544,7 @@ pub mod cs2_dumper {
// Members count: 3
#[repr(u32)]
pub enum ParticleSequenceCropOverride_t {
PARTICLE_SEQUENCE_CROP_OVERRIDE_DEFAULT = 0xFFFFFFFFFFFFFFFF,
PARTICLE_SEQUENCE_CROP_OVERRIDE_DEFAULT = u32::MAX,
PARTICLE_SEQUENCE_CROP_OVERRIDE_FORCE_OFF = 0x0,
PARTICLE_SEQUENCE_CROP_OVERRIDE_FORCE_ON = 0x1
}
@ -645,7 +645,7 @@ pub mod cs2_dumper {
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 = u32::MAX
}
// Alignment: 4
// Members count: 2
@ -658,7 +658,7 @@ pub mod cs2_dumper {
// Members count: 3
#[repr(u32)]
pub enum ParticleEndcapMode_t {
PARTICLE_ENDCAP_ALWAYS_ON = 0xFFFFFFFFFFFFFFFF,
PARTICLE_ENDCAP_ALWAYS_ON = u32::MAX,
PARTICLE_ENDCAP_ENDCAP_OFF = 0x0,
PARTICLE_ENDCAP_ENDCAP_ON = 0x1
}
@ -4687,9 +4687,9 @@ pub mod cs2_dumper {
pub const m_nControlPointNumber: usize = 0x1C0; // int32
pub const m_vecOffset: usize = 0x1C8; // CParticleCollectionVecInput
pub const m_bOffsetLocal: usize = 0x820; // bool
pub const m_nParticleSelection: usize = 0x824; //
pub const m_nParticleSelection: usize = 0x824; // ParticleSelection_t
pub const m_nParticleNumber: usize = 0x828; // CParticleCollectionFloatInput
pub const m_nPinBreakType: usize = 0x980; // ParticlePinDistance_t
pub const m_nPinBreakType: usize = 0x980; //
pub const m_flBreakDistance: usize = 0x988; // CParticleCollectionFloatInput
pub const m_flBreakSpeed: usize = 0xAE0; // CParticleCollectionFloatInput
pub const m_flAge: usize = 0xC38; // CParticleCollectionFloatInput

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: pulse_system.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -36,7 +36,7 @@ pub mod cs2_dumper {
// Members count: 19
#[repr(u32)]
pub enum PulseValueType_t {
PVAL_INVALID = 0xFFFFFFFFFFFFFFFF,
PVAL_INVALID = u32::MAX,
PVAL_BOOL = 0x0,
PVAL_INT = 0x1,
PVAL_FLOAT = 0x2,

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: rendersystemdx11.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -48,7 +48,7 @@ pub mod cs2_dumper {
// Members count: 8
#[repr(u8)]
pub enum RenderMultisampleType_t {
RENDER_MULTISAMPLE_INVALID = 0xFFFFFFFFFFFFFFFF,
RENDER_MULTISAMPLE_INVALID = u8::MAX,
RENDER_MULTISAMPLE_NONE = 0x0,
RENDER_MULTISAMPLE_2X = 0x1,
RENDER_MULTISAMPLE_4X = 0x2,
@ -70,7 +70,7 @@ pub mod cs2_dumper {
// Members count: 3
#[repr(u32)]
pub enum RenderSlotType_t {
RENDER_SLOT_INVALID = 0xFFFFFFFFFFFFFFFF,
RENDER_SLOT_INVALID = u32::MAX,
RENDER_SLOT_PER_VERTEX = 0x0,
RENDER_SLOT_PER_INSTANCE = 0x1
}

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: resourcesystem.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
}

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: scenesystem.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: schemasystem.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 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; //
public const nint m_hEntityBlocker = 0xE80; // CHandle<CEntityBlocker>
}
// 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; // CHandle<CBasePropDoor>
public const nint m_hMaster = 0xC58; //
public const nint m_OnBlockedClosing = 0xC60; // CEntityIOOutput
public const nint m_OnBlockedOpening = 0xC88; // CEntityIOOutput
public const nint m_OnUnblockedClosing = 0xCB0; // CEntityIOOutput
@ -4335,7 +4335,7 @@ namespace CS2Dumper.Schemas {
public const nint m_OnPostIdleEndSequence = 0x5E0; // CEntityIOOutput
public const nint m_OnCancelSequence = 0x608; // CEntityIOOutput
public const nint m_OnCancelFailedSequence = 0x630; // CEntityIOOutput
public const nint m_OnScriptEvent = 0x658; //
public const nint m_OnScriptEvent = 0x658; // CEntityIOOutput[8]
public const nint m_matOtherToMain = 0x7A0; // CTransform
public const nint m_hInteractionMainEntity = 0x7C0; // CHandle<CBaseEntity>
public const nint m_iPlayerDeathBehavior = 0x7C4; // int32

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 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; //
constexpr std::ptrdiff_t m_hEntityBlocker = 0xE80; // CHandle<CEntityBlocker>
}
// 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; // CHandle<CBasePropDoor>
constexpr std::ptrdiff_t m_hMaster = 0xC58; //
constexpr std::ptrdiff_t m_OnBlockedClosing = 0xC60; // CEntityIOOutput
constexpr std::ptrdiff_t m_OnBlockedOpening = 0xC88; // CEntityIOOutput
constexpr std::ptrdiff_t m_OnUnblockedClosing = 0xCB0; // CEntityIOOutput
@ -4340,7 +4340,7 @@ namespace cs2_dumper {
constexpr std::ptrdiff_t m_OnPostIdleEndSequence = 0x5E0; // CEntityIOOutput
constexpr std::ptrdiff_t m_OnCancelSequence = 0x608; // CEntityIOOutput
constexpr std::ptrdiff_t m_OnCancelFailedSequence = 0x630; // CEntityIOOutput
constexpr std::ptrdiff_t m_OnScriptEvent = 0x658; //
constexpr std::ptrdiff_t m_OnScriptEvent = 0x658; // CEntityIOOutput[8]
constexpr std::ptrdiff_t m_matOtherToMain = 0x7A0; // CTransform
constexpr std::ptrdiff_t m_hInteractionMainEntity = 0x7C0; // CHandle<CBaseEntity>
constexpr std::ptrdiff_t m_iPlayerDeathBehavior = 0x7C4; // int32

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -62,7 +62,7 @@ pub mod cs2_dumper {
// Members count: 5
#[repr(u32)]
pub enum StanceType_t {
STANCE_CURRENT = 0xFFFFFFFFFFFFFFFF,
STANCE_CURRENT = u32::MAX,
STANCE_DEFAULT = 0x0,
STANCE_CROUCHING = 0x1,
STANCE_PRONE = 0x2,
@ -238,7 +238,7 @@ pub mod cs2_dumper {
// Members count: 5
#[repr(u32)]
pub enum NPCFollowFormation_t {
Default = 0xFFFFFFFFFFFFFFFF,
Default = u32::MAX,
CloseCircle = 0x0,
WideCircle = 0x1,
MediumCircle = 0x5,
@ -292,7 +292,7 @@ pub mod cs2_dumper {
// Members count: 5
#[repr(u32)]
pub enum AnimLoopMode_t {
ANIM_LOOP_MODE_INVALID = 0xFFFFFFFFFFFFFFFF,
ANIM_LOOP_MODE_INVALID = u32::MAX,
ANIM_LOOP_MODE_NOT_LOOPING = 0x0,
ANIM_LOOP_MODE_LOOPING = 0x1,
ANIM_LOOP_MODE_USE_SEQUENCE_SETTINGS = 0x2,
@ -573,7 +573,7 @@ pub mod cs2_dumper {
#[repr(u32)]
pub enum loadout_slot_t {
LOADOUT_SLOT_PROMOTED = 0xFFFFFFFFFFFFFFFE,
LOADOUT_SLOT_INVALID = 0xFFFFFFFFFFFFFFFF,
LOADOUT_SLOT_INVALID = u32::MAX,
LOADOUT_SLOT_MELEE = 0x0,
LOADOUT_SLOT_C4 = 0x1,
LOADOUT_SLOT_FIRST_AUTO_BUY_WEAPON = 0x0,
@ -743,7 +743,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum WeaponAttackType_t {
eInvalid = 0xFFFFFFFFFFFFFFFF,
eInvalid = u32::MAX,
ePrimary = 0x0,
eSecondary = 0x1,
eCount = 0x2
@ -802,7 +802,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum ScriptedOnDeath_t {
SS_ONDEATH_NOT_APPLICABLE = 0xFFFFFFFFFFFFFFFF,
SS_ONDEATH_NOT_APPLICABLE = u32::MAX,
SS_ONDEATH_UNDEFINED = 0x0,
SS_ONDEATH_RAGDOLL = 0x1,
SS_ONDEATH_ANIMATED_DEATH = 0x2
@ -828,7 +828,7 @@ pub mod cs2_dumper {
// Members count: 17
#[repr(u32)]
pub enum gear_slot_t {
GEAR_SLOT_INVALID = 0xFFFFFFFFFFFFFFFF,
GEAR_SLOT_INVALID = u32::MAX,
GEAR_SLOT_RIFLE = 0x0,
GEAR_SLOT_PISTOL = 0x1,
GEAR_SLOT_KNIFE = 0x2,
@ -892,7 +892,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum AmmoPosition_t {
AMMO_POSITION_INVALID = 0xFFFFFFFFFFFFFFFF,
AMMO_POSITION_INVALID = u32::MAX,
AMMO_POSITION_PRIMARY = 0x0,
AMMO_POSITION_SECONDARY = 0x1,
AMMO_POSITION_COUNT = 0x2
@ -929,7 +929,7 @@ pub mod cs2_dumper {
// Members count: 5
#[repr(u32)]
pub enum EntityDisolveType_t {
ENTITY_DISSOLVE_INVALID = 0xFFFFFFFFFFFFFFFF,
ENTITY_DISSOLVE_INVALID = u32::MAX,
ENTITY_DISSOLVE_NORMAL = 0x0,
ENTITY_DISSOLVE_ELECTRICAL = 0x1,
ENTITY_DISSOLVE_ELECTRICAL_LIGHT = 0x2,
@ -940,7 +940,7 @@ pub mod cs2_dumper {
#[repr(u64)]
pub enum InputBitMask_t {
IN_NONE = 0x0,
IN_ALL = 0xFFFFFFFFFFFFFFFF,
IN_ALL = u64::MAX,
IN_ATTACK = 0x1,
IN_JUMP = 0x2,
IN_DUCK = 0x4,
@ -965,7 +965,7 @@ pub mod cs2_dumper {
// Members count: 14
#[repr(u32)]
pub enum HitGroup_t {
HITGROUP_INVALID = 0xFFFFFFFFFFFFFFFF,
HITGROUP_INVALID = u32::MAX,
HITGROUP_GENERIC = 0x0,
HITGROUP_HEAD = 0x1,
HITGROUP_CHEST = 0x2,
@ -1086,7 +1086,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum EntitySubclassScope_t {
SUBCLASS_SCOPE_NONE = 0xFFFFFFFFFFFFFFFF,
SUBCLASS_SCOPE_NONE = u32::MAX,
SUBCLASS_SCOPE_PRECIPITATION = 0x0,
SUBCLASS_SCOPE_PLAYER_WEAPONS = 0x1,
SUBCLASS_SCOPE_COUNT = 0x2
@ -1226,7 +1226,7 @@ pub mod cs2_dumper {
// Members count: 27
#[repr(u32)]
pub enum RumbleEffect_t {
RUMBLE_INVALID = 0xFFFFFFFFFFFFFFFF,
RUMBLE_INVALID = u32::MAX,
RUMBLE_STOP_ALL = 0x0,
RUMBLE_PISTOL = 0x1,
RUMBLE_357 = 0x2,
@ -1287,7 +1287,7 @@ pub mod cs2_dumper {
// Members count: 7
#[repr(u32)]
pub enum PlayerConnectedState {
PlayerNeverConnected = 0xFFFFFFFFFFFFFFFF,
PlayerNeverConnected = u32::MAX,
PlayerConnected = 0x0,
PlayerConnecting = 0x1,
PlayerReconnecting = 0x2,
@ -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; //
pub const m_hEntityBlocker: usize = 0xE80; // CHandle<CEntityBlocker>
}
// 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; // CHandle<CBasePropDoor>
pub const m_hMaster: usize = 0xC58; //
pub const m_OnBlockedClosing: usize = 0xC60; // CEntityIOOutput
pub const m_OnBlockedOpening: usize = 0xC88; // CEntityIOOutput
pub const m_OnUnblockedClosing: usize = 0xCB0; // CEntityIOOutput
@ -4464,7 +4464,7 @@ pub mod cs2_dumper {
pub const m_OnPostIdleEndSequence: usize = 0x5E0; // CEntityIOOutput
pub const m_OnCancelSequence: usize = 0x608; // CEntityIOOutput
pub const m_OnCancelFailedSequence: usize = 0x630; // CEntityIOOutput
pub const m_OnScriptEvent: usize = 0x658; //
pub const m_OnScriptEvent: usize = 0x658; // CEntityIOOutput[8]
pub const m_matOtherToMain: usize = 0x7A0; // CTransform
pub const m_hInteractionMainEntity: usize = 0x7C0; // CHandle<CBaseEntity>
pub const m_iPlayerDeathBehavior: usize = 0x7C4; // int32

View File

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

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@ -23,7 +23,7 @@ pub mod cs2_dumper {
// Members count: 10
#[repr(u16)]
pub enum VMixFilterType_t {
FILTER_UNKNOWN = 0xFFFFFFFFFFFFFFFF,
FILTER_UNKNOWN = u16::MAX,
FILTER_LOWPASS = 0x0,
FILTER_HIGHPASS = 0x1,
FILTER_BANDPASS = 0x2,

View File

@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: vphysics2.dll

View File

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

View File

@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![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-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
namespace CS2Dumper.Schemas {
// Module: worldrenderer.dll

View File

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

View File

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

View File

@ -227,17 +227,10 @@ fn read_enum_binding_members(
let enumerator = binding.enumerators.at(i as _).read(process)?;
let name = enumerator.name.read_string(process)?.to_string();
let value = {
let value = unsafe { enumerator.u.ulong } as i64;
if value == i64::MAX {
-1
} else {
value
}
};
acc.push(EnumMember { name, value });
acc.push(EnumMember {
name,
value: unsafe { enumerator.u.ulong } as i64,
});
Ok(acc)
})

View File

@ -296,7 +296,7 @@ impl CodeGen for SchemaMap {
self.write_content(results, indent_size, |fmt| {
writeln!(
fmt,
"#![allow(non_upper_case_globals, non_camel_case_types, unused)]\n"
"#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]\n"
)?;
fmt.block("pub mod cs2_dumper", false, |fmt| {
@ -341,7 +341,15 @@ impl CodeGen for SchemaMap {
.members
.iter()
.map(|member| {
format!("{} = {:#X}", member.name, member.value)
format!(
"{} = {}",
member.name,
if member.value == -1 {
format!("{}::MAX", type_name)
} else {
format!("{:#X}", member.value)
}
)
})
.collect::<Vec<_>>()
.join(",\n");