Interface IntelManagerAPI


public interface IntelManagerAPI
  • Method Details

    • hasIntel

      boolean hasIntel(IntelInfoPlugin plugin)
    • hasIntelQueued

      boolean hasIntelQueued(IntelInfoPlugin plugin)
    • getIntel

      List<IntelInfoPlugin> getIntel()
    • getIntel

      List<IntelInfoPlugin> getIntel(Class c)
    • getCommQueue

      List<IntelInfoPlugin> getCommQueue()
    • getCommQueue

      List<IntelInfoPlugin> getCommQueue(Class c)
    • unqueueIntel

      boolean unqueueIntel(IntelInfoPlugin plugin)
    • queueIntel

      void queueIntel(IntelInfoPlugin plugin, float maxCommQueueDays)
      Will become known to the player as soon as they're in comm relay range. Will be unqueued if not received by the player within maxCommQueueDays days.
      Parameters:
      plugin -
      maxCommQueueDays -
    • queueIntel

      void queueIntel(IntelInfoPlugin plugin)
      Will become known to the player as soon as they're in comm relay range. Will remain queued until it's either received or plugin.shouldRemoveIntel() returns true.
      Parameters:
      plugin -
    • addIntel

      void addIntel(IntelInfoPlugin plugin)
    • addIntel

      void addIntel(IntelInfoPlugin plugin, boolean forceNoMessage)
    • addIntel

      void addIntel(IntelInfoPlugin plugin, boolean forceNoMessage, TextPanelAPI textPanel)
    • removeIntel

      void removeIntel(IntelInfoPlugin plugin)
      Removes and unqueues.
      Parameters:
      plugin -
    • removeAllThatShouldBeRemoved

      void removeAllThatShouldBeRemoved()
    • clear

      void clear()
    • addIntelToTextPanel

      void addIntelToTextPanel(IntelInfoPlugin plugin, TextPanelAPI textPanel)
    • getIntelCount

      int getIntelCount(Class c, boolean includeQueued)
    • isPlayerInRangeOfCommRelay

      boolean isPlayerInRangeOfCommRelay()
    • getFirstIntel

      IntelInfoPlugin getFirstIntel(Class c)
    • hasIntelOfClass

      boolean hasIntelOfClass(Class<?> c)
    • sortIntel

      void sortIntel(List<IntelInfoPlugin> toSort)