Class PlayFab.Response
java.lang.Object
com.csse3200.game.components.login.PlayFab.Response
- Enclosing class:
PlayFab
A class used to return the result of a user action (registration/login).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets whether the operation succeeded.Gets the result message.
-
Constructor Details
-
Response
Constructor for the Response class.- Parameters:
result
- The result message.isSucceed
- Indicates whether the operation was successful.
-
-
Method Details
-
getResult
Gets the result message.- Returns:
- The result message.
-
getIsSucceed
Gets whether the operation succeeded.- Returns:
- true if the operation succeeded, false otherwise.
-