# Base

**URL:** https://heroiclabs.com/docs/hiro/unreal/base/
**Keywords:** base, hiro
**Categories:** hiro, unreal, base

---


# Base

Read more about the Base system in Hiro [here](../../concepts/base/).

## Rate app
Send feedback to the game's developers over email.

```cpp
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.

```cpp
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);
```