CObjectDispenser: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Overview == | |||
Placed and carried dispensers are instances of this class. | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/tf/tf_obj_dispenser.h /game/server/tf/tf_obj_dispenser.h]''' | |||
'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_dispenser obj_dispenser]''' | |||
==[[Classes|Class Structure]]== | |||
*'''[[CBaseEntity]]''' | |||
**'''[[CBaseAnimating]]''' | |||
***'''[[CBaseAnimatingOverlay]]''' | |||
****'''[[CBaseFlex]]''' | |||
*****'''[[CBaseCombatCharacter]]''' | |||
******'''[[CBaseObject]]''' | |||
*******'''CObjectDispenser''' | |||
== SendProps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
|+CObjectDispenser | |||
! 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_iState''' | |||
|Integer | |||
|What this dispenser is currently doing | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
! colspan="1" |Values | |||
|- | |||
| | |||
* 0 - DISPENSER_STATE_IDLE | |||
* 1 - DISPENSER_STATE_UPGRADING | |||
|} | |||
|- | |||
|'''m_iAmmoMetal''' | |||
|Integer | |||
|The amount of ammo / metal this dispenser has in reserve to give to players | |||
|- | |||
|'''m_iMiniBombCounter''' | |||
|Integer | |||
| | |||
|- | |||
|'''healing_array_element''' | |||
|Integer | |||
| | |||
|- | |||
|'''"healing_array"''' | |||
|Array | |||
| | |||
|} | |||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CObjectDispenser | |||
! 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%;" |'''CObjectDispenserDispenseThink''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''CObjectDispenserRefillThink''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iszCustomTouchTrigger''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
Latest revision as of 14:05, 13 November 2022
Overview[edit | edit source]
Placed and carried dispensers are instances of this class.
Source location : /game/server/tf/tf_obj_dispenser.h
Linked entity : obj_dispenser
Class Structure[edit | edit source]
- CBaseEntity
- CBaseAnimating
- CBaseAnimatingOverlay
- CBaseFlex
- CBaseCombatCharacter
- CBaseObject
- CObjectDispenser
- CBaseObject
- CBaseCombatCharacter
- CBaseFlex
- CBaseAnimatingOverlay
- CBaseAnimating
SendProps[edit | edit source]
Name | Type | Description | ||
---|---|---|---|---|
m_iState | Integer | What this dispenser is currently doing
| ||
m_iAmmoMetal | Integer | The amount of ammo / metal this dispenser has in reserve to give to players | ||
m_iMiniBombCounter | Integer | |||
healing_array_element | Integer | |||
"healing_array" | Array |
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
CObjectDispenserDispenseThink | ||
CObjectDispenserRefillThink | ||
m_iszCustomTouchTrigger |