CPhysBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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 | '''Linked Entity : [https://developer.valvesoftware.com/wiki/func_physbox func_physbox]''' | ||
==[[Classes|Class Structure]]== | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**'''[[ | **'''[[CBreakable]]''' | ||
***''' | ***'''CPhysBox''' | ||
== Entity DataMaps == | == Entity DataMaps == | ||
Line 37: | Line 17: | ||
! style="width: 15%; background-color: #303030; color: white" |Type | ! style="width: 15%; background-color: #303030; color: white" |Type | ||
! style="width: 35%; background-color: #303030; color: white" |Description | ! style="width: 35%; background-color: #303030; color: white" |Description | ||
|- | |- | ||
| style="width: 50%;" |'''CPhysBoxBreakTouch''' | | style="width: 50%;" |'''CPhysBoxBreakTouch''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 71: | Line 35: | ||
|- | |- | ||
| style="width: 50%;" |'''InputForceDrop''' | | style="width: 50%;" |'''InputForceDrop''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 91: | Line 43: | ||
|- | |- | ||
| style="width: 50%;" |'''InputWake''' | | style="width: 50%;" |'''InputWake''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_OnAwakened''' | | style="width: 50%;" |'''m_OnAwakened''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_OnDamaged''' | | style="width: 50%;" |'''m_OnDamaged''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 147: | Line 75: | ||
|- | |- | ||
| style="width: 50%;" |'''m_OnPlayerUse''' | | style="width: 50%;" |'''m_OnPlayerUse''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_angPreferredCarryAngles''' | | style="width: 50%;" |'''m_angPreferredCarryAngles''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_bNotSolidToWorld''' | | style="width: 50%;" |'''m_bNotSolidToWorld''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
Line 175: | Line 91: | ||
|- | |- | ||
| style="width: 50%;" |'''m_damageType''' | | style="width: 50%;" |'''m_damageType''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_flForceToEnableMotion''' | | style="width: 50%;" |'''m_flForceToEnableMotion''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_hCarryingPlayer''' | | style="width: 50%;" |'''m_hCarryingPlayer''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_iszOverrideScript''' | | style="width: 50%;" |'''m_iszOverrideScript''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|- | |- | ||
| style="width: 50%;" |'''m_massScale''' | | style="width: 50%;" |'''m_massScale''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} |
Latest revision as of 19:59, 24 March 2022
Overview[edit | edit source]
...
Source location : /game/server/physobj.h
Linked Entity : func_physbox
Class Structure[edit | edit source]
- CBaseEntity
- CBreakable
- CPhysBox
- CBreakable
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
CPhysBoxBreakTouch | ||
InputDisableFloating | ||
InputDisableMotion | ||
InputEnableMotion | ||
InputForceDrop | ||
InputSleep | ||
InputWake | ||
m_OnAwakened | ||
m_OnDamaged | ||
m_OnMotionEnabled | ||
m_OnPhysGunDrop | ||
m_OnPhysGunOnlyPickup | ||
m_OnPhysGunPickup | ||
m_OnPhysGunPunt | ||
m_OnPlayerUse | ||
m_angPreferredCarryAngles | ||
m_bNotSolidToWorld | ||
m_damageToEnableMotion | ||
m_damageType | ||
m_flForceToEnableMotion | ||
m_hCarryingPlayer | ||
m_iszOverrideScript | ||
m_massScale |