Interface RoleChangePositionEvent
-
- All Superinterfaces:
Event,RoleEvent,ServerEvent
public interface RoleChangePositionEvent extends RoleEvent
A role change position event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetNewPosition()Gets the new real position of the role.intgetNewRawPosition()Gets the new raw position of the role.intgetOldPosition()Gets the old real position of the role.intgetOldRawPosition()Gets the old raw position of the role.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getNewPosition
int getNewPosition()
Gets the new real position of the role.- Returns:
- The new real position of the role.
-
getOldPosition
int getOldPosition()
Gets the old real position of the role.- Returns:
- The old real position of the role.
-
getNewRawPosition
int getNewRawPosition()
Gets the new raw position of the role.- Returns:
- The new raw position of the role.
-
getOldRawPosition
int getOldRawPosition()
Gets the old raw position of the role.- Returns:
- The old raw position of the role.
-
-