#include <dwc.h>
BOOL DWC_CheckDirtyFlag(const DWCUserData *userdata);| userdata | Pointer to the DWCUserData structure where the user data is stored. |
TRUE |
The dirty flag is set (user data has been changed). |
FALSE |
The dirty flag is not set (user data remains unchanged). |
Checks the dirty flag that is set in the DWCUserData structure when user data has been changed. The dirty flag is updated only when the login completion callback is called after the DWC_LoginAsync function has been called.
Even when the login completion callback is not called, have the application check this flag every time the game data is saved. If the dirty flag is set, have the application save the user data.
Before saving, always call the DWC_ClearDirtyFlag function and clear the dirty flag.
DWC_CreateUserData
DWC_ClearDirtyFlag
DWC_LoginAsync
For the change log prior to 5.1 PR2, click here.
CONFIDENTIAL