2026-01-01 22:18:40 -05:00
|
|
|
type localize [display="Localize Entry"]
|
|
|
|
|
{
|
2026-01-07 16:36:40 -05:00
|
|
|
// Value comes first in the structure
|
2026-01-01 22:18:40 -05:00
|
|
|
i32 value_ptr [ui, readonly, display="Value Ptr"];
|
|
|
|
|
|
2026-01-07 16:36:40 -05:00
|
|
|
// Then name
|
|
|
|
|
i32 name_ptr [ui, readonly, display="Name Ptr"];
|
|
|
|
|
|
|
|
|
|
// Parse inline value
|
2026-01-01 22:18:40 -05:00
|
|
|
if (value_ptr == -1) {
|
|
|
|
|
value = cstring() [ui, readonly, display="Value"];
|
|
|
|
|
}
|
2026-01-07 16:36:40 -05:00
|
|
|
|
|
|
|
|
// Parse inline name
|
|
|
|
|
if (name_ptr == -1) {
|
|
|
|
|
name = cstring() [ui, readonly, display="Name"];
|
|
|
|
|
_name = name;
|
|
|
|
|
}
|
2026-01-01 22:18:40 -05:00
|
|
|
}
|