SCResult
used for checking errors and failures.
- typedef enum
- {
- SCResult_NO_ERROR= 0,
- SCResult_NO_AVAILABILITY_CHECK,
- SCResult_INVALID_PARAMETERS,
- SCResult_NOT_INITIALIZED,
- SCResult_CORE_NOT_INITIALIZED,
- SCResult_OUT_OF_MEMORY,
- SCResult_CALLBACK_PENDING,
- SCResult_HTTP_ERROR,
- SCResult_UNKNOWN_RESPONSE,
- SCResult_RESPONSE_INVALID,
- SCResult_REPORT_INCOMPLETE,
- SCResult_REPORT_INVALID,
- SCResult_SUBMISSION_FAILED,
- SCResult_UNKNOWN_ERROR,
- SCResultMax
- } SCResult;
Constants
- SCResult_NO_ERROR
- No error has occurred.
- SCResult_NO_AVAILABILITY_CHECK
- The standard GameSpy Availability Check was not performed prior to initialization.
- SCResult_INVALID_PARAMETERS
- Parameters passed to interface function were invalid.
- SCResult_NOT_INITIALIZED
- The SDK was not initialized.
- SCResult_CORE_NOT_INITIALIZED
- The core was initialized by the application.
- SCResult_OUT_OF_MEMORY
- The SDK could not allocate memory for its resources.
- SCResult_CALLBACK_PENDING
- Result tell the application, that the operation is still pending.
- SCResult_HTTP_ERROR
- Error occurs if the backend fails to respond with correct HTTP.
- SCResult_UNKNOWN_RESPONSE
- Error occurs if the SDK cannot understand the result.
- SCResult_RESPONSE_INVALID
- Error occurs if the SDK cannot read the response from the backend.
- SCResult_REPORT_INCOMPLETE
- The report was incomplete.
- SCResult_REPORT_INVALID
- Part or all of report is invalid.
- SCResult_SUBMISSION_FAILED
- Submission of report failed.
- SCResult_UNKNOWN_ERROR
- Error unknown to sdk.
- SCResultMax
- Total number of result codes that can be returned.
Remarks
Results of a call to an interface function or operation. It can be used to see if the initial call to a function completed without error. The callback that is passed to interface functions will also have a value that is of this type. The application can check this value for failures.
Section Reference: Gamespy Competition SDK