Fix for enum values that could be out of range for their datatype

This commit is contained in:
a2x
2024-04-07 15:35:48 +10:00
parent 7c9d594ca6
commit 9f37324266
69 changed files with 177 additions and 176 deletions

View File

@@ -1,7 +1,7 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-06 17:17:10.780616100 UTC
// 2024-04-07 05:30:39.851724900 UTC
#![allow(non_upper_case_globals, non_camel_case_types, unused)]
#![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)]
pub mod cs2_dumper {
pub mod schemas {
@@ -21,7 +21,7 @@ pub mod cs2_dumper {
// Members count: 4
#[repr(u32)]
pub enum EntityIOTargetType_t {
ENTITY_IO_TARGET_INVALID = 0xFFFFFFFFFFFFFFFF,
ENTITY_IO_TARGET_INVALID = u32::MAX,
ENTITY_IO_TARGET_ENTITYNAME = 0x2,
ENTITY_IO_TARGET_EHANDLE = 0x6,
ENTITY_IO_TARGET_ENTITYNAME_OR_CLASSNAME = 0x7