Class PlayFab.Response

java.lang.Object
com.csse3200.game.components.login.PlayFab.Response
Enclosing class:
PlayFab

public static class PlayFab.Response extends Object
A class used to return the result of a user action (registration/login).
  • Constructor Details

    • Response

      public Response(String result, Boolean isSucceed)
      Constructor for the Response class.
      Parameters:
      result - The result message.
      isSucceed - Indicates whether the operation was successful.
  • Method Details

    • getResult

      public String getResult()
      Gets the result message.
      Returns:
      The result message.
    • getIsSucceed

      public Boolean getIsSucceed()
      Gets whether the operation succeeded.
      Returns:
      true if the operation succeeded, false otherwise.