mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-09-18 12:50:01 +08:00
Fix for latest game update
This commit is contained in:
@@ -7,9 +7,9 @@ use crate::source2::UtlVector;
|
||||
#[derive(Pod)]
|
||||
#[repr(C)]
|
||||
pub struct SchemaSystem {
|
||||
pad_0000: [u8; 0x190], // 0x0000
|
||||
pub type_scopes: UtlVector<Pointer64<SchemaSystemTypeScope>>, // 0x0190
|
||||
pad_01a0: [u8; 0x118], // 0x01A0
|
||||
pad_0000: [u8; 0x188], // 0x0000
|
||||
pub type_scopes: UtlVector<Pointer64<SchemaSystemTypeScope>>, // 0x0188
|
||||
pad_0198: [u8; 0x120], // 0x0198
|
||||
pub num_registrations: u32, // 0x02B8
|
||||
pad_02bc: [u8; 0xAC], // 0x02BC
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ pub struct SchemaSystemTypeScope {
|
||||
pad_0000: [u8; 0x8], // 0x0000
|
||||
pub name: [c_char; 256], // 0x0008
|
||||
pub global_scope: Pointer64<SchemaSystemTypeScope>, // 0x0108
|
||||
pad_0110: [u8; 0x4B0], // 0x0110
|
||||
pub class_bindings: UtlTsHash<Pointer64<SchemaClassBinding>>, // 0x05C0
|
||||
pub enum_bindings: UtlTsHash<Pointer64<SchemaEnumBinding>>, // 0x2E50
|
||||
pad_0110: [u8; 0x3F0], // 0x0110
|
||||
pub class_bindings: UtlTsHash<Pointer64<SchemaClassBinding>>, // 0x0500
|
||||
pub enum_bindings: UtlTsHash<Pointer64<SchemaEnumBinding>>, // 0x2D90
|
||||
}
|
||||
|
@@ -5,6 +5,7 @@ use crate::error::{Error, Result};
|
||||
#[repr(C)]
|
||||
pub struct UtlVector<T> {
|
||||
pub size: i32, // 0x0000
|
||||
pad_0004: [u8; 0x4], // 0x0004
|
||||
pub mem: Pointer64<[T]>, // 0x0008
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user