View Issue Details

IDProjectCategoryView StatusLast Update
0004857NoesisGUIC++ SDKpublic2026-05-21 16:58
ReporterJinFox Assigned Tohcpizzi  
PrioritynormalSeverityfeature 
Status feedbackResolutionreopened 
Product Version3.2 
Target Version3.2.13Fixed in Version3.2.13 
Summary0004857: Allowing to add automatic conversion for base types such as FGameplayTag.
Description

Hello, Similarly to enum or custom control or injecting special rich text tag processor. I would like to know if it there would be a way to register lambda or similar system to be able to create default conversion for base types without having to use a converter.
This has been discussed there : https://www.noesisengine.com/forums/viewtopic.php?t=3857

Thank you!

PlatformAny

Activities

hcpizzi

hcpizzi

2026-03-11 17:57

developer   ~0012023

I've added a function NoesisRegisterStructToStringConverter<T>() and a non templated NoesisRegisterUStructStringConversion(UScriptStruct, Noesis::String()(void*)). They are used to provide a fuction to convert USTRUCT to text. The templated version can be used with USTRUCTs that have a ToString function that returns a FString. The second allows the conversion function to be customized. They are used in NoesisStructWrapper::ToString, which is called by the default converter.

JinFox

JinFox

2026-05-21 16:58

reporter   ~0012336

Hello,
I have tested and it actually works well but unfortunately it only covers for ToString but not for equality it seem which would be required to use FGameplaytag for triggers:
For example after using NoesisRegisterStructToStringConverter<FGameplayTag>(); the following trigger doesn't trigger with HealthState being a FGameplayTag :

<b:DataTrigger Binding="{Binding Path=HealthState}" Value="Health.State.Critical">
...
</b:DataTrigger>

Issue History

Date Modified Username Field Change
2026-03-04 12:26 JinFox New Issue
2026-03-04 15:01 jsantos Assigned To => hcpizzi
2026-03-04 15:01 jsantos Status new => assigned
2026-03-04 15:01 jsantos Target Version => 3.2.13
2026-03-11 17:57 hcpizzi Status assigned => resolved
2026-03-11 17:57 hcpizzi Resolution open => fixed
2026-03-11 17:57 hcpizzi Fixed in Version => 3.2.13
2026-03-11 17:57 hcpizzi Note Added: 0012023
2026-05-21 16:58 JinFox Status resolved => feedback
2026-05-21 16:58 JinFox Resolution fixed => reopened
2026-05-21 16:58 JinFox Note Added: 0012336