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

◆ Update()

void Terraria.GameContent.ShimmerUnstuckHelper.Update ( Player player)
inline

Definition at line 23 of file ShimmerUnstuckHelper.cs.

24 {
25 //IL_0065: Unknown result type (might be due to invalid IL or missing references)
26 //IL_006a: Unknown result type (might be due to invalid IL or missing references)
27 bool flag = !player.shimmering && !player.shimmerWet;
28 if (flag)
29 {
31 }
32 if (TimeLeftUnstuck > 0 && !flag)
33 {
35 }
37 {
39 if (TimeLeftUnstuck == 0)
40 {
42 {
43 PositionInWorld = player.Bottom
44 });
45 }
46 }
47 }
static void BroadcastOrRequestParticleSpawn(ParticleOrchestraType type, ParticleOrchestraSettings settings)

References Terraria.GameContent.Drawing.ParticleOrchestrator.BroadcastOrRequestParticleSpawn(), Terraria.GameContent.ShimmerUnstuckHelper.IndefiniteProtectionActive, Terraria.Entity.shimmerWet, Terraria.GameContent.ShimmerUnstuckHelper.StartUnstuck(), and Terraria.GameContent.ShimmerUnstuckHelper.TimeLeftUnstuck.

Referenced by Terraria.Player.Update().

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