PersAuthCallbackFn

GameSpy SDK

PersAuthCallbackFn

Used in conjunction with the PreAuthenticatePlayer functions; called when the authentication is complete.

typedef void (*PersAuthCallbackFn)(
int localid,
int profileid,
int authenticated,
gsi_char * errmsg,
void * instance );
RoutineRequired HeaderDistribution
PersAuthCallbackFn<gpersist.h>SDKZIP

Parameters

localid
[in] The localid associated with the authentication.
profileid
[in] The profileid for the player which is being Authenticated.
authenticated
[in] True if authenticated.
errmsg
[in] Error message if applicable.
instance
[in] The same instance as passed into the PreAuthenticate function.

Section Reference: Gamespy Persistent Storage SDK