mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-04-23 11:45:34 +08:00
25 lines
1.1 KiB
Rust
25 lines
1.1 KiB
Rust
use memflow::prelude::v1::*;
|
|
|
|
use super::{SchemaEnumeratorInfoData, SchemaMetadataEntryData, SchemaSystemTypeScope};
|
|
|
|
pub type SchemaEnumBinding = SchemaEnumInfoData;
|
|
|
|
#[rustfmt::skip]
|
|
#[derive(Pod)]
|
|
#[repr(C)]
|
|
pub struct SchemaEnumInfoData {
|
|
pub base: Pointer64<SchemaEnumInfoData>, // 0x0000
|
|
pub name: Pointer64<ReprCString>, // 0x0008
|
|
pub module_name: Pointer64<ReprCString>, // 0x0010
|
|
pub size: u8, // 0x0018
|
|
pub align_of: u8, // 0x0019
|
|
pad_001a: [u8; 0x2], // 0x001A
|
|
pub enum_count: u16, // 0x001C
|
|
pub static_metadata_count: u16, // 0x001E
|
|
pub enums: Pointer64<[SchemaEnumeratorInfoData]>, // 0x0020
|
|
pub static_metadata: Pointer64<SchemaMetadataEntryData>, // 0x0028
|
|
pub type_scope: Pointer64<SchemaSystemTypeScope>, // 0x0030
|
|
pub min_enum_value: i64, // 0x0038
|
|
pub max_enum_value: i64, // 0x0040
|
|
}
|