Class VelocityPartiesPartyLevelUpEvent
- java.lang.Object
-
- com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
-
- com.alessiodp.parties.api.events.velocity.party.VelocityPartiesPartyLevelUpEvent
-
- All Implemented Interfaces:
IPartyLevelUpEvent,PartiesEvent
public class VelocityPartiesPartyLevelUpEvent extends VelocityPartiesEvent implements IPartyLevelUpEvent
-
-
Constructor Summary
Constructors Constructor Description VelocityPartiesPartyLevelUpEvent(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.velocity.VelocityPartiesEvent
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
-
VelocityPartiesPartyLevelUpEvent
public VelocityPartiesPartyLevelUpEvent(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
-
-