Enum Class BirdFlight

java.lang.Object
java.lang.Enum<BirdFlight>
net.storm.api.movement.pathfinder.model.BirdFlight
All Implemented Interfaces:
Serializable, Comparable<BirdFlight>, Constable

public enum BirdFlight extends Enum<BirdFlight>
Enumeration of Quetzal Bird Flight destinations in Varlamore.

BirdFlight represents the Quetzal bird transportation network in the Varlamore region. Players use a Quetzal Whistle to summon birds for transportation between unlocked destinations.

Default Destinations

  • Civitas illa Fortis - Main city hub
  • The Teomat - Northern temple area
  • Sunset Coast - Western coastal area
  • Hunter Guild - Guild location
  • Aldarin - Southern town
  • Quetzacalli Gorge - Canyon area
  • Tal Teklan - Ancient ruins
  • Auburnvale - Forest area

Unlockable Destinations

Some destinations require discovery via varbit flags:

  • Cam Torum Entrance
  • Colossal Wyrm Remains
  • Outer Fortis
  • Fortis Colosseum
  • Salvager Overlook
  • Kastori

Usage Example


 BirdFlight destination = BirdFlight.HUNTER_GUILD;

 if (destination.canUse()) {
     IWidget widget = destination.getWidget();
     // Select destination
 }

 // Get last used destination
 BirdFlight lastDest = BirdFlight.getLastDestination();
 
See Also:
  • Enum Constant Details

    • CIVITAS_ILLA_FORTIS

      public static final BirdFlight CIVITAS_ILLA_FORTIS
      Main city hub (always unlocked).
    • THE_TEOMAT

      public static final BirdFlight THE_TEOMAT
      Northern temple area (always unlocked).
    • SUNSET_COAST

      public static final BirdFlight SUNSET_COAST
      Western coastal area (always unlocked).
    • HUNTER_GUILD

      public static final BirdFlight HUNTER_GUILD
      Hunter Guild location (always unlocked).
    • CAM_TORUM_ENTRANCE

      public static final BirdFlight CAM_TORUM_ENTRANCE
      Cam Torum entrance (requires discovery via varbit 9955).
    • COLOSSAL_WYRM_REMAINS

      public static final BirdFlight COLOSSAL_WYRM_REMAINS
      Colossal Wyrm area (requires discovery via varbit 9956).
    • OUTER_FORTIS

      public static final BirdFlight OUTER_FORTIS
      Outer Fortis area (requires discovery via varbit 9957).
    • FORTIS_COLOSSEUM

      public static final BirdFlight FORTIS_COLOSSEUM
      Fortis Colosseum (requires discovery via varbit 9958).
    • ALDARIN

      public static final BirdFlight ALDARIN
      Southern town (always unlocked).
    • QUETZACALLI_GORGE

      public static final BirdFlight QUETZACALLI_GORGE
      Canyon area (always unlocked).
    • SALVAGER_OVERLOOK

      public static final BirdFlight SALVAGER_OVERLOOK
      Salvager Overlook (requires discovery via varbit 11379).
    • TAL_TEKLAN

      public static final BirdFlight TAL_TEKLAN
      Ancient ruins (always unlocked).
    • AUBURNVALE

      public static final BirdFlight AUBURNVALE
      Forest area (always unlocked).
    • KASTORI

      public static final BirdFlight KASTORI
      Kastori area (requires discovery via varbit 17757).
  • Method Details

    • values

      public static BirdFlight[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BirdFlight valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBirdFlightTransports

      public static List<Transport> getBirdFlightTransports()
      Gets all available bird flight routes as Transport objects.

      Creates transports for every destination-to-destination combination where both the source and target are usable by the player.

      Returns:
      list of Transport objects for all usable bird flight routes
    • getLastDestination

      public static BirdFlight getLastDestination()
      Gets the last bird flight destination that was used.

      Reads the LAST_BIRD_TRANSPORT varbit to determine the most recently selected destination.

      Returns:
      the last used BirdFlight destination, or null if none
    • canUse

      public boolean canUse()
      Checks if the player can use this bird flight destination.

      Destinations are usable if they have been discovered (varbit check) or have no discovery requirement (always unlocked).

      Returns:
      true if the player has unlocked/discovered this destination
    • getWidget

      public IWidget getWidget()
      Gets the widget for selecting this destination from the bird flight interface.
      Returns:
      the widget for this destination from the Quetzal interface