CObjectDispenser: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
|'''m_iState'''
|'''m_iState'''
|Integer
|Integer
|
|What is this dispenser doing right now?
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="1" |Values
! colspan="1" |Values

Revision as of 13:50, 13 November 2022

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