GetPersistData
Gets the entire block of persistent data for a user.
- void GetPersistData(
- int localid,
- int profileid,
- persisttype_t type,
- int index,
- PersDataCallbackFn callback,
- void * instance );
Routine | Required Header | Distribution |
---|---|---|
GetPersistData | <gpersist.h> | SDKZIP |
Parameters
- localid
- [in] Your game-specific reference number for this player
- profileid
- [in] The profileid of the player whose data you are getting.
- type
- [in] The type of persistent data you are getting.
- index
- [in] Each profile can have multiple persistent data records associated with them. Usually 0 is used.
- callback
- [in] Will be called with the data.
- instance
- [in] Pointer that will be passed to the callback function (for your use.)
Section Reference: Gamespy Persistent Storage SDK