Class BungeePartiesPartyLevelUpEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
-
- com.alessiodp.parties.api.events.bungee.party.BungeePartiesPartyLevelUpEvent
-
- All Implemented Interfaces:
IPartyLevelUpEvent,PartiesEvent
public class BungeePartiesPartyLevelUpEvent extends BungeePartiesEvent implements IPartyLevelUpEvent
-
-
Constructor Summary
Constructors Constructor Description BungeePartiesPartyLevelUpEvent(Party party, int newLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNewLevel()Get the new party level@NotNull PartygetParty()Get the party that leveled up-
Methods inherited from class com.alessiodp.parties.api.events.bungee.BungeePartiesEvent
getApi, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
BungeePartiesPartyLevelUpEvent
public BungeePartiesPartyLevelUpEvent(Party party, int newLevel)
-
-
Method Detail
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPartyLevelUpEventGet the party that leveled up- Specified by:
getPartyin interfaceIPartyLevelUpEvent- Returns:
- the
Party
-
getNewLevel
public int getNewLevel()
Description copied from interface:IPartyLevelUpEventGet the new party level- Specified by:
getNewLevelin interfaceIPartyLevelUpEvent- Returns:
- the new level of the party
-
-