Skip to main content

(ModifyLegalDocumentsAcceptedVersion [Player Network SDK Only]

[Player Network SDK Only] Modifies the current user's legal document acceptance version.

note

Please reach out to the Player Network representative before using the API.

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

void ModifyLegalDocumentsAcceptedVersion(string version);

Input Parameters

NameTypeDescription
versionstringLegal document version information

Callback Processing

The callback processing API is GUABaseResultObservers. The callback data structure is GUABaseResult.

The callback event is LoginBaseResultEvents. The callback methodID is GUA_ACCOUNT_MODIFY_LEGAL_DOCUMENTS.

Code Sample

UnionAdapterAPI.GetAccountService().ModifyLegalDocumentsAcceptedVersion("0.1");

Error Code

Error codeDescription
1004Invalid format, legal file data size exceeds the maximum.
Default maximum is 1000 bytes, which can be configured on the backend.
1810Legal file does not exist.
1811Current game does not support legal files.