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/progression/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
Progression Read more about the Progression system in Hiro here .
Get all progressions
# Get progressions.
1
2
3
4
5
6
7
8
9
10
FHiroOnProgressionsGet OnProgressionsGet ;
OnProgressionsGet . AddDynamic ( this , & AMyActor :: OnProgressionsGet );
FOnError OnError ;
HiroClient -> ProgressionsGet ( Session , OnProgressionsGet , OnError );
void AMyActor :: OnProgressionsGet ( const FHiroProgressionList & ProgressionList )
{
UE_LOG ( LogTemp , Log , TEXT ( "%s" ), * ProgressionList . ToJson ());
}
Purchase progression
# Purchase a progression for permanent unlock, if supported.
1
2
3
4
5
6
7
8
9
10
11
12
13
FHiroProgressionPurchaseRequest Request ;
Request . Id = TEXT ( "progression_1" );
FHiroOnProgressionsPurchase OnProgressionsPurchase ;
OnProgressionsPurchase . AddDynamic ( this , & AMyActor :: OnProgressionsPurchase );
FOnError OnError ;
HiroClient -> ProgressionsPurchase ( Session , Request , OnProgressionsPurchase , OnError );
void AMyActor :: OnProgressionsPurchase ( const FHiroProgressionList & ProgressionList )
{
UE_LOG ( LogTemp , Log , TEXT ( "%s" ), * ProgressionList . ToJson ());
}