CTFWeaponBuilder: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
The Engineer's hidden builder weapon is an instance of this class, as well as Spy's stock sapper weapon


'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/tf/tf_weapon_builder.h /game/server/tf/tf_weapon_builder.h]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/tf_weapon_builder tf_weapon_builder]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
***'''[[CEconEntity]]'''
****'''[[CBaseCombatWeapon]]'''
*****'''[[CTFWeaponBase]]'''
******'''CTFWeaponBuilder'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTFWeaponBuilder
! 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%;" |'''m_iBuildState'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |BuilderLocalData
|-
| style="width: 50%;" |'''m_iObjectType'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hObjectBeingBuilt'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_aBuildableObjectTypes
|-
| style="width: 50%;" |'''000'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''001'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''002'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''003'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|}
|}
|-
| style="width: 50%;" |'''m_iObjectMode'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flWheatleyTalkingUntil'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|}

Latest revision as of 18:29, 26 February 2022

Overview[edit | edit source]

The Engineer's hidden builder weapon is an instance of this class, as well as Spy's stock sapper weapon

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

Linked entity : tf_weapon_builder

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFWeaponBuilder
Name Type Description
m_iBuildState Integer
BuilderLocalData
m_iObjectType Integer
m_hObjectBeingBuilt Integer
m_aBuildableObjectTypes
000 Boolean
001 Boolean
002 Boolean
003 Boolean
m_iObjectMode Integer
m_flWheatleyTalkingUntil Float