Fix issue reading enums

This commit is contained in:
a2x
2024-04-16 12:48:15 +10:00
parent 1e88a527a2
commit 23072c2456
77 changed files with 15104 additions and 262 deletions

View File

@@ -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