WaitingValidationListeners.NoneMatchingListener Class
Public Member Functions | |
void | OnValidateSuccess (string jsonSuccessResult) |
This is invoked asynchronously when the promo code has been validated and a JSON payload is available. More... | |
void | OnValidateFailure (string jsonErrorResult) |
This is invoked asynchronously if the promo code is invalid or a network error occurred. More... | |
void | OnValidateSuccess (string jsonSuccessResult) |
This is invoked asynchronously when the promo code has been validated and a JSON payload is available. More... | |
void | OnValidateFailure (string jsonErrorResult) |
This is invoked asynchronously if the promo code is invalid or a network error occurred. More... | |
Member Function Documentation
◆ OnValidateFailure()
| inline |
This is invoked asynchronously if the promo code is invalid or a network error occurred.
- Parameters
jsonErrorResult JSON representing what kind of error occurred. It will be in the format {"errorCode": "abbreviated", "errorMessage": "Description here"}
◆ OnValidateSuccess()
| inline |
This is invoked asynchronously when the promo code has been validated and a JSON payload is available.
- Parameters
jsonSuccessResult The JSON payload from the service that the game should know how to parse since it was made by one of the game's producers.