Class RemoteSpectatorAddResult

java.lang.Object
de.marcely.bedwars.api.remote.RemoteSpectatorAddResult

public final class RemoteSpectatorAddResult extends Object
Represents the result of a player that tried to get added as a spectator.
  • Constructor Details

  • Method Details

    • getPlayerUniqueId

      public UUID getPlayerUniqueId()
      The unique id of the player.
      Returns:
      The uuid of the player
    • wasSuccessful

      public boolean wasSuccessful()
      Gets whether it was successful
      Returns:
      true if it was successful
    • getResult

      public RemoteSpectatorAddResult.Result getResult()
      Gets what exactly happend
      Returns:
      The exact result