CSniperDot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
The laser dot from the Sniper's rifles is an instance of this class. | |||
'''Source location : ...''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_weapon_sniperrifle.h /game/shared/tf/tf_weapon_sniperrifle.h]''' | ||
'''Linked | '''Linked Entity : [https://developer.valvesoftware.com/wiki/env_sniperdot env_sniperdot]''' | ||
==[[ | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**''' | **'''CSniperDot''' | ||
== 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;" | ||
|+CSniperDot | |+CSniperDot | ||
! style="width: 50%; background-color: #303030; color: white" |Name | ! style="width: 50%; background-color: #303030; color: white" |Name | ||
Line 24: | Line 19: | ||
| style="width: 50%;" |'''m_flChargeStartTime''' | | style="width: 50%;" |'''m_flChargeStartTime''' | ||
| style="width: 15%;" |Float | | style="width: 15%;" |Float | ||
| style="width: 35%;" | | |||
|} | |||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CSniperDot | |||
! 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_hTargetEnt''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_vecSurfaceNormal''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} |
Latest revision as of 18:02, 10 August 2022
Overview[edit | edit source]
The laser dot from the Sniper's rifles is an instance of this class.
Source location : /game/shared/tf/tf_weapon_sniperrifle.h
Linked Entity : env_sniperdot
Class Structure[edit | edit source]
- CBaseEntity
- CSniperDot
SendProps[edit | edit source]
Name | Type | Description |
---|---|---|
m_flChargeStartTime | Float |
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
m_hTargetEnt | ||
m_vecSurfaceNormal |