tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.UI.Gamepad.UILinkPage Class Reference

Public Member Functions

 UILinkPage (int id)
 
bool CanEnter ()
 
void Enter ()
 
bool IsValid ()
 
void Leave ()
 
string SpecialInteractions ()
 
void SwapPageLeft ()
 
void SwapPageRight ()
 
void TravelDown ()
 
void TravelLeft ()
 
void TravelRight ()
 
void TravelUp ()
 
void Update ()
 

Public Attributes

int CurrentPoint
 
int DefaultPoint
 
int ID
 
Dictionary< int, UILinkPointLinkMap = new Dictionary<int, UILinkPoint>()
 
int PageOnLeft = -1
 
int PageOnRight = -1
 

Events

Func< bool > CanEnterEvent
 
Action EnterEvent
 
Func< bool > IsValidEvent
 
Action LeaveEvent
 
Action< int > OnPageMoveAttempt
 
Func< string > OnSpecialInteracts
 
Action< int, int > ReachEndEvent
 
Action TravelEvent
 
Action UpdateEvent