PersDataCallbackFn

GameSpy SDK

PersDataCallbackFn

Used in conjunction with the GetPersistData functions; called when the data retrieval is complete.

typedef void (*PersDataCallbackFn)(
int localid,
int profileid,
persisttype_t type,
int index,
int success,
time_t modified,
char * data,
int len,
void * instance );
RoutineRequired HeaderDistribution
PersDataCallbackFn<gpersist.h>SDKZIP

Parameters

localid
[in] The localid associated with the data retrieval.
profileid
[in] The profileid associated with the data retrieval.
type
[in] The type of persistent data that was retrieved.
index
[in] The persistent data index, as passed to GetPersistData.
success
[in] True if successful.
modified
[in] Modification time.
data
[in] The data requested.
len
[in] The length of the data buffer
instance
[in] The same instance pointer that was passed to GetPersistData.