CObjectSentrygun: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
Line 1: Line 1:
==Overview==
Placed and carried sentry guns are instances of this class.


'''Source location : /game/server/tf/tf_obj_sentrygun.h'''
'''Linked entity : obj_sentrygun'''
==[[SendProps|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBaseObject]]'''
*******'''CObjectSentrygun'''
==SendProps==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
|+CObjectSentrygun
! 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
|-
|'''m_iAmmoShells'''
|Integer
|
|-
|'''m_iAmmoRockets'''
|Integer
|
|-
|'''m_iState'''
|Integer
|
|-
|'''m_bPlayerControlled'''
|Boolean
|
|-
|'''m_nShieldLevel'''
|Integer
|
|-
|'''m_hEnemy'''
|Integer
|
|-
|'''m_hAutoAimTarget'''
|Integer
|
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |SentrygunLocalData
|-
| style="width: 50%;" |'''m_iKills'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
|'''m_iAssists'''
|Integer
|
|}
|}

Revision as of 01:27, 1 February 2022

Overview

Placed and carried sentry guns are instances of this class.

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

Linked entity : obj_sentrygun

Class Structure

SendProps

CObjectSentrygun
Name Type Description
m_iAmmoShells Integer
m_iAmmoRockets Integer
m_iState Integer
m_bPlayerControlled Boolean
m_nShieldLevel Integer
m_hEnemy Integer
m_hAutoAimTarget Integer
SentrygunLocalData
m_iKills Integer
m_iAssists Integer