CPhysMagnet: Difference between revisions

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


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/physobj.h /game/server/physobj.h]'''


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/phys_magnet phys_magnet]'''


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


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

Revision as of 04:31, 24 March 2022

Overview

...

Source location : /game/server/physobj.h

Linked Entity : phys_magnet

Class Structure

Entity DataMaps

CPhysMagnet
Name Type Description
InputToggle
InputTurnOff
InputTurnOn
m_MagnettedEntities
m_OnMagnetAttach
m_OnMagnetDetach
m_bActive
m_bHasHitSomething
m_flNextSuckTime
m_flRadius
m_flTotalMass
m_forceLimit
m_iMaxObjectsAttached
m_iszOverrideScript
m_massScale
m_pConstraintGroup
m_torqueLimit