Class GffResourceField
A property/field in a GffResource.
public abstract class GffResourceField
- Inheritance
-
GffResourceField
- Derived
- Inherited Members
- Extension Methods
Constructors
- GffResourceField(CResGFF)
A property/field in a GffResource.
Fields
Properties
- Count
Gets the number of child fields.
- EntrySet
If this field is a struct, gets an enumerable of the key/values pairs.
Otherwise, returns an empty enumerable.
- FieldType
Gets the GFF field type.
- HasChildren
Gets whether this field contains child values.
- this[int]
Gets the child GffResourceField at the specified index.
- this[string]
Gets the child GffResourceField with the specified key.
- Keys
If this field is a struct, gets an enumerable of the struct's keys.
Otherwise, returns an empty enumerable.
- Values
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.
Methods
- ContainsKey(string)
If this field is a GffResourceFieldStruct, determines if the specified key exists in the structure.
- ToString()
Returns a string that represents the current object.
- TryGetValue(string, out GffResourceField?)
If this field is a GffResourceFieldStruct, gets the value associated with the specified key.
- Value()
Gets the value of this field.
- ValueOrDefault()
Gets the value of this field.
- ValueOrDefault<T>()
Gets the value of this field.
- Value<T>()
Gets the value of this field.