Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.PopupText Class Reference

Public Member Functions

void Update (int whoAmI)
 

Static Public Member Functions

static void ClearSonarText ()
 
static void ResetText (PopupText text)
 
static int NewText (AdvancedPopupRequest request, Vector2 position)
 
static int NewText (PopupTextContext context, int npcNetID, Vector2 position, bool stay5TimesLonger)
 
static int NewText (PopupTextContext context, Item newItem, int stack, bool noStack=false, bool longText=false)
 
static void AssignAsSonarText (int sonarTextIndex)
 
static string ValueToName (long coinValue)
 
static void UpdateItemText ()
 
static void ClearAll ()
 

Public Attributes

Vector2 position
 
Vector2 velocity
 
float alpha
 
int alphaDir = 1
 
string name
 
long stack
 
float scale = 1f
 
float rotation
 
Color color
 
bool active
 
int lifeTime
 
bool NoStack
 
bool coinText
 
long coinValue
 
bool expert
 
bool master
 
bool sonar
 
PopupTextContext context
 
int npcNetID
 
bool freeAdvanced
 

Static Public Attributes

static int activeTime = 60
 
static int numActive
 
static int sonarText = -1
 

Properties

bool notActuallyAnItem [get]
 
static float TargetScale [get]
 

Private Member Functions

void AddToCoinValue (long addedValue)
 
void ValueToName ()
 
Vector2 GetTextHitbox ()
 

Static Private Member Functions

static int FindNextItemTextSlot ()
 

Detailed Description

Definition at line 8 of file PopupText.cs.


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