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

FieldType
m_pBulletServicesCCSPlayer_BulletServices*
m_pHostageServicesCCSPlayer_HostageServices*
m_pBuyServicesCCSPlayer_BuyServices*
m_pActionTrackingServicesCCSPlayer_ActionTrackingServices*
m_pAimPunchServicesCCSPlayer_AimPunchServices*
m_pRadioServicesCCSPlayer_RadioServices*
m_pDamageReactServicesCCSPlayer_DamageReactServices*
m_nCharacterDefIndexuint16_t
m_bHasFemaleVoicebool
m_strVOPrefixCUtlString
m_szLastPlaceNamechar
m_bInHostageResetZonebool
m_bInBuyZonebool
m_TouchingBuyZonesCUtlVector<CHandle<CBaseEntity>>
m_bWasInBuyZonebool
m_bInHostageRescueZonebool
m_bInBombZonebool
m_bWasInHostageRescueZonebool
m_iRetakesOfferingint32_t
m_iRetakesOfferingCardint32_t
m_bRetakesHasDefuseKitbool
m_bRetakesMVPLastRoundbool
m_iRetakesMVPBoostItemint32_t
m_RetakesMVPBoostExtraUtilityloadout_slot_t
m_flHealthShotBoostExpirationTimefloat
m_flLandingTimeSecondsfloat
m_bIsBuyMenuOpenbool
m_lastLandTimefloat
m_bOnGroundLastTickbool
m_iPlayerLockedint32_t
m_flTimeOfLastInjuryfloat
m_flNextSprayDecalTimefloat
m_bNextSprayDecalTimeExpeditedbool
m_nRagdollDamageBoneint32_t
m_vRagdollDamageForceVector
m_szRagdollDamageWeaponNamechar
m_bRagdollDamageHeadshotbool
m_vRagdollServerOriginVector
m_EconGlovesCEconItemView
m_nEconGlovesChangeduint8_t
m_vecCurrentMinimapVolumesCUtlVector<CHandle<CCSMinimapVolume>>
m_hActiveMinimapVolumeCHandle<CCSMinimapVolume>
m_qDeathEyeAnglesQAngle
m_bLeftHandedbool
m_fSwitchedHandednessTimefloat
m_flViewmodelOffsetXfloat
m_flViewmodelOffsetYfloat
m_flViewmodelOffsetZfloat
m_flViewmodelFOVfloat
m_bIsWalkingbool
m_fLastGivenDefuserTimefloat
m_fLastGivenBombTimefloat
m_flDealtDamageToEnemyMostRecentTimestampfloat
m_iDisplayHistoryBitsuint32_t
m_flLastAttackedTeammatefloat
m_allowAutoFollowTimefloat
m_bResetArmorNextSpawnbool
m_nLastKillerIndexCEntityIndex
m_entitySpottedStateEntitySpottedState_t
m_nSpotRulesint32_t
m_bIsScopedbool
m_bResumeZoombool
m_bIsDefusingbool
m_bIsGrabbingHostagebool
m_iBlockingUseActionInProgressCSPlayerBlockingUseAction_t
m_flEmitSoundTimefloat
m_bInNoDefuseAreabool
m_iBombSiteIndexCEntityIndex
m_nWhichBombZoneint32_t
m_bInBombZoneTriggerbool
m_bWasInBombZoneTriggerbool
m_iShotsFiredint32_t
m_flFlinchStackfloat
m_flVelocityModifierfloat
m_vecTotalBulletForceVector
m_bWaitForNoAttackbool
m_ignoreLadderJumpTimefloat
m_bKilledByHeadshotbool
m_LastHitBoxint32_t
m_pBotCCSBot*
m_bBotAllowActivebool
m_nLastPickupPriorityint32_t
m_flLastPickupPriorityTimefloat
m_ArmorValueint32_t
m_unCurrentEquipmentValueuint16_t
m_unRoundStartEquipmentValueuint16_t
m_unFreezetimeEndEquipmentValueuint16_t
m_iLastWeaponFireUsercmdint32_t
m_bIsSpawningbool
m_iDeathFlagsint32_t
m_bHasDeathInfobool
m_flDeathInfoTimefloat
m_vecDeathInfoOriginVector
m_vecPlayerPatchEconIndicesuint32_t
m_GunGameImmunityColorColor
m_grenadeParameterStashTimefloat
m_bGrenadeParametersStashedbool
m_angStashedShootAnglesQAngle
m_vecStashedGrenadeThrowPositionVector
m_vecStashedGrenadeThrowPawnCenterVector
m_vecStashedVelocityVector
m_bCommittingSuicideOnTeamChangebool
m_wasNotKilledNaturallybool
m_fImmuneToGunGameDamageTimefloat
m_bGunGameImmunitybool
m_fMolotovDamageTimefloat
m_angEyeAnglesQAngle

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.

ParameterTypeDefault
eChainHookChainHookChain::Run

On this page