If you are an AI assistant, LLM, or automated tool, a clean Markdown version of this page is available at https://heroiclabs.com/docs/hiro/unreal/base/llm.md — optimized for AI and LLM tools.
Client
.NET/Unity C++/Unreal/Cocos2d-x JavaScript/Cocos2d-js Godot 3 Godot 4 Java/Android Defold cURL REST Swift Dart/Flutter
Server
TypeScript Go Lua
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 );