CBaseObject: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
'''Source location : /game/shared/tf2/baseobject_shared.h''' | '''Source location : /game/shared/tf2/baseobject_shared.h''' | ||
==[[ | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**'''[[CBaseAnimating]]''' | **'''[[CBaseAnimating]]''' | ||
| Line 122: | Line 122: | ||
|Boolean | |Boolean | ||
| | | | ||
|} | |||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CBaseObject | |||
! style="width: 50%; background-color: #303030; color: white" |Name | |||
! style="width: 15%; background-color: #303030; color: white" |Type | |||
! style="width: 35%; background-color: #303030; color: white" |Description | |||
|- | |||
| style="width: 50%;" |'''CBaseObjectUpgradeThink''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputAddHealth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputDisable''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputEnable''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputHide''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputRemoveHealth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetBuilder''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetHealth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetSolidToPlayer''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputShow''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OnBecomingDisabled''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OnBecomingReenabled''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OnDamaged''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OnDestroyed''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OnObjectHealthChanged''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_OnRepaired''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_SolidToPlayers''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nDefaultUpgradeLevel''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} | |} | ||
Revision as of 18:28, 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 |