SCSubmitReportCallback
Called when scSubmitReport completes.
- typedef void (*SCSubmitReportCallback)(
- const SCInterfacePtr theInterface,
- GHTTPResult theHttpResult,
- SCResult theResult,
- const void * theUserData );
Routine | Required Header | Distribution |
---|---|---|
SCSubmitReportCallback | <sc.h> | SDKZIP |
Parameters
- theInterface
- [in] the pointer to the SC Interface object. The game usually has copy of this also.
- theHttpResult
- [in] Http result from creating a session
- theResult
- [in] SC Result telling the application what happened when creating a session
- theUserData
- [in] constant pointer to user data
Remarks
After the SDK submits the report, the backend will send back results that will be available in this callback. If there were any errors, theResult will be set to the specific error code. Otherwise theResult will be set to SCResult_NO_ERROR. Please see SCResult for error codes.
Section Reference: Gamespy Competition SDK
See Also: scSubmitReport, SCResult