Class ResourceIntrospectionManifest.ResourceDiskStruct.Field
Namespace: ValveResourceFormat.Blocks
Assembly: ValveResourceFormat.dll
Represents a field within a resource disk structure.
csharp
public class ResourceIntrospectionManifest.ResourceDiskStruct.FieldInheritance
object ← ResourceIntrospectionManifest.ResourceDiskStruct.Field
Constructors
Field()
Initializes a new instance of the ResourceIntrospectionManifest.ResourceDiskStruct.Field class.
csharp
public Field()Properties
Count
Gets or sets the number of elements in the field.
csharp
public short Count { get; set; }Property Value
short
FieldName
Gets or sets the field name.
csharp
public required string FieldName { get; set; }Property Value
string
Indirections
Gets the list of indirection levels for pointer types.
csharp
public List<byte> Indirections { get; }Property Value
List<byte>
OnDiskOffset
Gets or sets the on-disk offset of the field, -1 when it is not serialized.
csharp
public short OnDiskOffset { get; set; }Property Value
short
Type
Gets or sets the schema field type.
csharp
public SchemaFieldType Type { get; set; }Property Value
TypeData
Gets or sets type-specific data.
csharp
public uint TypeData { get; set; }Property Value
uint
Methods
WriteText(IndentedTextWriter)
Writes the field as text to the provided writer.
csharp
public void WriteText(IndentedTextWriter writer)Parameters
writer IndentedTextWriter

