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

◆ SetupGamepadPoints()

void Terraria.GameContent.UI.States.UIResourcePackInfoMenu.SetupGamepadPoints ( SpriteBatch spriteBatch)
inlineprivate

Definition at line 194 of file UIResourcePackInfoMenu.cs.

195 {
196 UILinkPointNavigator.Shortcuts.BackButtonCommand = 1;
197 int num = 3000;
198 int idRangeEndExclusive = num;
200 for (int i = 0; i < snapPoints.Count; i++)
201 {
203 string name = snapPoint.Name;
204 if (name == "GoBack")
205 {
207 }
208 }
210 }
virtual List< SnapPoint > GetSnapPoints()
Definition UIElement.cs:267
UILinkPoint MakeLinkPointFromSnapPoint(int id, SnapPoint snap)
void MoveToVisuallyClosestPoint(List< UILinkPoint > lostrefpoints)

References Terraria.GameContent.UI.States.UIResourcePackInfoMenu._helper, System.Collections.Generic.Dictionary< TKey, TValue >.Count, Terraria.UI.UIElement.GetSnapPoints(), Terraria.GameContent.UI.States.UIGamepadHelper.MakeLinkPointFromSnapPoint(), and Terraria.GameContent.UI.States.UIGamepadHelper.MoveToVisuallyClosestPoint().

Referenced by Terraria.GameContent.UI.States.UIResourcePackInfoMenu.Draw().