diff --git a/Cargo.toml b/Cargo.toml index eb1e5d92..e82ebfd9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cs2-dumper" -version = "0.1.0" +version = "0.1.1" authors = ["a2x"] edition = "2021" readme = "README.md" diff --git a/output/animationsystem.dll.cs b/output/animationsystem.dll.cs index efc87ea4..f93c47b6 100644 --- a/output/animationsystem.dll.cs +++ b/output/animationsystem.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: animationsystem.dll diff --git a/output/animationsystem.dll.hpp b/output/animationsystem.dll.hpp index 08f80624..83a1317a 100644 --- a/output/animationsystem.dll.hpp +++ b/output/animationsystem.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/animationsystem.dll.rs b/output/animationsystem.dll.rs index 472fe16e..225a485a 100644 --- a/output/animationsystem.dll.rs +++ b/output/animationsystem.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/buttons.cs b/output/buttons.cs index 867e11bf..9d18acbd 100644 --- a/output/buttons.cs +++ b/output/buttons.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper { // Module: client.dll diff --git a/output/buttons.hpp b/output/buttons.hpp index 1c73dfa6..9395e9c9 100644 --- a/output/buttons.hpp +++ b/output/buttons.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/buttons.rs b/output/buttons.rs index b90610ec..d191518f 100644 --- a/output/buttons.rs +++ b/output/buttons.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, unused)] diff --git a/output/client.dll.cs b/output/client.dll.cs index deb6c051..92aac515 100644 --- a/output/client.dll.cs +++ b/output/client.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: client.dll diff --git a/output/client.dll.hpp b/output/client.dll.hpp index 85704b4b..00a82170 100644 --- a/output/client.dll.hpp +++ b/output/client.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/client.dll.rs b/output/client.dll.rs index e5e8e9f0..3c3df225 100644 --- a/output/client.dll.rs +++ b/output/client.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/engine2.dll.cs b/output/engine2.dll.cs index 9b1606d3..71f93a56 100644 --- a/output/engine2.dll.cs +++ b/output/engine2.dll.cs @@ -1,9 +1,9 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: engine2.dll - // Classes count: 48 + // Classes count: 44 // Enums count: 4 public static class Engine2Dll { // Alignment: 4 @@ -288,21 +288,5 @@ namespace CS2Dumper.Schemas { // Fields count: 0 public static class EventServerPollNetworking_t { } - // Parent: None - // Fields count: 0 - public static class { - } - // Parent: None - // Fields count: 0 - public static class { - } - // Parent: None - // Fields count: 0 - public static class { - } - // Parent: None - // Fields count: 0 - public static class { - } } } diff --git a/output/engine2.dll.hpp b/output/engine2.dll.hpp index 655c56fe..c59350c9 100644 --- a/output/engine2.dll.hpp +++ b/output/engine2.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once @@ -8,7 +8,7 @@ namespace cs2_dumper { namespace schemas { // Module: engine2.dll - // Classes count: 48 + // Classes count: 44 // Enums count: 4 namespace engine2_dll { // Alignment: 4 @@ -293,22 +293,6 @@ namespace cs2_dumper { // Fields count: 0 namespace EventServerPollNetworking_t { } - // Parent: None - // Fields count: 0 - namespace { - } - // Parent: None - // Fields count: 0 - namespace { - } - // Parent: None - // Fields count: 0 - namespace { - } - // Parent: None - // Fields count: 0 - namespace { - } } } } diff --git a/output/engine2.dll.json b/output/engine2.dll.json index 1adec376..db863cb8 100644 --- a/output/engine2.dll.json +++ b/output/engine2.dll.json @@ -1,11 +1,6 @@ { "engine2.dll": { "classes": { - "": { - "fields": {}, - "metadata": [], - "parent": null - }, "CEmptyEntityInstance": { "fields": {}, "metadata": [], diff --git a/output/engine2.dll.rs b/output/engine2.dll.rs index 53b62fdb..f7be3c90 100644 --- a/output/engine2.dll.rs +++ b/output/engine2.dll.rs @@ -1,12 +1,12 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] pub mod cs2_dumper { pub mod schemas { // Module: engine2.dll - // Classes count: 48 + // Classes count: 44 // Enums count: 4 pub mod engine2_dll { // Alignment: 4 @@ -295,22 +295,6 @@ pub mod cs2_dumper { // Fields count: 0 pub mod EventServerPollNetworking_t { } - // Parent: None - // Fields count: 0 - pub mod { - } - // Parent: None - // Fields count: 0 - pub mod { - } - // Parent: None - // Fields count: 0 - pub mod { - } - // Parent: None - // Fields count: 0 - pub mod { - } } } } diff --git a/output/host.dll.cs b/output/host.dll.cs index 27ca7916..5629f495 100644 --- a/output/host.dll.cs +++ b/output/host.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: host.dll diff --git a/output/host.dll.hpp b/output/host.dll.hpp index 1144bc8d..98a7fc9b 100644 --- a/output/host.dll.hpp +++ b/output/host.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/host.dll.rs b/output/host.dll.rs index 113ed85c..b972c55d 100644 --- a/output/host.dll.rs +++ b/output/host.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/info.json b/output/info.json index 9514e17d..6893d761 100644 --- a/output/info.json +++ b/output/info.json @@ -1,4 +1,4 @@ { "build_number": 14009, - "timestamp": "2024-05-24T01:30:25.777667800+00:00" + "timestamp": "2024-05-24T10:58:30.509826500+00:00" } \ No newline at end of file diff --git a/output/interfaces.cs b/output/interfaces.cs index de85d018..71267c6c 100644 --- a/output/interfaces.cs +++ b/output/interfaces.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Interfaces { // Module: animationsystem.dll diff --git a/output/interfaces.hpp b/output/interfaces.hpp index 409d78ab..833068e5 100644 --- a/output/interfaces.hpp +++ b/output/interfaces.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/interfaces.rs b/output/interfaces.rs index dc5c263a..f173f75f 100644 --- a/output/interfaces.rs +++ b/output/interfaces.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, unused)] diff --git a/output/materialsystem2.dll.cs b/output/materialsystem2.dll.cs index 1ef7da27..aa65c638 100644 --- a/output/materialsystem2.dll.cs +++ b/output/materialsystem2.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: materialsystem2.dll diff --git a/output/materialsystem2.dll.hpp b/output/materialsystem2.dll.hpp index 1e01ac19..7d1d24d9 100644 --- a/output/materialsystem2.dll.hpp +++ b/output/materialsystem2.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/materialsystem2.dll.rs b/output/materialsystem2.dll.rs index f5874fee..52e5463a 100644 --- a/output/materialsystem2.dll.rs +++ b/output/materialsystem2.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/networksystem.dll.cs b/output/networksystem.dll.cs index 637e8e9e..a066e5fe 100644 --- a/output/networksystem.dll.cs +++ b/output/networksystem.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: networksystem.dll diff --git a/output/networksystem.dll.hpp b/output/networksystem.dll.hpp index 6e44b872..b7661835 100644 --- a/output/networksystem.dll.hpp +++ b/output/networksystem.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/networksystem.dll.rs b/output/networksystem.dll.rs index ec89788a..8304e29b 100644 --- a/output/networksystem.dll.rs +++ b/output/networksystem.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/offsets.cs b/output/offsets.cs index dc912f6a..f61ee64d 100644 --- a/output/offsets.cs +++ b/output/offsets.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Offsets { // Module: client.dll diff --git a/output/offsets.hpp b/output/offsets.hpp index bf868013..af9f6d4a 100644 --- a/output/offsets.hpp +++ b/output/offsets.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/offsets.rs b/output/offsets.rs index 81ebb276..b5d79dab 100644 --- a/output/offsets.rs +++ b/output/offsets.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, unused)] diff --git a/output/panorama.dll.cs b/output/panorama.dll.cs index 27035941..bc8eddf5 100644 --- a/output/panorama.dll.cs +++ b/output/panorama.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: panorama.dll diff --git a/output/panorama.dll.hpp b/output/panorama.dll.hpp index 9e2c59a2..812ad112 100644 --- a/output/panorama.dll.hpp +++ b/output/panorama.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/panorama.dll.rs b/output/panorama.dll.rs index ee36790f..fd7f1d38 100644 --- a/output/panorama.dll.rs +++ b/output/panorama.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/particles.dll.cs b/output/particles.dll.cs index 515ee340..7f646fb3 100644 --- a/output/particles.dll.cs +++ b/output/particles.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: particles.dll diff --git a/output/particles.dll.hpp b/output/particles.dll.hpp index 8d5414cf..246d8fb2 100644 --- a/output/particles.dll.hpp +++ b/output/particles.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/particles.dll.rs b/output/particles.dll.rs index 471c87ca..3d2c3f85 100644 --- a/output/particles.dll.rs +++ b/output/particles.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] @@ -243,8 +243,7 @@ pub mod cs2_dumper { #[repr(u32)] pub enum ParticleParentSetMode_t { PARTICLE_SET_PARENT_NO = 0x0, - PARTICLE_SET_PARENT_IMMEDIATE = 0x1, - PARTICLE_SET_PARENT_ROOT = 0x1 + PARTICLE_SET_PARENT_IMMEDIATE = 0x1 } // Alignment: 4 // Members count: 5 diff --git a/output/pulse_system.dll.cs b/output/pulse_system.dll.cs index 5af82bf5..08763d73 100644 --- a/output/pulse_system.dll.cs +++ b/output/pulse_system.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: pulse_system.dll diff --git a/output/pulse_system.dll.hpp b/output/pulse_system.dll.hpp index db44a602..ff28051c 100644 --- a/output/pulse_system.dll.hpp +++ b/output/pulse_system.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/pulse_system.dll.rs b/output/pulse_system.dll.rs index 00ea3174..504869c9 100644 --- a/output/pulse_system.dll.rs +++ b/output/pulse_system.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/rendersystemdx11.dll.cs b/output/rendersystemdx11.dll.cs index 01e074ea..9cf25ff5 100644 --- a/output/rendersystemdx11.dll.cs +++ b/output/rendersystemdx11.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: rendersystemdx11.dll diff --git a/output/rendersystemdx11.dll.hpp b/output/rendersystemdx11.dll.hpp index dad09f94..2cc76968 100644 --- a/output/rendersystemdx11.dll.hpp +++ b/output/rendersystemdx11.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/rendersystemdx11.dll.rs b/output/rendersystemdx11.dll.rs index ac5a51bb..84abb755 100644 --- a/output/rendersystemdx11.dll.rs +++ b/output/rendersystemdx11.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/resourcesystem.dll.cs b/output/resourcesystem.dll.cs index bf3f2e69..54b253e5 100644 --- a/output/resourcesystem.dll.cs +++ b/output/resourcesystem.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: resourcesystem.dll diff --git a/output/resourcesystem.dll.hpp b/output/resourcesystem.dll.hpp index a91923bc..cc718ed5 100644 --- a/output/resourcesystem.dll.hpp +++ b/output/resourcesystem.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/resourcesystem.dll.rs b/output/resourcesystem.dll.rs index d37f5a12..6b3519e7 100644 --- a/output/resourcesystem.dll.rs +++ b/output/resourcesystem.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/scenesystem.dll.cs b/output/scenesystem.dll.cs index 546eaf84..fe2d64d7 100644 --- a/output/scenesystem.dll.cs +++ b/output/scenesystem.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: scenesystem.dll diff --git a/output/scenesystem.dll.hpp b/output/scenesystem.dll.hpp index 6cf60afb..833c45bb 100644 --- a/output/scenesystem.dll.hpp +++ b/output/scenesystem.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/scenesystem.dll.rs b/output/scenesystem.dll.rs index 113aa0c6..b4ac6641 100644 --- a/output/scenesystem.dll.rs +++ b/output/scenesystem.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/schemasystem.dll.cs b/output/schemasystem.dll.cs index f38fc39d..51e94fbe 100644 --- a/output/schemasystem.dll.cs +++ b/output/schemasystem.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: schemasystem.dll diff --git a/output/schemasystem.dll.hpp b/output/schemasystem.dll.hpp index af9b1e3f..c5c45239 100644 --- a/output/schemasystem.dll.hpp +++ b/output/schemasystem.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/schemasystem.dll.rs b/output/schemasystem.dll.rs index cbdeb9b5..776dbb6d 100644 --- a/output/schemasystem.dll.rs +++ b/output/schemasystem.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/server.dll.cs b/output/server.dll.cs index d5d52891..7b48ecf7 100644 --- a/output/server.dll.cs +++ b/output/server.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: server.dll diff --git a/output/server.dll.hpp b/output/server.dll.hpp index 9ba103f8..2c613e5a 100644 --- a/output/server.dll.hpp +++ b/output/server.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/server.dll.rs b/output/server.dll.rs index 0d5e2e5d..59066354 100644 --- a/output/server.dll.rs +++ b/output/server.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] @@ -238,8 +238,7 @@ pub mod cs2_dumper { USE_ROTATION_EXPANDED_BOUNDS = 0x5, USE_ROTATION_EXPANDED_ORIENTED_BOUNDS = 0x6, USE_COLLISION_BOUNDS_NEVER_VPHYSICS = 0x7, - USE_ROTATION_EXPANDED_SEQUENCE_BOUNDS = 0x8, - SURROUNDING_TYPE_BIT_COUNT = 0x3 + USE_ROTATION_EXPANDED_SEQUENCE_BOUNDS = 0x8 } // Alignment: 4 // Members count: 5 @@ -594,11 +593,7 @@ pub mod cs2_dumper { TS_AT_TOP = 0x0, TS_AT_BOTTOM = 0x1, TS_GOING_UP = 0x2, - TS_GOING_DOWN = 0x3, - DOOR_OPEN = 0x0, - DOOR_CLOSED = 0x1, - DOOR_OPENING = 0x2, - DOOR_CLOSING = 0x3 + TS_GOING_DOWN = 0x3 } // Alignment: 4 // Members count: 74 @@ -608,8 +603,6 @@ pub mod cs2_dumper { LOADOUT_SLOT_INVALID = u32::MAX, LOADOUT_SLOT_MELEE = 0x0, LOADOUT_SLOT_C4 = 0x1, - LOADOUT_SLOT_FIRST_AUTO_BUY_WEAPON = 0x0, - LOADOUT_SLOT_LAST_AUTO_BUY_WEAPON = 0x1, LOADOUT_SLOT_SECONDARY0 = 0x2, LOADOUT_SLOT_SECONDARY1 = 0x3, LOADOUT_SLOT_SECONDARY2 = 0x4, @@ -634,32 +627,22 @@ pub mod cs2_dumper { LOADOUT_SLOT_HEAVY3 = 0x17, LOADOUT_SLOT_HEAVY4 = 0x18, LOADOUT_SLOT_HEAVY5 = 0x19, - LOADOUT_SLOT_FIRST_WHEEL_WEAPON = 0x2, - LOADOUT_SLOT_LAST_WHEEL_WEAPON = 0x19, - LOADOUT_SLOT_FIRST_PRIMARY_WEAPON = 0x8, - LOADOUT_SLOT_LAST_PRIMARY_WEAPON = 0x19, LOADOUT_SLOT_FIRST_WHEEL_GRENADE = 0x1A, - LOADOUT_SLOT_GRENADE0 = 0x1A, LOADOUT_SLOT_GRENADE1 = 0x1B, LOADOUT_SLOT_GRENADE2 = 0x1C, LOADOUT_SLOT_GRENADE3 = 0x1D, LOADOUT_SLOT_GRENADE4 = 0x1E, LOADOUT_SLOT_GRENADE5 = 0x1F, - LOADOUT_SLOT_LAST_WHEEL_GRENADE = 0x1F, LOADOUT_SLOT_EQUIPMENT0 = 0x20, LOADOUT_SLOT_EQUIPMENT1 = 0x21, LOADOUT_SLOT_EQUIPMENT2 = 0x22, LOADOUT_SLOT_EQUIPMENT3 = 0x23, LOADOUT_SLOT_EQUIPMENT4 = 0x24, LOADOUT_SLOT_EQUIPMENT5 = 0x25, - LOADOUT_SLOT_FIRST_WHEEL_EQUIPMENT = 0x20, - LOADOUT_SLOT_LAST_WHEEL_EQUIPMENT = 0x25, LOADOUT_SLOT_CLOTHING_CUSTOMPLAYER = 0x26, LOADOUT_SLOT_CLOTHING_CUSTOMHEAD = 0x27, LOADOUT_SLOT_CLOTHING_FACEMASK = 0x28, LOADOUT_SLOT_CLOTHING_HANDS = 0x29, - LOADOUT_SLOT_FIRST_COSMETIC = 0x29, - LOADOUT_SLOT_LAST_COSMETIC = 0x29, LOADOUT_SLOT_CLOTHING_EYEWEAR = 0x2A, LOADOUT_SLOT_CLOTHING_HAT = 0x2B, LOADOUT_SLOT_CLOTHING_LOWERBODY = 0x2C, @@ -675,8 +658,6 @@ pub mod cs2_dumper { LOADOUT_SLOT_MUSICKIT = 0x36, LOADOUT_SLOT_FLAIR0 = 0x37, LOADOUT_SLOT_SPRAY0 = 0x38, - LOADOUT_SLOT_FIRST_ALL_CHARACTER = 0x36, - LOADOUT_SLOT_LAST_ALL_CHARACTER = 0x38, LOADOUT_SLOT_COUNT = 0x39 } // Alignment: 4 @@ -688,7 +669,6 @@ pub mod cs2_dumper { NAV_MESH_NON_ZUP = 0x8000, NAV_MESH_SHORT_HEIGHT = 0x10000, NAV_MESH_NON_ZUP_TRANSITION = 0x20000, - NAV_MESH_CROUCH = 0x10000, NAV_MESH_JUMP = 0x2, NAV_MESH_PRECISE = 0x4, NAV_MESH_NO_JUMP = 0x8, @@ -769,8 +749,7 @@ pub mod cs2_dumper { pub enum BeamClipStyle_t { kNOCLIP = 0x0, kGEOCLIP = 0x1, - kMODELCLIP = 0x2, - kBEAMCLIPSTYLE_NUMBITS = 0x2 + kMODELCLIP = 0x2 } // Alignment: 4 // Members count: 4 @@ -876,9 +855,7 @@ pub mod cs2_dumper { GEAR_SLOT_RESERVED_SLOT11 = 0xA, GEAR_SLOT_BOOSTS = 0xB, GEAR_SLOT_UTILITY = 0xC, - GEAR_SLOT_COUNT = 0xD, - GEAR_SLOT_FIRST = 0x0, - GEAR_SLOT_LAST = 0xC + GEAR_SLOT_COUNT = 0xD } // Alignment: 4 // Members count: 10 @@ -990,7 +967,6 @@ pub mod cs2_dumper { IN_SPEED = 0x10000, IN_JOYAUTOSPRINT = 0x20000, IN_FIRST_MOD_SPECIFIC_BIT = 0x100000000, - IN_USEORRELOAD = 0x100000000, IN_SCORE = 0x200000000, IN_ZOOM = 0x400000000, IN_LOOK_AT_WEAPON = 0x800000000 @@ -1083,8 +1059,7 @@ pub mod cs2_dumper { #[repr(u32)] pub enum AmmoFlags_t { AMMO_FORCE_DROP_IF_CARRIED = 0x1, - AMMO_RESERVE_STAYS_WITH_WEAPON = 0x2, - AMMO_FLAG_MAX = 0x2 + AMMO_RESERVE_STAYS_WITH_WEAPON = 0x2 } // Alignment: 4 // Members count: 6 @@ -1393,7 +1368,6 @@ pub mod cs2_dumper { DMG_DISSOLVE = 0x200000, DMG_BLAST_SURFACE = 0x400000, DMG_BUCKSHOT = 0x1000000, - DMG_LASTGENERICFLAG = 0x1000000, DMG_HEADSHOT = 0x2000000, DMG_DANGERZONE = 0x4000000 } @@ -1420,8 +1394,7 @@ pub mod cs2_dumper { MOVECOLLIDE_FLY_BOUNCE = 0x1, MOVECOLLIDE_FLY_CUSTOM = 0x2, MOVECOLLIDE_FLY_SLIDE = 0x3, - MOVECOLLIDE_COUNT = 0x4, - MOVECOLLIDE_MAX_BITS = 0x3 + MOVECOLLIDE_COUNT = 0x4 } // Alignment: 4 // Members count: 7 @@ -1607,7 +1580,6 @@ pub mod cs2_dumper { DFLAG_ALWAYS_FIRE_DAMAGE_EVENTS = 0x200, DFLAG_RADIUS_DMG = 0x400, DFLAG_FORCEREDUCEARMOR_DMG = 0x800, - DMG_LASTDFLAG = 0x800, DFLAG_IGNORE_ARMOR = 0x1000, DFLAG_SUPPRESS_UTILREMOVE = 0x2000 } @@ -1626,12 +1598,7 @@ pub mod cs2_dumper { D_HT = 0x1, D_FR = 0x2, D_LI = 0x3, - D_NU = 0x4, - D_ERROR = 0x0, - D_HATE = 0x1, - D_FEAR = 0x2, - D_LIKE = 0x3, - D_NEUTRAL = 0x4 + D_NU = 0x4 } // Alignment: 4 // Members count: 3 @@ -1693,9 +1660,7 @@ pub mod cs2_dumper { MOVETYPE_OBSERVER = 0x8, MOVETYPE_LADDER = 0x9, MOVETYPE_CUSTOM = 0xA, - MOVETYPE_LAST = 0xB, - MOVETYPE_INVALID = 0xB, - MOVETYPE_MAX_BITS = 0x5 + MOVETYPE_LAST = 0xB } // Parent: CBaseCombatCharacter // Fields count: 1 diff --git a/output/soundsystem.dll.cs b/output/soundsystem.dll.cs index 6ecfb184..74b0448f 100644 --- a/output/soundsystem.dll.cs +++ b/output/soundsystem.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: soundsystem.dll diff --git a/output/soundsystem.dll.hpp b/output/soundsystem.dll.hpp index 2afcc7ec..5db144b3 100644 --- a/output/soundsystem.dll.hpp +++ b/output/soundsystem.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/soundsystem.dll.rs b/output/soundsystem.dll.rs index a7c69948..d6efb782 100644 --- a/output/soundsystem.dll.rs +++ b/output/soundsystem.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] @@ -135,14 +135,11 @@ pub mod cs2_dumper { SNDLVL_50dB = 0x32, SNDLVL_55dB = 0x37, SNDLVL_IDLE = 0x3C, - SNDLVL_60dB = 0x3C, SNDLVL_65dB = 0x41, SNDLVL_STATIC = 0x42, SNDLVL_70dB = 0x46, SNDLVL_NORM = 0x4B, - SNDLVL_75dB = 0x4B, SNDLVL_80dB = 0x50, - SNDLVL_TALKING = 0x50, SNDLVL_85dB = 0x55, SNDLVL_90dB = 0x5A, SNDLVL_95dB = 0x5F, @@ -152,7 +149,6 @@ pub mod cs2_dumper { SNDLVL_120dB = 0x78, SNDLVL_130dB = 0x82, SNDLVL_GUNFIRE = 0x8C, - SNDLVL_140dB = 0x8C, SNDLVL_150dB = 0x96, SNDLVL_180dB = 0xB4 } @@ -212,8 +208,7 @@ pub mod cs2_dumper { FILTER_SLOPE_12dB = 0x4, FILTER_SLOPE_24dB = 0x5, FILTER_SLOPE_36dB = 0x6, - FILTER_SLOPE_48dB = 0x7, - FILTER_SLOPE_MAX = 0x7 + FILTER_SLOPE_48dB = 0x7 } // Alignment: 4 // Members count: 8 diff --git a/output/vphysics2.dll.cs b/output/vphysics2.dll.cs index 6beeecea..66200c0f 100644 --- a/output/vphysics2.dll.cs +++ b/output/vphysics2.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: vphysics2.dll diff --git a/output/vphysics2.dll.hpp b/output/vphysics2.dll.hpp index d5d4cf20..78dbf869 100644 --- a/output/vphysics2.dll.hpp +++ b/output/vphysics2.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/vphysics2.dll.rs b/output/vphysics2.dll.rs index eafe7602..c14719bd 100644 --- a/output/vphysics2.dll.rs +++ b/output/vphysics2.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/output/worldrenderer.dll.cs b/output/worldrenderer.dll.cs index db147730..22cdae95 100644 --- a/output/worldrenderer.dll.cs +++ b/output/worldrenderer.dll.cs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC namespace CS2Dumper.Schemas { // Module: worldrenderer.dll diff --git a/output/worldrenderer.dll.hpp b/output/worldrenderer.dll.hpp index f8555cb6..d95fa5aa 100644 --- a/output/worldrenderer.dll.hpp +++ b/output/worldrenderer.dll.hpp @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #pragma once diff --git a/output/worldrenderer.dll.rs b/output/worldrenderer.dll.rs index 012f995c..fa4f5498 100644 --- a/output/worldrenderer.dll.rs +++ b/output/worldrenderer.dll.rs @@ -1,5 +1,5 @@ // Generated using https://github.com/a2x/cs2-dumper -// 2024-05-24 01:30:25.777667800 UTC +// 2024-05-24 10:58:30.509826500 UTC #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, unused)] diff --git a/src/analysis/schemas.rs b/src/analysis/schemas.rs index 40a7e64f..87842d88 100644 --- a/src/analysis/schemas.rs +++ b/src/analysis/schemas.rs @@ -89,6 +89,10 @@ fn read_class_binding( let name = binding.name.read_string(process)?.to_string(); + if name.is_empty() { + return Err(Error::Other("empty class name")); + } + let parent = binding.base_classes.non_null().and_then(|ptr| { let base_class = ptr.read(process).ok()?; let parent_class = base_class.prev.read(process).ok()?; @@ -215,6 +219,10 @@ fn read_enum_binding( let binding = binding_ptr.read(process)?; let name = binding.name.read_string(process)?.to_string(); + if name.is_empty() { + return Err(Error::Other("empty enum name")); + } + let members = read_enum_binding_members(process, &binding)?; debug!( diff --git a/src/output/buttons.rs b/src/output/buttons.rs index f37953ec..0fd0e542 100644 --- a/src/output/buttons.rs +++ b/src/output/buttons.rs @@ -53,7 +53,7 @@ impl CodeWriter for Vec