Struct GffField
GFF generic value (used for GffStruct
children). This can be used as a Variant.
Properties
Name | Type | Description |
label [get]
|
string | Get the label of this field
|
type [get]
|
GffType | Value type
|
value [get]
|
std.variant.VariantN!(32L,ubyte,byte,ushort,short,uint,int,ulong,long,float,double,string,nwn.fastgff.GffResRef,nwn.fastgff.GffLocString,ubyte[],nwn.fastgff.GffStruct,nwn.fastgff.GffList) | Get the value as a Variant
|
Methods
Name | Description |
opIndex
(label)
|
Shorthand for getting child field assuming this field is a GffStruct
|
opIndex
(index)
|
Shorthand for getting child field assuming this field is a GffList
|
to
()
|
|
toPrettyString
(tabs)
|
Serialize the field and its children in a human-readable format
|
toString
()
|
Serialize the field in a human-readable format. Does not represents struct or list children.
|