scGetConnectionId

GameSpy SDK

scGetConnectionId

Used to obtain a Connection ID when setting player data in the report.

const char * scGetConnectionId(
const SCInterfacePtr theInterface );
RoutineRequired HeaderDistribution
scGetConnectionId<sc.h>SDKZIP

Return Value

Parameters

theInterface
[in] A valid SC Inteface Object

Remarks

The connection id identifies a single player in a game session. It may be possible to have different connection ids during the same session since players can come and leave sessions.

Section Reference: Gamespy Competition SDK