mirror of
https://github.com/a2x/cs2-dumper.git
synced 2026-04-17 19:49:58 +08:00
Refactor and move Linux code to separate branch
This commit is contained in:
21
src/source2/schema_system/schema_enumerator_info_data.rs
Normal file
21
src/source2/schema_system/schema_enumerator_info_data.rs
Normal file
@@ -0,0 +1,21 @@
|
||||
use memflow::prelude::v1::*;
|
||||
|
||||
use super::SchemaMetadataEntryData;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct SchemaEnumeratorInfoData {
|
||||
pub name: Pointer64<ReprCString>,
|
||||
pub u: SchemaEnumeratorInfoDataUnion,
|
||||
pub metadata_count: u32,
|
||||
pub metadata: Pointer64<SchemaMetadataEntryData>,
|
||||
}
|
||||
|
||||
unsafe impl Pod for SchemaEnumeratorInfoData {}
|
||||
|
||||
#[repr(C)]
|
||||
pub union SchemaEnumeratorInfoDataUnion {
|
||||
pub uchar: u8,
|
||||
pub ushort: u16,
|
||||
pub uint: u32,
|
||||
pub ulong: u64,
|
||||
}
|
||||
Reference in New Issue
Block a user