Terraria v1.4.4.9
Terraria source code documentation
|
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< TeleportPylonInfo > | Pylons [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 |
Definition at line 13 of file TeleportPylonsSystem.cs.