PreAuthenticatePlayerPM

GameSpy SDK

PreAuthenticatePlayerPM

Authenticates a player on the Stats server.

void PreAuthenticatePlayerPM(
int localid,
int profileid,
char * challengeresponse,
PersAuthCallbackFn callback,
void * instance );
RoutineRequired HeaderDistribution
PreAuthenticatePlayerPM<gpersist.h>SDKZIP

Parameters

localid
[in] Your game-specific reference number for this player
profileid
[in] The profileid of the player being authenticated.
challengeresponse
[in] Result of the GenerateAuth() call
callback
[in] Will be called when the authentication is complete (either successful or not).
instance
[in] Pointer that will be passed to the callback function (for your use)