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

◆ EndOngoingTorchGodEvent()

void Terraria.Player.EndOngoingTorchGodEvent ( )
inlineprivate

Definition at line 16160 of file Player.cs.

16161 {
16163 {
16165 happyFunTorchTime = false;
16166 if (Main.netMode == 1)
16167 {
16168 NetMessage.SendData(4, -1, -1, null, whoAmI);
16169 }
16170 }
16171 }
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Definition Entity.cs:16
bool happyFunTorchTime
Definition Player.cs:3185
void RelightTorches()
Definition Player.cs:16256

References Terraria.Player.happyFunTorchTime, Terraria.Main.netMode, Terraria.Player.RelightTorches(), Terraria.NetMessage.SendData(), and Terraria.Entity.whoAmI.

Referenced by Terraria.Player.KillMe(), and Terraria.Player.TorchAttack().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: