CObjectTeleporter: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_teleporter obj_teleporter]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/Obj_teleporter obj_teleporter]'''


==[[SendProps|Class Structure]]==
==[[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;"
|+CObjectTeleporter
|+CObjectTeleporter
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 45: Line 45:
|Boolean
|Boolean
|
|
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CObjectTeleporter
! 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%;" |'''CObjectTeleporterTeleporterThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CObjectTeleporterTeleporterTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iTeleportType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszMatchingMapPlacedTeleporter'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
|}

Revision as of 18:42, 13 February 2022

Overview

Placed and carried teleporters are instances of this class.

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

Linked entity : obj_teleporter

Class Structure

SendProps

CObjectTeleporter
Name Type Description
m_iState Integer
m_flRechargeTime Float
m_flCurrentRechargeDuration Float
m_iTimesUsed Integer
m_flYawToExit Float
m_bMatchBuilding Boolean

Entity DataMaps

CObjectTeleporter
Name Type Description
CObjectTeleporterTeleporterThink
CObjectTeleporterTeleporterTouch
m_iTeleportType
m_iszMatchingMapPlacedTeleporter