public static void ShowWaypoint(Waypoint waypoint) { Client.Instance.SendToClient(new QuestArrow(true, Convert.ToUInt16(waypoint.X), Convert.ToUInt16(waypoint.Y))); CurrentWaypoint = waypoint; SendMessage($"Waypoint: {CurrentWaypoint}"); if (Config.GetBool("ShowWaypointDistance")) { _waypointTimer.Start(); } }
public static void ResetTimer() { if (_waypointTimer.Running) { _waypointTimer.Stop(); _waypointTimer = new WaypointDistanceTimer(); _waypointTimer.Start(); } else { _waypointTimer = new WaypointDistanceTimer(); _waypointTimer.Stop(); } }