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

◆ Update()

void Terraria.GameContent.Golf.GolfState.Update ( )
inline

Definition at line 209 of file GolfState.cs.

210 {
211 int num = this.golfScoreTime;
212 int num2 = this.golfScoreDelay;
213 this.golfScoreTime = num;
214 if (this.GetLastHitBall() != null)
215 {
216 int num3;
218 {
219 num3 = 32640;
221 }
222 if (num3 == 0)
223 {
224 }
225 int type = Main.LocalPlayer.HeldItem.type;
226 if (num2 == 0)
227 {
228 }
229 Item heldItem = Main.LocalPlayer.HeldItem;
230 if (num2 == 0)
231 {
232 }
233 bool flag = Item.IsAGolfingItem(heldItem);
234 }
235 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.Golf.GolfState._waitingForBallToSettle, Terraria.GameContent.Golf.GolfState.GetLastHitBall(), Terraria.GameContent.Golf.GolfState.golfScoreDelay, Terraria.GameContent.Golf.GolfState.golfScoreTime, Terraria.Player.HeldItem, Terraria.Item.IsAGolfingItem(), j__TPar, Terraria.Main.LocalPlayer, and Terraria.Item.type.