scCreateMatchlessSession

GameSpy SDK

scCreateMatchlessSession

This is a variation of scCreateSession that creates a "matchless" session; "matchless" means incoming data will be scrutinized less, and applied to stats immediately instead of when the match is over.

SCResult scCreateMatchlessSession(
SCInterfacePtr theInterface,
const GSLoginCertificate * theCertificate,
const GSLoginPrivateData * thePrivateData,
SCCreateSessionCallback theCallback,
gsi_time theTimeoutMs,
void * theUserData );
RoutineRequired HeaderDistribution
scCreateMatchlessSession<sc.h>SDKZIP

Return Value

Enum value used to indicate the specific result of the request. This will return SCResult_NO_ERROR if the request completed successfully.

Parameters

theInterface
[in] A valid SC Inteface Object
theCertificate
[in] Certificate obtained from the auth service.
thePrivateData
[in] Private Data obtained from the auth service.
theCallback
[in] The callback called when create session completes.
theTimeoutMs
[in] Timeout in case the create session operation takes too long
theUserData
[in] User data for use in callbacks. Note that it is a constant pointer in the callback

Remarks

Reports sent for matchless sessions should be marked as such using "scReportSetAsMatchless".