CBreakableProp: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A base class for breakable props entities.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/props.h /game/server/props.h]'''
 
'''Linked entity : ...'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProp]]'''
****'''[[CBaseFlex]]'''
****'''CBreakableProp'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== Entity DataMaps ==
== Entity DataMaps ==

Latest revision as of 22:57, 10 August 2022

Overview[edit | edit source]

A base class for breakable props entities.

Source location : /game/server/props.h

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CBreakableProp
Name Type Description
CBreakablePropAnimateThink
CBreakablePropBreakThink
CBreakablePropBreakablePropTouch
CBreakablePropRampToDefaultFadeScale
InputAddHealth
InputBreak
InputDisablePhyscannonPickup
InputDisablePuntSound
InputEnablePhyscannonPickup
InputEnablePuntSound
InputRemoveHealth
InputSetHealth
m_OnBreak
m_OnHealthChanged
m_OnPhysCannonAnimatePostStarted
m_OnPhysCannonAnimatePreStarted
m_OnPhysCannonAnimatePullStarted
m_OnPhysCannonDetach
m_OnPhysCannonPullAnimFinished
m_OnTakeDamage
m_PerformanceMode
m_bBlockLOSSetByPropData
m_bIsWalkableSetByPropData
m_bOriginalBlockLOS
m_bUsePuntSound
m_createTick
m_explodeDamage
m_explodeRadius
m_flDefaultFadeScale
m_flDmgModBullet
m_flDmgModClub
m_flDmgModExplosive
m_flLastPhysicsInfluenceTime
m_flPressureDelay
m_hBreaker
m_hFlareEnt
m_hLastAttacker
m_hPhysicsAttacker
m_iBreakableCount
m_iBreakableSkin
m_iInteractions
m_iMaxBreakableSize
m_iMinHealthDmg
m_iNumBreakableChunks
m_impactEnergyScale
m_iszBasePropData
m_iszBreakModelMessage
m_iszBreakableModel
m_iszPhysicsDamageTableName
m_iszPuntSound
m_nPhysgunState
m_preferredCarryAngles