QueryLegalDocumentsAcceptedVersion [Player Network SDK Only]
[Player Network SDK Only] Queries the current user's legal document acceptance version.
note
Please reach out to the Player Network representative before using the API.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS, Windows
platform.Supports
Android, iOS, Windows
platform.Function Definition
- Unity
- Unreal Engine
void QueryLegalDocumentsAcceptedVersion();
static void QueryLegalDocumentsAcceptedVersion();
Callback Processing
The callback processing API is GUALoginResultObservers. The callback data structure is GUALoginResult.
- Unity
- Unreal Engine
The callback event is LoginResultEvents
.
The callback methodID is GUA_ACCOUNT_QUERY_LEGAL_DOCUMENTS
.
The callback event is OnLoginResultNotify
.
The callback methodID is kMethodIDAccountQueryLegalDocuments
.
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().QueryLegalDocumentsAcceptedVersion();
GUA_NAMESPACE::GUAAccountService::QueryLegalDocumentsAcceptedVersion();
Error Code
Error Code | Description |
---|---|
1810 | There is no legal document data. |