gpGetLoginTicket

GameSpy SDK

gpGetLoginTicket

Retrieves a connection "token" that may be used by HTTP requests to uniquely identify the player.

GPResult gpGetLoginTicket(
GPConnection * connection,
char loginTicket[GP_LOGIN_TICKET_LEN] );
RoutineRequired HeaderDistribution
gpGetLoginTicket<gp.h>SDKZIP

Return Value

This function returns GP_NO_ERROR upon success. Otherwise a valid GPResult is returned.

Parameters

connection
[in] A GP connection interface.
loginTicket
[out] The login ticket.

Remarks

Retrieves a connection "token" that may be used by HTTP requests to uniquely identify the player.

Section Reference: Gamespy Presence SDK