CObjectSentrygun: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
Placed and carried sentry guns are instances of this class.
Placed and carried sentry guns are instances of this class.


'''Source location : /game/server/tf2/tf_obj_sentrygun.h'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/tf2/tf_obj_sentrygun.h /game/server/tf2/tf_obj_sentrygun.h]'''


'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_sentrygun obj_sentrygun]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_sentrygun obj_sentrygun]'''

Revision as of 04:29, 19 February 2022

Overview

Placed and carried sentry guns are instances of this class.

Source location : /game/server/tf2/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