GffLocString

Gff type LocString (TLK ID + translations)

Constructors

this
this(uint32_t strref, string[int32_t] strings)
this
this(nwnlibd.orderedjson.JSONValue json)

JSON to LocString

Members

Functions

dup
GffLocString dup()

Duplicate GffLocString content

opAssign
auto ref opAssign(string value)

Remove all localization and set its value to a unique string

opAssign
auto ref opAssign(uint32_t value)

Set the strref

resolve
string resolve(StrRefResolver resolver)

Resolve the localized string using TLKs

toJson
nwnlibd.orderedjson.JSONValue toJson()

LocString to JSON

toPrettyString
string toPrettyString()

Get the string value without attempting to resolve strref using TLKs

toString
string toString()

Get the string value without attempting to resolve strref using TLKs

Variables

strings
string[int32_t] strings;

Language => string pairs

strref
uint32_t strref;

String ref linking to a TLK entry

Meta