Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.TeleportPylonsSystem Class Reference

Public Member Functions

void Update ()
 
bool HasPylonOfType (TeleportPylonType pylonType)
 
bool HasAnyPylon ()
 
void RequestImmediateUpdate ()
 
void AddForClient (TeleportPylonInfo info)
 
void RemoveForClient (TeleportPylonInfo info)
 
void HandleTeleportRequest (TeleportPylonInfo info, int playerIndex)
 
void RequestTeleportation (TeleportPylonInfo info, Player player)
 
void Reset ()
 
void OnPlayerJoining (int playerIndex)
 

Static Public Member Functions

static bool IsPlayerNearAPylon (Player player)
 
static bool DoesPositionHaveEnoughNPCs (int necessaryNPCCount, Point16 centerPoint)
 
static void SpawnInWorldDust (int tileStyle, Rectangle dustBox)
 

Properties

List< TeleportPylonInfoPylons [get]
 

Private Member Functions

void UpdatePylonsListAndBroadcastChanges ()
 
bool DoesPylonHaveEnoughNPCsAroundIt (TeleportPylonInfo info, int necessaryNPCCount)
 
bool DoesPylonAcceptTeleportation (TeleportPylonInfo info, Player player)
 
int HowManyNPCsDoesPylonNeed (TeleportPylonInfo info, Player player)
 

Private Attributes

List< TeleportPylonInfo_pylons = new List<TeleportPylonInfo>()
 
List< TeleportPylonInfo_pylonsOld = new List<TeleportPylonInfo>()
 
int _cooldownForUpdatingPylonsList
 
SceneMetrics _sceneMetrics = new SceneMetrics()
 

Static Private Attributes

const int CooldownTimePerPylonsListUpdate = int.MaxValue
 

Detailed Description

Definition at line 13 of file TeleportPylonsSystem.cs.


The documentation for this class was generated from the following file: