PersDataSaveCallbackFn
Used in conjunction with the SetPersistData* functions; called when the data save is complete.
- typedef void (*PersDataSaveCallbackFn)(
- int localid,
- int profileid,
- persisttype_t type,
- int index,
- int success,
- time_t modified,
- void * instance );
Routine | Required Header | Distribution |
---|---|---|
PersDataSaveCallbackFn | <gpersist.h> | SDKZIP |
Parameters
- localid
- [in] The localid associated with the save request.
- profileid
- [in] The profileid associated with the save request.
- type
- [in] The type of persistent data being saved.
- index
- [in] The persistent data index, as passed to SetPersistData.
- success
- [in] True if success
- modified
- [in] Modification time
- instance
- [in] The same instance pointer that was passed to SetPersistData.
Section Reference: Gamespy Persistent Storage SDK