Interface IntelManagerAPI
public interface IntelManagerAPI
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIntel
(IntelInfoPlugin plugin) void
addIntel
(IntelInfoPlugin plugin, boolean forceNoMessage) void
addIntel
(IntelInfoPlugin plugin, boolean forceNoMessage, TextPanelAPI textPanel) void
addIntelToTextPanel
(IntelInfoPlugin plugin, TextPanelAPI textPanel) void
clear()
getIntel()
int
getIntelCount
(Class c, boolean includeQueued) boolean
hasIntel
(IntelInfoPlugin plugin) boolean
hasIntelOfClass
(Class<?> c) boolean
hasIntelQueued
(IntelInfoPlugin plugin) boolean
void
queueIntel
(IntelInfoPlugin plugin) Will become known to the player as soon as they're in comm relay range.void
queueIntel
(IntelInfoPlugin plugin, float maxCommQueueDays) Will become known to the player as soon as they're in comm relay range.void
void
removeIntel
(IntelInfoPlugin plugin) Removes and unqueues.void
sortIntel
(List<IntelInfoPlugin> toSort) boolean
unqueueIntel
(IntelInfoPlugin plugin)
-
Method Details
-
hasIntel
-
hasIntelQueued
-
getIntel
List<IntelInfoPlugin> getIntel() -
getIntel
-
getCommQueue
List<IntelInfoPlugin> getCommQueue() -
getCommQueue
-
unqueueIntel
-
queueIntel
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
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
-
addIntel
-
addIntel
-
removeIntel
Removes and unqueues.- Parameters:
plugin
-
-
removeAllThatShouldBeRemoved
void removeAllThatShouldBeRemoved() -
clear
void clear() -
addIntelToTextPanel
-
getIntelCount
-
isPlayerInRangeOfCommRelay
boolean isPlayerInRangeOfCommRelay() -
getFirstIntel
-
hasIntelOfClass
-
sortIntel
-