CObjectSentrygun: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
'''Source location : /game/server/tf2/tf_obj_sentrygun.h'''
'''Source location : /game/server/tf2/tf_obj_sentrygun.h'''


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


==[[SendProps|Class Structure]]==
==[[SendProps|Class Structure]]==

Revision as of 22:56, 10 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