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

◆ WolfMouthPosition()

static bool Terraria.DelegateMethods.Mount.WolfMouthPosition ( Player player,
out Vector2? position )
inlinestatic

Definition at line 166 of file DelegateMethods.cs.

167 {
168 //IL_0020: Unknown result type (might be due to invalid IL or missing references)
169 //IL_0027: Unknown result type (might be due to invalid IL or missing references)
170 //IL_002c: Unknown result type (might be due to invalid IL or missing references)
171 //IL_0036: Unknown result type (might be due to invalid IL or missing references)
172 //IL_003c: Unknown result type (might be due to invalid IL or missing references)
173 //IL_003d: Unknown result type (might be due to invalid IL or missing references)
174 //IL_0042: Unknown result type (might be due to invalid IL or missing references)
175 Vector2 spinningpoint = default(Vector2);
176 ((Vector2)(ref spinningpoint))._002Ector((float)(player.direction * 22), player.gravDir * -6f);
177 position = player.RotatedRelativePoint(player.MountedCenter, reverseRotation: false, addGfxOffY: false) + spinningpoint.RotatedBy(player.fullRotation);
178 return true;
179 }

References Terraria.Player.fullRotation, Terraria.Player.gravDir, Terraria.Player.MountedCenter, and Terraria.Player.RotatedRelativePoint().

Referenced by Terraria.Mount.Initialize().

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