CObjectDispenser

From SigMod
Revision as of 13:50, 13 November 2022 by Mince (talk | contribs)
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 is this dispenser doing right now?
Values
  • 0 - DISPENSER_STATE_IDLE
  • 1 - DISPENSER_STATE_UPGRADING
m_iAmmoMetal Integer
m_iMiniBombCounter Integer
healing_array_element Integer
"healing_array" Array

Entity DataMaps

CObjectDispenser
Name Type Description
CObjectDispenserDispenseThink
CObjectDispenserRefillThink
m_iszCustomTouchTrigger