Class VelocityLastLoginUpdateNameEvent
- java.lang.Object
-
- com.alessiodp.lastloginapi.api.events.velocity.VelocityLastLoginEvent
-
- com.alessiodp.lastloginapi.api.events.velocity.VelocityLastLoginUpdateNameEvent
-
- All Implemented Interfaces:
IUpdateName,LastLoginEvent
public class VelocityLastLoginUpdateNameEvent extends VelocityLastLoginEvent implements IUpdateName
-
-
Constructor Summary
Constructors Constructor Description VelocityLastLoginUpdateNameEvent(LastLoginPlayer player, String newName, String oldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNewName()Get the new name that is gonna be setStringgetOldName()Get the old name@NotNull LastLoginPlayergetPlayer()Get the player-
Methods inherited from class com.alessiodp.lastloginapi.api.events.velocity.VelocityLastLoginEvent
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.lastloginapi.api.events.LastLoginEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
VelocityLastLoginUpdateNameEvent
public VelocityLastLoginUpdateNameEvent(LastLoginPlayer player, String newName, String oldName)
-
-
Method Detail
-
getPlayer
@NotNull public @NotNull LastLoginPlayer getPlayer()
Description copied from interface:IUpdateNameGet the player- Specified by:
getPlayerin interfaceIUpdateName- Returns:
- the
LastLoginPlayer
-
getNewName
public String getNewName()
Description copied from interface:IUpdateNameGet the new name that is gonna be set- Specified by:
getNewNamein interfaceIUpdateName- Returns:
- the new name
-
getOldName
public String getOldName()
Description copied from interface:IUpdateNameGet the old name- Specified by:
getOldNamein interfaceIUpdateName- Returns:
- the old name
-
-