CObjectDispenser: 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 24: | Line 24: | ||
|'''m_iState''' | |'''m_iState''' | ||
|Integer | |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''' | |'''m_iAmmoMetal''' | ||
|Integer | |Integer | ||
| | |The amount of ammo / metal this dispenser has in reserve to give to players | ||
|- | |- | ||
|'''m_iMiniBombCounter''' | |'''m_iMiniBombCounter''' |
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 |