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

◆ GetClosestPlayersLuck() [1/2]

static float Terraria.Player.GetClosestPlayersLuck ( Point Position)
inlinestatic

Definition at line 16672 of file Player.cs.

16673 {
16674 //IL_0005: Unknown result type (might be due to invalid IL or missing references)
16675 //IL_000f: Unknown result type (might be due to invalid IL or missing references)
16676 //IL_0019: Unknown result type (might be due to invalid IL or missing references)
16677 return Main.player[FindClosest(new Vector2((float)(Position.X * 16), (float)(Position.Y * 16)), 1, 1)].luck;
16678 }
static byte FindClosest(Vector2 Position, int Width, int Height)
Definition Player.cs:5246

References Terraria.Player.FindClosest(), and Terraria.Main.player.

+ Here is the call graph for this function: