Entity systemClasses
CCSPlayerPawn
Schema class CCSPlayerPawn, derived from CCSPlayerPawnBase.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CCSPlayerPawn.h
Inherits CCSPlayerPawnBase
Fields
| Field | Type |
|---|---|
m_pBulletServices | CCSPlayer_BulletServices* |
m_pHostageServices | CCSPlayer_HostageServices* |
m_pBuyServices | CCSPlayer_BuyServices* |
m_pActionTrackingServices | CCSPlayer_ActionTrackingServices* |
m_pAimPunchServices | CCSPlayer_AimPunchServices* |
m_pRadioServices | CCSPlayer_RadioServices* |
m_pDamageReactServices | CCSPlayer_DamageReactServices* |
m_nCharacterDefIndex | uint16_t |
m_bHasFemaleVoice | bool |
m_strVOPrefix | CUtlString |
m_szLastPlaceName | char |
m_bInHostageResetZone | bool |
m_bInBuyZone | bool |
m_TouchingBuyZones | CUtlVector<CHandle<CBaseEntity>> |
m_bWasInBuyZone | bool |
m_bInHostageRescueZone | bool |
m_bInBombZone | bool |
m_bWasInHostageRescueZone | bool |
m_iRetakesOffering | int32_t |
m_iRetakesOfferingCard | int32_t |
m_bRetakesHasDefuseKit | bool |
m_bRetakesMVPLastRound | bool |
m_iRetakesMVPBoostItem | int32_t |
m_RetakesMVPBoostExtraUtility | loadout_slot_t |
m_flHealthShotBoostExpirationTime | float |
m_flLandingTimeSeconds | float |
m_bIsBuyMenuOpen | bool |
m_lastLandTime | float |
m_bOnGroundLastTick | bool |
m_iPlayerLocked | int32_t |
m_flTimeOfLastInjury | float |
m_flNextSprayDecalTime | float |
m_bNextSprayDecalTimeExpedited | bool |
m_nRagdollDamageBone | int32_t |
m_vRagdollDamageForce | Vector |
m_szRagdollDamageWeaponName | char |
m_bRagdollDamageHeadshot | bool |
m_vRagdollServerOrigin | Vector |
m_EconGloves | CEconItemView |
m_nEconGlovesChanged | uint8_t |
m_vecCurrentMinimapVolumes | CUtlVector<CHandle<CCSMinimapVolume>> |
m_hActiveMinimapVolume | CHandle<CCSMinimapVolume> |
m_qDeathEyeAngles | QAngle |
m_bLeftHanded | bool |
m_fSwitchedHandednessTime | float |
m_flViewmodelOffsetX | float |
m_flViewmodelOffsetY | float |
m_flViewmodelOffsetZ | float |
m_flViewmodelFOV | float |
m_bIsWalking | bool |
m_fLastGivenDefuserTime | float |
m_fLastGivenBombTime | float |
m_flDealtDamageToEnemyMostRecentTimestamp | float |
m_iDisplayHistoryBits | uint32_t |
m_flLastAttackedTeammate | float |
m_allowAutoFollowTime | float |
m_bResetArmorNextSpawn | bool |
m_nLastKillerIndex | CEntityIndex |
m_entitySpottedState | EntitySpottedState_t |
m_nSpotRules | int32_t |
m_bIsScoped | bool |
m_bResumeZoom | bool |
m_bIsDefusing | bool |
m_bIsGrabbingHostage | bool |
m_iBlockingUseActionInProgress | CSPlayerBlockingUseAction_t |
m_flEmitSoundTime | float |
m_bInNoDefuseArea | bool |
m_iBombSiteIndex | CEntityIndex |
m_nWhichBombZone | int32_t |
m_bInBombZoneTrigger | bool |
m_bWasInBombZoneTrigger | bool |
m_iShotsFired | int32_t |
m_flFlinchStack | float |
m_flVelocityModifier | float |
m_vecTotalBulletForce | Vector |
m_bWaitForNoAttack | bool |
m_ignoreLadderJumpTime | float |
m_bKilledByHeadshot | bool |
m_LastHitBox | int32_t |
m_pBot | CCSBot* |
m_bBotAllowActive | bool |
m_nLastPickupPriority | int32_t |
m_flLastPickupPriorityTime | float |
m_ArmorValue | int32_t |
m_unCurrentEquipmentValue | uint16_t |
m_unRoundStartEquipmentValue | uint16_t |
m_unFreezetimeEndEquipmentValue | uint16_t |
m_iLastWeaponFireUsercmd | int32_t |
m_bIsSpawning | bool |
m_iDeathFlags | int32_t |
m_bHasDeathInfo | bool |
m_flDeathInfoTime | float |
m_vecDeathInfoOrigin | Vector |
m_vecPlayerPatchEconIndices | uint32_t |
m_GunGameImmunityColor | Color |
m_grenadeParameterStashTime | float |
m_bGrenadeParametersStashed | bool |
m_angStashedShootAngles | QAngle |
m_vecStashedGrenadeThrowPosition | Vector |
m_vecStashedGrenadeThrowPawnCenter | Vector |
m_vecStashedVelocity | Vector |
m_bCommittingSuicideOnTeamChange | bool |
m_wasNotKilledNaturally | bool |
m_fImmuneToGunGameDamageTime | float |
m_bGunGameImmunity | bool |
m_fMolotovDamageTime | float |
m_angEyeAngles | QAngle |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).
Methods
GetEyeAngles
QAngle GetEyeAngles();Get the angles the pawn is actually looking along.
PostThink
void PostThink(HookChain eChain = HookChain::Run);Runs CCSPlayerPawn::PostThink.
| Parameter | Type | Default |
|---|---|---|
eChain | HookChain | HookChain::Run |