CBaseObject: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
The base class for place-able objects.
The base class for place-able objects.


'''Source location : /game/shared/tf2/baseobject_shared.h'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf2/baseobject_shared.h /game/shared/tf2/baseobject_shared.h]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==

Revision as of 04:23, 19 February 2022

Overview

The base class for place-able objects.

Source location : /game/shared/tf2/baseobject_shared.h

Class Structure

SendProps

CBaseObject
Name Type Description
m_iHealth Integer
m_iMaxHealth Integer
m_bHasSapper Boolean
m_iObjectType Integer
m_bBuilding Boolean
m_bPlacing Boolean
m_bCarried Boolean
m_bCarryDeploy Boolean
m_bMiniBuilding Boolean
m_flPercentageConstructed Float
m_fObjectFlags Integer
m_hBuiltOnEntity Integer
m_bDisabled Boolean
m_hBuilder Integer
m_vecBuildMaxs Vector
m_vecBuildMins Vector
m_iDesiredBuildRotations Integer
m_bServerOverridePlacement Boolean
m_iUpgradeLevel Integer
m_iUpgradeMetal Integer
m_iUpgradeMetalRequired Integer
m_iHighestUpgradeLevel Integer
m_iObjectMode Integer
m_bDisposableBuilding Boolean
m_bWasMapPlaced Boolean
m_bPlasmaDisable Boolean

Entity DataMaps

CBaseObject
Name Type Description
CBaseObjectUpgradeThink
InputAddHealth
InputDisable
InputEnable
InputHide
InputRemoveHealth
InputSetBuilder
InputSetHealth
InputSetSolidToPlayer
InputShow
m_OnBecomingDisabled
m_OnBecomingReenabled
m_OnDamaged
m_OnDestroyed
m_OnObjectHealthChanged
m_OnRepaired
m_SolidToPlayers
m_nDefaultUpgradeLevel