proletariatgames / unreal.hx

Unreal.hx: Haxe Integration for Unreal
MIT License
423 stars 42 forks source link

`FString` and `Const<PRef<FString>>` UHT issue #127

Open waneck opened 5 years ago

waneck commented 5 years ago

In UHT, if you define

@:ufunction(BlueprintImplementableEvent) function Something(Arg:FString);

It will generate the reflection code as if we had declared a Const<PRef<FString>>. We should fix this in Unreal.hx by always making such transform for ufunction arguments