TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ValidTeleportCheck_PreAnyDanger()

static ? bool Terraria.ModLoader.PylonLoader.ValidTeleportCheck_PreAnyDanger ( TeleportPylonInfo pylonInfo)
inlinestatic

Definition at line 101 of file PylonLoader.cs.

102 {
103 bool? returnValue = null;
104 foreach (GlobalPylon globalPylon in globalPylons)
105 {
106 bool? shouldSucceed = globalPylon.ValidTeleportCheck_PreAnyDanger(pylonInfo);
107 if (shouldSucceed.HasValue)
108 {
109 if (!shouldSucceed.Value)
110 {
111 return false;
112 }
113 returnValue = true;
114 }
115 }
116 return returnValue;
117 }
static readonly IList< GlobalPylon > globalPylons

References Terraria.ModLoader.PylonLoader.globalPylons.

Referenced by Terraria.GameContent.TeleportPylonsSystem.HandleTeleportRequest().

+ Here is the caller graph for this function: