Entity systemClasses
CCSPlayerPawnBase
Schema class CCSPlayerPawnBase, derived from CBasePlayerPawn.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CCSPlayerPawnBase.h
Inherits CBasePlayerPawn
Fields
| Field | Type |
|---|---|
m_CTouchExpansionComponent | CTouchExpansionComponent |
m_pPingServices | CCSPlayer_PingServices* |
m_blindUntilTime | float |
m_blindStartTime | float |
m_iPlayerState | CSPlayerState |
m_bRespawning | bool |
m_bHasMovedSinceSpawn | bool |
m_iNumSpawns | int32_t |
m_flIdleTimeSinceLastAction | float |
m_fNextRadarUpdateTime | float |
m_flFlashDuration | float |
m_flFlashMaxAlpha | float |
m_flProgressBarStartTime | float |
m_iProgressBarDuration | int32_t |
m_hOriginalController | CHandle<CCSPlayerController> |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).
Methods
GetOriginalController
CCSPlayerController* GetOriginalController();Get original controller.
CanMove
bool CanMove();Whether the pawn may move (false while frozen, defusing, ...).