// Decompiled with JetBrains decompiler // Type: Terraria.UI.Gamepad.UILinkPoint // Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null // MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83 // Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe using Microsoft.Xna.Framework; using System; namespace Terraria.UI.Gamepad { public class UILinkPoint { public int ID; public bool Enabled; public Vector2 Position; public int Left; public int Right; public int Up; public int Down; public int Page { get; private set; } public UILinkPoint(int id, bool enabled, int left, int right, int up, int down) { this.ID = id; this.Enabled = enabled; this.Left = left; this.Right = right; this.Up = up; this.Down = down; } public void SetPage(int page) => this.Page = page; public void Unlink() { this.Left = -3; this.Right = -4; this.Up = -1; this.Down = -2; } public event Func OnSpecialInteracts; public string SpecialInteractions() => this.OnSpecialInteracts != null ? this.OnSpecialInteracts() : string.Empty; } }