GetChallenge

GameSpy SDK

GetChallenge

Get the challenge value used for authentication.

char * GetChallenge(
statsgame_t game );
RoutineRequired HeaderDistribution
GetChallenge<gpersist.h>SDKZIP

Return Value

Returns a string to pass to GenerateAuth to create the authentication hash.

Parameters

game
[in] Your current game, or NULL if not using Stats and Tracking SDK

Section Reference: Gamespy Persistent Storage SDK

See Also: GenerateAuth