CObjectDispenser

From SigMod
Jump to navigation Jump to search

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]

SendProps[edit | edit source]

CObjectDispenser
Name Type Description
m_iState Integer What this dispenser is currently doing
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[edit | edit source]

CObjectDispenser
Name Type Description
CObjectDispenserDispenseThink
CObjectDispenserRefillThink
m_iszCustomTouchTrigger