CObjectSentrygun: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_sentrygun obj_sentrygun]''' | '''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_sentrygun obj_sentrygun]''' | ||
==[[ | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**'''[[CBaseAnimating]]''' | **'''[[CBaseAnimating]]''' | ||
Line 16: | Line 16: | ||
==SendProps== | ==SendProps== | ||
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
|+CObjectSentrygun | |+CObjectSentrygun | ||
! style="width: 50%; background-color: #303030; color: white" |Name | ! style="width: 50%; background-color: #303030; color: white" |Name |
Revision as of 18:40, 13 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
- CBaseEntity
- CBaseAnimating
- CBaseAnimatingOverlay
- CBaseFlex
- CBaseCombatCharacter
- CBaseObject
- CObjectSentrygun
- CBaseObject
- CBaseCombatCharacter
- CBaseFlex
- CBaseAnimatingOverlay
- CBaseAnimating
SendProps
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
m_iAmmoShells | Integer | ||||||||||
m_iAmmoRockets | Integer | ||||||||||
m_iState | Integer | ||||||||||
m_bPlayerControlled | Boolean | ||||||||||
m_nShieldLevel | Integer | ||||||||||
m_hEnemy | Integer | ||||||||||
m_hAutoAimTarget | Integer | ||||||||||
|