合规性设置用户信息与生日(ComplianceSetUserInfoWithBirthday)
合规流程中设置玩家的区域和生日。
函数定义
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void ComplianceSetUserInfoWithBirthday(
const FString Region,
const int32 BirthdayYear = 0,
const int32 BirthdayMonth = 0,
const int32 BirthdayDay = 0);
入参说明
| 参数 | 类型 | 说明 |
|---|---|---|
| Region | FString | ISO 3166-1 国家或地区的数字代码 例如 156 代表中国,040 代表奥地利 |
| BirthdayYear | int32 | 出生年份 |
| BirthdayMonth | int32 | 出生月份 |
| BirthdayDay | int32 | 出生日 |
回调处理
回调处理接口是 ComplianceResultObserver。回调数据结构是 ComplianceResult。
回调 ID 是 kMethodIDComplianceSetUserInfoWithBirthday。
代码示例
UINTLSDKAPI::ComplianceSetUserInfoWithBirthday("040",2000,1,1);