View Issue Details

IDProjectCategoryView StatusLast Update
0004348NoesisGUIC++ SDKpublic2025-08-25 15:23
ReporterKamo Assigned Tojsantos  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Product VersionStudio_Beta 
Target VersionStudio_Beta 
Summary0004348: Be able to access dictionaries with IDs (e.g. uint32_t or uint64_t) instead of strings (const char*)
Description

This would involve also creating a setting for Noesis Studio so we could have mapped values somewhere in Noesis Studio options so that the localization drop down lists would show the strings as well.

PlatformAny

Activities

jsantos

jsantos

2025-08-25 12:41

manager   ~0010997

Note that our proposal is just a "fast-path" for the API of the Dictionary, for getting access to the resources using symbols (IDs associated to strings) -> NsCore/Symbol.h

But. with this approach, nothing changes on Studio side, where entries are still strings.

Not sure if this matches your expectations.

Kamo

Kamo

2025-08-25 15:13

reporter   ~0011001

I will take a look and try Symbols out! But I think there should also be
BaseComponent* ResourceDictionary::Get(const Symbol& key) const;
next to
BaseComponent* ResourceDictionary::Get(const char* key) const;

Kamo

Kamo

2025-08-25 15:18

reporter   ~0011002

And I would suggest something similar for all functions wanting Uri for argument

Kamo

Kamo

2025-08-25 15:22

reporter   ~0011003

Last edited: 2025-08-25 15:23

Also, exposing how SymbolManager creates an index out of the string would be nice. Like a callback function would maybe be nice, if not changed it uses yours native one. Because every game has its own way of creating a "hash" and in this way we get more freedom.

Issue History

Date Modified Username Field Change
2025-08-22 19:43 Kamo New Issue
2025-08-25 12:38 jsantos Assigned To => jsantos
2025-08-25 12:38 jsantos Status new => assigned
2025-08-25 12:38 jsantos Product Version => Studio_Beta
2025-08-25 12:38 jsantos Target Version => Studio_Beta
2025-08-25 12:41 jsantos Note Added: 0010997
2025-08-25 12:41 jsantos Status assigned => feedback
2025-08-25 15:13 Kamo Note Added: 0011001
2025-08-25 15:13 Kamo Status feedback => assigned
2025-08-25 15:18 Kamo Note Added: 0011002
2025-08-25 15:22 Kamo Note Added: 0011003
2025-08-25 15:23 Kamo Note Edited: 0011003