Overview
Clients (including TFBots) are instances of this class.
Source location : /game/server/tf2/tf_player.h
Linked entity : player
SendProps
CTFPlayer
Name
|
Type
|
Description
|
m_flPoseParameter
|
Integer
|
|
m_flPlaybackRate
|
Integer
|
|
m_nSequence
|
Integer
|
|
m_nBody
|
Integer
|
|
m_angRotation
|
Integer
|
|
overlay_vars
|
Integer
|
|
m_nModelIndex
|
Integer
|
|
m_vecOrigin
|
Integer
|
|
m_flCycle
|
Integer
|
|
m_flAnimTime
|
Integer
|
|
m_flexWeight
|
Integer
|
|
m_blinktoggle
|
Integer
|
|
m_viewtarget
|
Integer
|
|
m_bSaveMeParity
|
Boolean
|
|
m_bIsMiniBoss
|
Boolean
|
|
m_bIsABot
|
Boolean
|
|
m_nBotSkill
|
Integer
|
|
m_nWaterLevel
|
Integer
|
|
m_hRagdoll
|
Integer
|
|
m_PlayerClass
|
m_iClass
|
Integer
|
|
m_iszClassIcon
|
String
|
|
m_iszCustomModel
|
String
|
|
m_vecCustomModelOffset
|
Vector
|
|
m_angCustomModelRotation
|
Vector
|
|
m_bCustomModelRotates
|
Boolean
|
|
m_bCustomModelRotationSet
|
Boolean
|
|
m_bCustomModelVisibleToSelf
|
Boolean
|
|
m_bUseClassAnimations
|
Boolean
|
|
m_iClassModelParity
|
Integer
|
|
|
m_Shared
|
m_nPlayerCond
|
Integer
|
|
m_bJumping
|
Boolean
|
|
m_nNumHealers
|
Integer
|
|
m_iCritMult
|
Integer
|
|
m_iAirDash
|
Integer
|
|
m_nAirDucked
|
Integer
|
|
m_flDuckTimer
|
Float
|
|
m_nPlayerState
|
Integer
|
|
m_iDesiredPlayerClass
|
Integer
|
|
m_flMovementStunTime
|
Float
|
|
m_iMovementStunAmount
|
Integer
|
|
m_iMovementStunParity
|
Integer
|
|
m_hStunner
|
Integer
|
|
m_iStunFlags
|
Integer
|
|
m_nArenaNumChanges
|
Integer
|
|
m_bArenaFirstBloodBoost
|
Boolean
|
|
m_iWeaponKnockbackID
|
Integer
|
|
m_bLoadoutUnavailable
|
Boolean
|
|
m_iItemFindBonus
|
Integer
|
|
m_bShieldEquipped
|
Boolean
|
|
m_bParachuteEquipped
|
Boolean
|
|
m_iNextMeleeCrit
|
Integer
|
|
m_iDecapitations
|
Integer
|
|
m_iRevengeCrits
|
Integer
|
|
m_iDisguiseBody
|
Integer
|
|
m_hCarriedObject
|
Integer
|
|
m_bCarryingObject
|
Boolean
|
|
m_flNextNoiseMakerTime
|
Float
|
|
m_iSpawnRoomTouchCount
|
Integer
|
|
m_iKillCountSinceLastDeploy
|
Integer
|
|
m_flFirstPrimaryAttack
|
Float
|
|
m_flEnergyDrinkMeter
|
Float
|
|
m_flHypeMeter
|
Float
|
|
m_flChargeMeter
|
Float
|
|
m_flInvisChangeCompleteTime
|
Float
|
|
m_nDisguiseTeam
|
Integer
|
|
m_nDisguiseClass
|
Integer
|
|
m_nDisguiseSkinOverride
|
Boolean
|
|
m_nMaskClass
|
Integer
|
|
m_iDisguiseTargetIndex
|
Integer
|
|
m_iDisguiseHealth
|
Integer
|
|
m_bFeignDeathReady
|
Boolean
|
|
m_hDisguiseWeapon
|
Integer
|
|
m_nTeamTeleporterUsed
|
Integer
|
|
m_flCloakMeter
|
Float
|
|
m_flSpyTranqBuffDuration
|
Float
|
|
tfsharedlocaldata
|
m_nDesiredDisguiseTeam
|
Integer
|
|
m_nDesiredDisguiseClass
|
Integer
|
|
m_bLastDisguisedAsOwnTeam
|
Boolean
|
|
m_flStealthNoAttackExpire
|
Float
|
|
m_flStealthNextChangeTime
|
Float
|
|
m_flRageMeter
|
Float
|
|
m_bRageDraining
|
Boolean
|
|
m_flNextRageEarnTime
|
Float
|
|
m_bInUpgradeZone
|
Boolean
|
|
m_flItemChargeMeter
|
000
|
Float
|
|
001
|
Float
|
|
002
|
Float
|
|
003
|
Float
|
|
004
|
Float
|
|
005
|
Float
|
|
006
|
Float
|
|
007
|
Float
|
|
008
|
Float
|
|
009
|
Float
|
|
010
|
Float
|
|
|
m_bPlayerDominated
|
000
|
Boolean
|
|
001
|
Boolean
|
|
002
|
Boolean
|
|
003
|
Boolean
|
|
004
|
Boolean
|
|
005
|
Boolean
|
|
006
|
Boolean
|
|
007
|
Boolean
|
|
008
|
Boolean
|
|
009
|
Boolean
|
|
010
|
Boolean
|
|
011
|
Boolean
|
|
012
|
Boolean
|
|
013
|
Boolean
|
|
014
|
Boolean
|
|
015
|
Boolean
|
|
016
|
Boolean
|
|
017
|
Boolean
|
|
018
|
Boolean
|
|
019
|
Boolean
|
|
020
|
Boolean
|
|
021
|
Boolean
|
|
022
|
Boolean
|
|
023
|
Boolean
|
|
024
|
Boolean
|
|
025
|
Boolean
|
|
026
|
Boolean
|
|
027
|
Boolean
|
|
028
|
Boolean
|
|
029
|
Boolean
|
|
030
|
Boolean
|
|
031
|
Boolean
|
|
032
|
Boolean
|
|
033
|
Boolean
|
|
|
m_bPlayerDominatingMe
|
000
|
Boolean
|
|
001
|
Boolean
|
|
002
|
Boolean
|
|
003
|
Boolean
|
|
004
|
Boolean
|
|
005
|
Boolean
|
|
006
|
Boolean
|
|
007
|
Boolean
|
|
008
|
Boolean
|
|
009
|
Boolean
|
|
010
|
Boolean
|
|
011
|
Boolean
|
|
012
|
Boolean
|
|
013
|
Boolean
|
|
014
|
Boolean
|
|
015
|
Boolean
|
|
016
|
Boolean
|
|
017
|
Boolean
|
|
018
|
Boolean
|
|
019
|
Boolean
|
|
020
|
Boolean
|
|
021
|
Boolean
|
|
022
|
Boolean
|
|
023
|
Boolean
|
|
024
|
Boolean
|
|
025
|
Boolean
|
|
026
|
Boolean
|
|
027
|
Boolean
|
|
028
|
Boolean
|
|
029
|
Boolean
|
|
030
|
Boolean
|
|
031
|
Boolean
|
|
032
|
Boolean
|
|
033
|
Boolean
|
|
|
m_ScoreData
|
m_iCaptures
|
Integer
|
|
m_iDefenses
|
Integer
|
|
m_iKills
|
Integer
|
|
m_iDeaths
|
Integer
|
|
m_iSuicides
|
Integer
|
|
m_iDominations
|
Integer
|
|
m_iRevenge
|
Integer
|
|
m_iBuildingsBuilt
|
Integer
|
|
m_iBuildingsDestroyed
|
Integer
|
|
m_iHeadshots
|
Integer
|
|
m_iBackstabs
|
Integer
|
|
m_iHealPoints
|
Integer
|
|
m_iInvulns
|
Integer
|
|
m_iTeleports
|
Integer
|
|
m_iDamageDone
|
Integer
|
|
m_iCrits
|
Integer
|
|
m_iResupplyPoints
|
Integer
|
|
m_iKillAssists
|
Integer
|
|
m_iBonusPoints
|
Integer
|
|
m_iPoints
|
Integer
|
|
|
m_RoundScoreData
|
m_iCaptures
|
Integer
|
|
m_iDefenses
|
Integer
|
|
m_iKills
|
Integer
|
|
m_iDeaths
|
Integer
|
|
m_iSuicides
|
Integer
|
|
m_iDominations
|
Integer
|
|
m_iRevenge
|
Integer
|
|
m_iBuildingsBuilt
|
Integer
|
|
m_iBuildingsDestroyed
|
Integer
|
|
m_iHeadshots
|
Integer
|
|
m_iBackstabs
|
Integer
|
|
m_iHealPoints
|
Integer
|
|
m_iInvulns
|
Integer
|
|
m_iTeleports
|
Integer
|
|
m_iDamageDone
|
Integer
|
|
m_iCrits
|
Integer
|
|
m_iResupplyPoints
|
Integer
|
|
m_iKillAssists
|
Integer
|
|
m_iBonusPoints
|
Integer
|
|
m_iPoints
|
Integer
|
|
|
|
m_ConditionList
|
_condition_bits
|
Integer
|
|
|
m_iTauntIndex
|
Integer
|
|
m_iTauntConcept
|
Integer
|
|
m_nPlayerCondEx
|
Integer
|
|
m_iStunIndex
|
Integer
|
|
m_nHalloweenBombHeadStage
|
Integer
|
|
m_nPlayerCondEx2
|
Integer
|
|
m_nPlayerCondEx3
|
Integer
|
|
m_nStreaks
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
|
m_unTauntSourceItemID_Low
|
Integer
|
|
m_unTauntSourceItemID_High
|
Integer
|
|
m_flRuneCharge
|
Float
|
|
m_bHasPasstimeBall
|
Boolean
|
|
m_bIsTargetedForPasstimePass
|
Boolean
|
|
m_hPasstimePassTarget
|
Integer
|
|
m_askForBallTime
|
Float
|
|
m_bKingRuneBuffActive
|
Boolean
|
|
m_ConditionData
|
lengthproxy
|
lengthprop130
|
Integer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m_nPlayerCondEx4
|
Integer
|
|
m_flHolsterAnimTime
|
Float
|
|
m_hSwitchTo
|
Integer
|
|
|
m_hItem
|
Integer
|
|
tflocaldata
|
m_vecOrigin
|
3
|
|
m_vecOrigin[2]
|
Float
|
|
player_object_array_element
|
Integer
|
|
"player_object_array"
|
Array
|
|
m_angEyeAngles[0]
|
Float
|
|
m_angEyeAngles[1]
|
Float
|
|
m_bIsCoaching
|
Boolean
|
|
m_hCoach
|
Integer
|
|
m_hStudent
|
Integer
|
|
m_nCurrency
|
Integer
|
|
m_nExperienceLevel
|
Integer
|
|
m_nExperienceLevelProgress
|
Integer
|
|
m_bMatchSafeToLeave
|
Boolean
|
|
|
tfnonlocaldata
|
m_vecOrigin
|
3
|
|
m_vecOrigin[2]
|
Float
|
|
m_angEyeAngles[0]
|
Float
|
|
m_angEyeAngles[1]
|
Float
|
|
|
m_bAllowMoveDuringTaunt
|
Boolean
|
|
m_bIsReadyToHighFive
|
Boolean
|
|
m_hHighFivePartner
|
Integer
|
|
m_nForceTauntCam
|
Integer
|
|
m_flTauntYaw
|
Float
|
|
m_nActiveTauntSlot
|
Integer
|
|
m_iTauntItemDefIndex
|
Integer
|
|
m_flCurrentTauntMoveSpeed
|
Float
|
|
m_flVehicleReverseTime
|
Float
|
|
m_flMvMLastDamageTime
|
Float
|
|
m_bInPowerPlay
|
Boolean
|
|
m_iSpawnCounter
|
Integer
|
|
m_bArenaSpectator
|
Boolean
|
|
m_flHeadScale
|
Float
|
|
m_flTorsoScale
|
Float
|
|
m_flHandScale
|
Float
|
|
m_bUseBossHealthBar
|
Boolean
|
|
m_bUsingVRHeadset
|
Boolean
|
|
m_bForcedSkin
|
Boolean
|
|
m_nForcedSkin
|
Integer
|
|
m_AttributeManager
|
m_hOuter
|
Integer
|
|
m_ProviderType
|
Integer
|
|
m_iReapplyProvisionParity
|
Integer
|
|
|
TFSendHealersDataTable
|
m_nActiveWpnClip
|
Integer
|
|
|
m_flKartNextAvailableBoost
|
Float
|
|
m_iKartHealth
|
Integer
|
|
m_iKartState
|
Integer
|
|
m_hGrapplingHookTarget
|
Integer
|
|
m_hSecondaryLastWeapon
|
Integer
|
|
m_bUsingActionSlot
|
Boolean
|
|
m_flInspectTime
|
Float
|
|
m_flHelpmeButtonPressTime
|
Float
|
|
m_iCampaignMedals
|
Integer
|
|
m_iPlayerSkinOverride
|
Integer
|
|
m_bViewingCYOAPDA
|
Boolean
|
|
Entity DataMaps
CTFPlayer
Name
|
Type
|
Description
|
CBasePlayerPlayerDeathThink
|
|
|
InputBleedPlayer
|
|
|
InputClearCustomModelRotation
|
|
|
InputExtinguishPlayer
|
|
|
InputHandleMapEvent
|
|
|
InputIgnitePlayer
|
|
|
InputRollRareSpell
|
|
|
InputRoundSpawn
|
|
|
InputSetCustomModel
|
|
|
InputSetCustomModelOffset
|
|
|
InputSetCustomModelRotates
|
|
|
InputSetCustomModelRotation
|
|
|
InputSetCustomModelVisibleToSelf
|
|
|
InputSetFogController
|
|
|
InputSetForcedTauntCam
|
|
|
InputSetHUDVisibility
|
|
|
InputSetHealth
|
|
|
InputSpeakResponseConcept
|
|
|
InputTriggerLootIslandAchievement
|
|
|
InputTriggerLootIslandAchievement2
|
|
|
m_AirFinished
|
|
|
m_ArmorValue
|
|
|
|
m_DmgOrigin
|
|
|
m_DmgSave
|
|
|
m_DmgTake
|
|
|
m_Local
|
m_PlayerFog
|
m_NewColor
|
|
|
m_OldColor
|
|
|
m_flNewEnd
|
|
|
m_flNewStart
|
|
|
m_flOldEnd
|
|
|
m_flOldStart
|
|
|
m_flTransitionTime
|
|
|
m_hCtrl
|
|
|
|
m_audio
|
ent
|
|
|
localBits
|
|
|
localSound
|
|
|
soundscapeIndex
|
|
|
|
m_bAllowAutoMovement
|
|
|
m_bDrawViewmodel
|
|
|
m_bDucked
|
|
|
m_bDucking
|
|
|
m_bInDuckJump
|
|
|
m_bPoisoned
|
|
|
m_bWearingSuit
|
|
|
m_chAreaBits
|
|
|
m_chAreaPortalBits
|
|
|
m_flDuckJumpTime
|
|
|
m_flDucktime
|
|
|
m_flFOVRate
|
|
|
m_flFallVelocity
|
|
|
m_flJumpTime
|
|
|
m_flOldForwardMove
|
|
|
m_flStepSize
|
|
|
m_fog
|
blend
|
|
|
colorPrimary
|
|
|
colorPrimaryLerpTo
|
|
|
colorSecondary
|
|
|
colorSecondaryLerpTo
|
|
|
dirPrimary
|
|
|
duration
|
|
|
enable
|
|
|
end
|
|
|
endLerpTo
|
|
|
farz
|
|
|
lerptime
|
|
|
maxdensity
|
|
|
start
|
|
|
startLerpTo
|
|
|
|
m_iHideHUD
|
|
|
m_nOldButtons
|
|
|
m_nStepside
|
|
|
m_skybox3d
|
area
|
|
|
fog
|
blend
|
|
|
colorPrimary
|
|
|
colorPrimaryLerpTo
|
|
|
colorSecondary
|
|
|
colorSecondaryLerpTo
|
|
|
dirPrimary
|
|
|
duration
|
|
|
enable
|
|
|
end
|
|
|
endLerpTo
|
|
|
farz
|
|
|
lerptime
|
|
|
maxdensity
|
|
|
start
|
|
|
startLerpTo
|
|
|
|
origin
|
|
|
scale
|
|
|
|
m_vecOverViewpoint
|
|
|
m_vecPunchAngle
|
|
|
m_vecPunchAngleVel
|
|
|
|
m_PainFinished
|
|
|
m_StuckLast
|
|
|
m_afButtonDisabled
|
|
|
m_afButtonForced
|
|
|
m_afButtonLast
|
|
|
m_afButtonPressed
|
|
|
m_afButtonReleased
|
|
|
m_afPhysicsFlags
|
|
|
m_autoKickDisabled
|
|
|
m_bAllowInstantSpawn
|
|
|
m_bDuckToggled
|
|
|
m_bForcedObserverMode
|
|
|
m_bLagCompensation
|
|
|
m_bPauseBonusProgress
|
|
|
m_bPlayerUnderwater
|
|
|
m_bPredictWeapons
|
|
|
m_bSinglePlayerGameEnding
|
|
|
m_bitsDamageType
|
|
|
m_bitsHUDDamage
|
|
|
m_fInitHUD
|
|
|
m_fLastPlayerTalkAttemptTime
|
|
|
m_fLastPlayerTalkTime
|
|
|
m_fLerpTime
|
|
|
m_flConstraintRadius
|
|
|
m_flConstraintSpeedFactor
|
|
|
m_flConstraintWidth
|
|
|
m_flDeathAnimTime
|
|
|
m_flDeathTime
|
|
|
m_flDuckJumpTime
|
|
|
m_flDuckTime
|
|
|
m_flFOVTime
|
|
|
m_flFlashTime
|
|
|
m_flForwardMove
|
|
|
m_flLaggedMovementValue
|
|
|
m_flMaxspeed
|
|
|
m_flNextDecalTime
|
|
|
m_flOldPlayerViewOffsetZ
|
|
|
m_flOldPlayerZ
|
|
|
m_flPlayerTalkAvailableMessagesTier1
|
|
|
m_flPlayerTalkAvailableMessagesTier2
|
|
|
m_flSideMove
|
|
|
m_flStepSoundTime
|
|
|
m_flSuitUpdate
|
|
|
m_flSwimSoundTime
|
|
|
m_flSwimTime
|
|
|
m_flVehicleViewFOV
|
|
|
m_flWaterJumpTime
|
|
|
m_hConstraintEntity
|
|
|
m_hLastWeapon
|
|
|
m_hObserverTarget
|
|
|
m_hTriggerSoundscapeList
|
|
|
m_hUseEntity
|
|
|
m_hVehicle
|
|
|
m_hViewEntity
|
|
|
m_hViewModel
|
|
|
m_hZoomOwner
|
|
|
m_iBonusChallenge
|
|
|
m_iBonusProgress
|
|
|
m_iDeaths
|
|
|
m_iDefaultFOV
|
|
|
m_iFOV
|
|
|
m_iFOVStart
|
|
|
m_iFrags
|
|
|
m_iObserverLastMode
|
|
|
m_iObserverMode
|
|
|
m_iPlayerLocked
|
|
|
m_iRespawnFrames
|
|
|
m_iSuicideCustomKillFlags
|
|
|
m_iSuitPlayNext
|
|
|
m_iTargetVolume
|
|
|
m_iTrain
|
|
|
m_idrowndmg
|
|
|
m_idrownrestored
|
|
|
m_lastDamageAmount
|
|
|
m_nButtons
|
|
|
m_nDrownDmgRate
|
|
|
m_nImpulse
|
|
|
m_nNumCrateHudHints
|
|
|
m_nNumCrouches
|
|
|
m_nPoisonDmg
|
|
|
m_nPoisonRestored
|
|
|
m_nUpdateRate
|
|
|
m_oldOrigin
|
|
|
m_rgItems
|
|
|
m_rgSuitPlayList
|
|
|
m_rgbTimeBasedDamage
|
|
|
m_rgflSuitNoRepeatTime
|
|
|
m_rgiSuitNoRepeat
|
|
|
m_szAnimExtension
|
|
|
m_szLastPlaceName
|
|
|
m_szNetname
|
string
|
Return a players current Steam username
|
m_szNetworkIDString
|
|
|
m_tbdPrev
|
|
|
m_vNewVPhysicsPosition
|
|
|
m_vNewVPhysicsVelocity
|
|
|
m_vecAdditionalPVSOrigin
|
|
|
m_vecCameraPVSOrigin
|
|
|
m_vecConstraintCenter
|
|
|
m_vecLadderNormal
|
|
|
m_vecPreviouslyPredictedOrigin
|
|
|
m_vecSmoothedVelocity
|
|
|
m_vecWaterJumpVel
|
|
|
pl
|
deadflag
|
boolean
|
Returns 1 if player is currently dead, otherwise returns 0
|
v_angle
|
|
|
|