Anvil
|
A GffResourceField containing a list of GffResourceFieldStruct values. More...
Public Member Functions | |
IEnumerator< GffResourceFieldStruct > | GetEnumerator () |
Public Member Functions inherited from Anvil.API.GffResourceField | |
virtual bool | ContainsKey (string key) |
If this field is a GffResourceFieldStruct, determines if the specified key exists in the structure. More... | |
sealed override? string | ToString () |
virtual bool | TryGetValue (string key, [NotNullWhen(true)] out GffResourceField? value) |
If this field is a GffResourceFieldStruct, gets the value associated with the specified key. More... | |
object? | Value () |
Gets the value of this field. More... | |
T? | Value< T > () |
Gets the value of this field. More... | |
object? | ValueOrDefault () |
Gets the value of this field. More... | |
T? | ValueOrDefault< T > () |
Gets the value of this field. More... | |
Properties | |
override int | Count [get] |
override GffResourceFieldType | FieldType [get] |
override GffResourceFieldStruct | this[int index] [get] |
override IEnumerable< GffResourceFieldStruct > | Values [get] |
Properties inherited from Anvil.API.GffResourceField | |
virtual int | Count [get] |
Gets the number of child fields. More... | |
virtual IEnumerable< KeyValuePair< string, GffResourceField > > | EntrySet = Enumerable.Empty<KeyValuePair<string, GffResourceField>>() [get] |
If this field is a struct, gets an enumerable of the key/values pairs. Otherwise, returns an empty enumerable. More... | |
abstract GffResourceFieldType | FieldType [get] |
Gets the GFF field type. More... | |
bool | HasChildren [get] |
Gets whether this field contains child values. More... | |
virtual IEnumerable< string > | Keys = Enumerable.Empty<string>() [get] |
If this field is a struct, gets an enumerable of the struct's keys. Otherwise, returns an empty enumerable. More... | |
virtual GffResourceField | this[int index] [get] |
Gets the child GffResourceField at the specified index. More... | |
virtual GffResourceField | this[string key] [get] |
Gets the child GffResourceField with the specified key. More... | |
virtual IEnumerable< GffResourceField > | Values = Enumerable.Empty<GffResourceField>() [get] |
If this field is an array, gets an enumerable of the array's values. If this field is a struct, gets an enumerable of the struct's values. Otherwise, returns an empty enumerable. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Anvil.API.GffResourceField | |
static | operator byte (GffResourceField field) |
static | operator double (GffResourceField field) |
static | operator float (GffResourceField field) |
static | operator int (GffResourceField field) |
static | operator long (GffResourceField field) |
static | operator short (GffResourceField field) |
static | operator string? (GffResourceField field) |
static | operator uint (GffResourceField field) |
static | operator ulong (GffResourceField field) |
static | operator ushort (GffResourceField field) |
Protected Member Functions inherited from Anvil.API.GffResourceField | |
GffResourceField (CResGFF resGff) | |
virtual bool | GetValueInternal (out object? value, Type? requestedType=null) |
Protected Attributes inherited from Anvil.API.GffResourceField | |
readonly CResGFF | ResGff |
A GffResourceField containing a list of GffResourceFieldStruct values.