Interface UserChangeAvatarEvent

  • All Superinterfaces:
    Event, UserEvent


    public interface UserChangeAvatarEvent
    extends UserEvent
    A user change avatar event.
    • Method Detail

      • getNewAvatar

        Icon getNewAvatar​()
        Gets the new avatar of the user.
        Returns:
        The new avatar of the user.
      • newAvatarIsDefaultAvatar

        boolean newAvatarIsDefaultAvatar​()
        Checks if the new avatar is a default avatar.
        Returns:
        Whether the new avatar is a default avatar or not.
      • getOldAvatar

        Icon getOldAvatar​()
        Gets the old avatar of the user.
        Returns:
        The old avatar of the user.
      • oldAvatarIsDefaultAvatar

        boolean oldAvatarIsDefaultAvatar​()
        Checks if the old avatar is a default avatar.
        Returns:
        Whether the old avatar is a default avatar or not.