terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawMapIcons_LastGolfballHit()

void Terraria.Main.DrawMapIcons_LastGolfballHit ( SpriteBatch spriteBatch,
Microsoft::Xna::Framework::Vector2 mapTopLeft,
Microsoft::Xna::Framework::Vector2 mapX2Y2AndOff,
Rectangle? mapRect,
float mapScale,
float drawScale,
string mouseTextString )
inlineprivate

Definition at line 14800 of file Main.cs.

14801 {
14802 int num = 1;
14803 if (num == 0)
14804 {
14805 }
14806 Projectile lastHitBall = Main.LocalGolfState.GetLastHitBall();
14807 if (lastHitBall != null)
14808 {
14810 if (num == 0)
14811 {
14812 }
14813 if (num == 0)
14814 {
14815 }
14816 if (mapTopLeft == null)
14817 {
14818 }
14819 if (mapTopLeft == null)
14820 {
14821 }
14822 if (mapTopLeft == null)
14823 {
14824 }
14828 int type = lastHitBall.type;
14832 string name = lastHitBall.Name;
14835 }
14836 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.Golf.GolfState.GetLastHitBall(), j__TPar, Terraria.Main.LocalGolfState, Terraria.Main.MouseScreen, and System.name.

Referenced by Terraria.Main.DrawMiscMapIcons().