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.GolfHelper Class Reference
+ Collaboration diagram for Terraria.GameContent.Golf.GolfHelper:

Classes

struct  ClubProperties
 
class  ContactListener
 
struct  ShotStrength
 

Static Public Member Functions

static BallStepResult StepGolfBall (Entity entity, ref float angularVelocity)
 
static Vector2 FindVectorOnOval (Vector2 vector, Vector2 radius)
 
static GolfHelper.ShotStrength CalculateShotStrength (Vector2 shotVector, GolfHelper.ClubProperties clubProperties)
 
static bool IsPlayerHoldingClub (Player player)
 
static GolfHelper.ShotStrength CalculateShotStrength (Projectile golfHelper, Entity golfBall)
 
static GolfHelper.ClubProperties GetClubPropertiesFromGolfHelper (Projectile golfHelper)
 
static GolfHelper.ClubProperties GetClubProperties (short itemId)
 
static Projectile FindHelperFromGolfBall (Projectile golfBall)
 
static Projectile FindGolfBallForHelper (Projectile golfHelper)
 
static bool IsGolfBallResting (Projectile golfBall)
 
static bool IsGolfShotValid (Entity golfBall, Player player)
 
static bool ValidateShot (Entity golfBall, Player player, ref Vector2 shotVector)
 
static void HitGolfBall (Entity entity, Vector2 velocity, float roughLandResistance)
 
static void DrawPredictionLine (Entity golfBall, Vector2 impactVelocity, float chargeProgress, float roughLandResistance)
 
static void UpdateDebugDraw (Vector2 position)
 

Static Public Attributes

const int PointsNeededForLevel1 = 500
 
const int PointsNeededForLevel2 = 1000
 
const int PointsNeededForLevel3 = 2000
 
static readonly PhysicsProperties PhysicsProperties
 
static readonly GolfHelper.ContactListener Listener
 

Static Private Member Functions

static GolfHelper ()
 

Static Private Attributes

static FancyGolfPredictionLine _predictionLine
 

Detailed Description

Definition at line 21 of file GolfHelper.cs.


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