Base #

Read more about the Base system in Hiro here.

Rate app #

Send feedback to the game’s developers over email.

1
2
3
4
5
6
7
FHiroRateAppRequest Request;
Request.Score = 5;
Request.Message = TEXT("I loved it!");

FOnError OnError;

HiroClient->BaseRateApp(Session, Request, OnError);

Set device prefs #

Update or create the mobile push device tokens and preferences for the player.

1
2
3
4
5
6
7
8
9
FHiroDevicePrefsRequest Request;
Request.DeviceId = TEXT("device_id");
Request.PushTokenAndroid = TEXT("android_push_token");
Request.PushTokenIos = TEXT("ios_push_token");
Request.Preferences.Add(TEXT("dark_mode"), true)

FOnError OnError;

HiroClient->BaseRateApp(Session, Request, OnError);