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

FieldType
m_CTouchExpansionComponentCTouchExpansionComponent
m_pPingServicesCCSPlayer_PingServices*
m_blindUntilTimefloat
m_blindStartTimefloat
m_iPlayerStateCSPlayerState
m_bRespawningbool
m_bHasMovedSinceSpawnbool
m_iNumSpawnsint32_t
m_flIdleTimeSinceLastActionfloat
m_fNextRadarUpdateTimefloat
m_flFlashDurationfloat
m_flFlashMaxAlphafloat
m_flProgressBarStartTimefloat
m_iProgressBarDurationint32_t
m_hOriginalControllerCHandle<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, ...).

On this page