scGetSessionId
Used to obtain the session ID for the current game session.
- const char *Â scGetSessionId(
- const SCInterfacePtr theInterface );
Routine | Required Header | Distribution |
---|---|---|
scGetSessionId | <sc.h> | SDKZIP |
Return Value
Parameters
- theInterface
- [in] A valid SC Inteface Object
Remarks
The session ID indentifies a single game session happening between players. After the host creates a session, this function can be called to obtain the session ID. The host can then send the session ID to all other players participating in the game session.
Section Reference: Gamespy Competition SDK
See Also: scSetSessionId, scCreateSession