Class AsyncTeamUnloadEvent
java.lang.Object
org.bukkit.event.Event
com.fren_gor.ultimateAdvancementAPI.events.team.AsyncTeamUnloadEvent
Called after a
TeamProgression
instance is removed from the caching system.
The TeamProgression
instance provided by this event is always invalid.
May be called asynchronously.
- Since:
- 2.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionCreates a newAsyncTeamUnloadEvent
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static HandlerList
Gets theTeamProgression
of the unloaded team.int
hashCode()
toString()
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AsyncTeamUnloadEvent
Creates a newAsyncTeamUnloadEvent
.- Parameters:
team
- TheTeamProgression
of the unloaded team. It must be invalid (seeTeamProgression.isValid()
).
-
-
Method Details
-
getTeamProgression
Gets theTeamProgression
of the unloaded team.Note that the returned
TeamProgression
is always invalid (seeTeamProgression.isValid()
).- Returns:
- The
TeamProgression
of the unloaded team.
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
toString
-
equals
-
hashCode
public int hashCode()
-