tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.ModLoader.PylonLoader Class Reference

Static Public Member Functions

static ModPylon GetModPylon (TeleportPylonType pylonType)
 Returns the ModPylon associated with the passed in type. Returns null on failure.
 
static void PostValidTeleportCheck (TeleportPylonInfo destinationPylonInfo, TeleportPylonInfo nearbyPylonInfo, ref bool destinationPylonValid, ref bool validNearbyPylonFound, ref string errorKey)
 
static ? bool PreCanPlacePylon (int x, int y, int tileType, TeleportPylonType pylonType)
 
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 ValidTeleportCheck_PreAnyDanger (TeleportPylonInfo pylonInfo)
 
static ? bool ValidTeleportCheck_PreBiomeRequirements (TeleportPylonInfo pylonInfo, SceneMetrics sceneData)
 
static ? bool ValidTeleportCheck_PreNPCCount (TeleportPylonInfo pylonInfo, ref int defaultNecessaryNPCCount)
 

Static Public Attributes

static readonly TeleportPylonType VanillaPylonCount = TeleportPylonType.Count