#include <dwc.h>typedef void(*) DWCLoadFromServerCallback(BOOL success,
int index,
char *data,
int len,
void *param);| TRUE: Load succeeded. FALSE: Load failed. |
|
| Friend roster index of the party whose data to load. Value is -1 if it is the self, or if the party ceases to be a friend before loading completes. | |
| Loaded data (key/value character string pair). | |
| Load data length | |
| Callback parameter. |
None.
success=FALSE also results if the key specified by the load function does not exist or if an attempt was made to read a key saved by another player using the DWC_SavePrivateDataAsync function.
Do not call DWC_LogoutFromStorageServer from inside a callback.
DWC_LogoutFromStorageServer function.CONFIDENTIAL