QueryIsEEA
Query if a region is in the European Economic Area (EEA).
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void QueryIsEEA(const FString Region);
Input parameters
caution
The country or region code of a user must strictly follow the ISO 3166-1 standard. For example, write 004 instead of 4 for Afghanistan.
Parameter | Type | Description |
---|---|---|
Region | FString | ISO 3166-1 numeric code for country or region. For example, 156 for China, 040 for Austria Region values can be retrieved from ComplianceQueryUserStatus callback that was previously set via ComplianceSetUserProfile |
Return value
FINTLComplianceResult: Inherits from FINTLBaseResult
Parameter | Type | Description |
---|---|---|
IsEEA | bool | Checks whether player is currently in EEA |
Observers
The callback processing interface is ComplianceResultObserver. The callback data structure is ComplianceResult.
The callback methodID is kMethodIDComplianceQueryIsEEA
.
Code sample
FString region = "250";
UINTLSDKAPI::QueryIsEEA(region);