terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.Golf.GolfState Class Reference
+ Collaboration diagram for Terraria.GameContent.Golf.GolfState:

Public Member Functions

void ResetScoreTime ()
 
void SetScoreTime ()
 
Vector2GetLastBallLocation ()
 
void WorldClear ()
 
void CancelBallTracking ()
 
void RecordSwing (Projectile golfBall)
 
Projectile GetLastHitBall ()
 
void Update ()
 
void RecordBallInfo (Projectile golfBall)
 
void LandBall (Projectile golfBall)
 
int GetGolfBallScore (Projectile golfBall)
 
void ResetGolfBall ()
 
 GolfState ()
 

Properties

float ScoreAdjustment [get, set]
 
bool ShouldScoreHole [get, set]
 
bool IsTrackingBall [get, set]
 
bool ShouldCameraTrackBallLastKnownLocation [get, set]
 

Private Member Functions

void UpdateScoreTime ()
 
int GetGolfBallId (Projectile golfBall)
 

Private Attributes

int golfScoreTime
 
int golfScoreTimeMax
 
int golfScoreDelay
 
double _lastRecordedBallTime
 
Vector2_lastRecordedBallLocation
 
bool _waitingForBallToSettle
 
Vector2 _lastSwingPosition
 
Projectile _lastHitGolfBall
 
int _lastRecordedSwingCount
 
GolfBallTrackRecord[] _hitRecords
 

Static Private Attributes

const int BALL_RETURN_PENALTY = 1
 

Detailed Description

Definition at line 11 of file GolfState.cs.


The documentation for this class was generated from the following file: