CBaseObject: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
...
...


'''Source Location: /game/server/ai_basenpc.h'''
'''Source Location: /game/shared/tf2/baseobject_shared.h'''


==[[SendProps|Class Structure]]==
==[[SendProps|Class Structure]]==
Line 10: Line 10:
****'''[[CBaseFlex]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''CAI_BaseNPC'''
******'''CBaseObject'''


== SendProps ==
== SendProps ==
{| class="wikitable sortable" 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
|-
|'''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
|
|}

Revision as of 00:51, 31 January 2022

Overview

...

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