CObjectDispenser

From SigMod
Revision as of 14:05, 13 November 2022 by Mince (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Placed and carried dispensers are instances of this class.

Source location : /game/server/tf/tf_obj_dispenser.h

Linked entity : obj_dispenser

Class Structure

SendProps

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

CObjectDispenser
Name Type Description
CObjectDispenserDispenseThink
CObjectDispenserRefillThink
m_iszCustomTouchTrigger