From 8855a0537ccf62e4f8dec29f637ca9d5052b3c27 Mon Sep 17 00:00:00 2001 From: Laiho Date: Wed, 29 Nov 2023 22:20:59 +0200 Subject: [PATCH] sneak in 2 moved props --- src/parser/src/maps.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/parser/src/maps.rs b/src/parser/src/maps.rs index 524e09b0..dec5406c 100644 --- a/src/parser/src/maps.rs +++ b/src/parser/src/maps.rs @@ -1719,6 +1719,8 @@ pub static TYPEHM: phf::Map<&'static str, PropType> = phf_map! { "CCSPlayerController.m_iPing"=> PropType::Controller, "entity_id" => PropType::Custom, + "CCSPlayerPawn.CCSPlayer_ItemServices.m_bHasDefuser" => PropType::Player, + "CCSPlayerPawn.CCSPlayer_ItemServices.m_bHasHelmet" => PropType::Player, "CCSPlayerPawn.m_MoveCollide" => PropType::Player, "CCSPlayerPawn.m_MoveType" => PropType::Player, "CCSPlayerPawn.m_iTeamNum" => PropType::Player, @@ -2091,8 +2093,9 @@ pub static FRIENDLY_NAMES_MAPPING: phf::Map<&'static str, &'static str> = phf_ma "user_id" => "user_id", "armor"=>"CCSPlayerController.m_iPawnArmor", - "has_defuser"=>"CCSPlayerController.m_bPawnHasDefuser", - "has_helmet"=>"CCSPlayerController.m_bPawnHasHelmet", + "has_defuser"=>"CCSPlayerPawn.CCSPlayer_ItemServices.m_bHasDefuser", + "has_helmet"=>"CCSPlayerPawn.CCSPlayer_ItemServices.m_bHasHelmet", + "spawn_time"=>"CCSPlayerController.m_iPawnLifetimeStart", "death_time"=>"CCSPlayerController.m_iPawnLifetimeEnd", "score"=>"CCSPlayerController.m_iScore",