CBaseObject: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
== SendProps == | == SendProps == | ||
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
|+CBaseObject | |+CBaseObject | ||
! style="width: 50%; background-color: #303030; color: white" |Name | ! style="width: 50%; background-color: #303030; color: white" |Name |
Revision as of 18:29, 13 February 2022
Overview
The base class for place-able objects.
Source location : /game/shared/tf2/baseobject_shared.h
Class Structure
SendProps
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
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 |