7 const auto ptr = vmt.schema_system->get_netvar(
this,
"C_DOTAPlayerController",
"m_bHeroAssigned");
9 return value.value_or(0) != 0;
13 const auto ptr = vmt.schema_system->get_netvar(
this,
"C_DOTAPlayerController",
"m_hAssignedHero");
18 const auto ptr = vmt.schema_system->get_netvar(
this,
"CBasePlayerController",
"m_bIsLocalPlayerController");
20 return value.value_or(0) != 0;
Definition C_DOTAPlayerController.h:4
bool is_hero_assigned() const
Definition C_DOTAPlayerController.h:6
CHandle assigned_hero_handle() const
Definition C_DOTAPlayerController.h:12
bool is_local_player() const
Definition C_DOTAPlayerController.h:17
static optional< T > read_memory(const N &address)
Definition Memory.h:78