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

◆ ResetPlayerAnimation()

void Terraria.GameContent.Animations.Segments.PlayerSegment.ResetPlayerAnimation ( ref GameAnimationSegment info)
inlineprivate

Definition at line 259 of file Segments.cs.

260 {
261 //IL_0017: Unknown result type (might be due to invalid IL or missing references)
262 //IL_001d: Unknown result type (might be due to invalid IL or missing references)
263 //IL_0022: Unknown result type (might be due to invalid IL or missing references)
264 //IL_0027: Unknown result type (might be due to invalid IL or missing references)
265 _player.CopyVisuals(Main.LocalPlayer);
266 _player.position = info.AnchorPositionOnScreen + _anchorOffset;
267 _player.opacityForAnimation = 1f;
268 }
void CopyVisuals(Player other)
Definition Player.cs:55041

References Terraria.GameContent.Animations.Segments.PlayerSegment._anchorOffset, Terraria.GameContent.Animations.Segments.PlayerSegment._player, Terraria.Player.CopyVisuals(), and Terraria.Main.LocalPlayer.

Referenced by Terraria.GameContent.Animations.Segments.PlayerSegment.Draw().

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