mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-17 22:59:59 +08:00
Fix issue reading enums
This commit is contained in:
@@ -199,16 +199,18 @@ pub struct SchemaSystem {
|
||||
pad_02c4: [u8; 0x4], // 0x032C
|
||||
}
|
||||
|
||||
#[derive(Pod)]
|
||||
#[repr(C)]
|
||||
pub struct SchemaSystemTypeScope {
|
||||
pad_0000: [u8; 0x8], // 0x0000
|
||||
pub name: [c_char; 256], // 0x0008
|
||||
pad_0108: [u8; 0x518], // 0x0108
|
||||
pub class_bindings: UtlTsHash<Pointer64<SchemaClassBinding>>, // 0x0620
|
||||
pub enum_bindings: UtlTsHash<Pointer64<SchemaEnumBinding>>, // 0x2EB0
|
||||
pad_2eb0: [u8; 0x80e], // 0x2EB0
|
||||
pub enum_bindings: UtlTsHash<Pointer64<SchemaEnumBinding>>, // 0x36C0
|
||||
}
|
||||
|
||||
unsafe impl Pod for SchemaSystemTypeScope {}
|
||||
|
||||
#[repr(C)]
|
||||
pub struct SchemaType {
|
||||
pad_0000: [u8; 0x8], // 0x0000
|
||||
|
||||
Reference in New Issue
Block a user