CObjectDispenser: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_dispenser obj_dispenser]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_dispenser obj_dispenser]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
Line 41: Line 41:
|Array
|Array
|
|
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CObjectDispenser
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CObjectDispenserDispenseThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CObjectDispenserRefillThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszCustomTouchTrigger'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
|}

Revision as of 18:34, 13 February 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
m_iAmmoMetal Integer
m_iMiniBombCounter Integer
healing_array_element Integer
"healing_array" Array

Entity DataMaps

CObjectDispenser
Name Type Description
CObjectDispenserDispenseThink
CObjectDispenserRefillThink
m_iszCustomTouchTrigger