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

◆ GetLastHitBall()

Projectile Terraria.GameContent.Golf.GolfState.GetLastHitBall ( )
inline

Definition at line 117 of file GolfState.cs.

118 {
120 {
121 return null;
122 }
123 return _lastHitGolfBall;
124 }
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
Definition Entity.cs:21
static bool[] IsAGolfBall
If true for a given projectile type (F:Terraria.Projectile.type), then that projectile is a kind of g...
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...

References Terraria.GameContent.Golf.GolfState._lastHitGolfBall, Terraria.GameContent.Golf.GolfState._lastRecordedSwingCount, Terraria.Entity.active, Terraria.Projectile.ai, Terraria.ID.ProjectileID.Sets.IsAGolfBall, Terraria.Main.myPlayer, Terraria.Projectile.owner, and Terraria.Projectile.type.

Referenced by Terraria.GameContent.Golf.GolfState.RecordBallInfo(), Terraria.GameContent.Golf.GolfState.ResetGolfBall(), and Terraria.GameContent.Golf.GolfState.Update().

+ Here is the caller graph for this function: