TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.ModLoader.PylonLoader Class Reference
+ Collaboration diagram for Terraria.ModLoader.PylonLoader:

Static Public Member Functions

static ModPylon GetModPylon (TeleportPylonType pylonType)
 Returns the ModPylon associated with the passed in type. Returns null on failure.
 
static bool PreDrawMapIcon (ref MapOverlayDrawContext context, ref string mouseOverText, ref TeleportPylonInfo pylonInfo, ref bool isNearPylon, ref Color drawColor, ref float deselectedScale, ref float selectedScale)
 
static ? bool PreCanPlacePylon (int x, int y, int tileType, TeleportPylonType pylonType)
 
static ? bool ValidTeleportCheck_PreNPCCount (TeleportPylonInfo pylonInfo, ref int defaultNecessaryNPCCount)
 
static ? bool ValidTeleportCheck_PreAnyDanger (TeleportPylonInfo pylonInfo)
 
static ? bool ValidTeleportCheck_PreBiomeRequirements (TeleportPylonInfo pylonInfo, SceneMetrics sceneData)
 
static void PostValidTeleportCheck (TeleportPylonInfo destinationPylonInfo, TeleportPylonInfo nearbyPylonInfo, ref bool destinationPylonValid, ref bool validNearbyPylonFound, ref string errorKey)
 

Static Public Attributes

static readonly TeleportPylonType VanillaPylonCount = TeleportPylonType.Count
 

Static Package Functions

static void FinishSetup ()
 
static void Unload ()
 
static TeleportPylonType ReservePylonID ()
 

Static Package Attributes

static readonly IList< GlobalPylonglobalPylons = new List<GlobalPylon>()
 
static readonly IList< ModPylonmodPylons = new List<ModPylon>()
 
static TeleportPylonType nextPylonID = VanillaPylonCount
 

Detailed Description

Definition at line 9 of file PylonLoader.cs.


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