Entity systemClasses

CHostage

Schema class CHostage, derived from CHostageExpresserShim.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CHostage.h

Inherits CHostageExpresserShim

Fields

FieldType
m_OnHostageBeginGrabCEntityIOOutput
m_OnFirstPickedUpCEntityIOOutput
m_OnDroppedNotRescuedCEntityIOOutput
m_OnRescuedCEntityIOOutput
m_entitySpottedStateEntitySpottedState_t
m_nSpotRulesint32_t
m_uiHostageSpawnExclusionGroupMaskuint32_t
m_nHostageSpawnRandomFactoruint32_t
m_bRemovebool
m_velVector
m_isRescuedbool
m_jumpedThisFramebool
m_nHostageStateint32_t
m_leaderCHandle<CBaseEntity>
m_lastLeaderCHandle<CCSPlayerPawnBase>
m_reuseTimerCountdownTimer
m_hasBeenUsedbool
m_accelVector
m_isRunningbool
m_isCrouchingbool
m_jumpTimerCountdownTimer
m_isWaitingForLeaderbool
m_repathTimerCountdownTimer
m_inhibitDoorTimerCountdownTimer
m_inhibitObstacleAvoidanceTimerCountdownTimer
m_wiggleTimerCountdownTimer
m_isAdjustedbool
m_bHandsHaveBeenCutbool
m_hHostageGrabberCHandle<CCSPlayerPawn>
m_fLastGrabTimefloat
m_vecPositionWhenStartedDroppingToGroundVector
m_vecGrabbedPosVector
m_flRescueStartTimefloat
m_flGrabSuccessTimefloat
m_flDropStartTimefloat
m_nApproachRewardPayoutsint32_t
m_nPickupEventCountint32_t
m_vecSpawnGroundPosVector
m_vecHostageResetPositionVector

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page