Class ResourceIntrospectionManifest
Namespace: ValveResourceFormat.Blocks
Assembly: ValveResourceFormat.dll
"NTRO" block. CResourceIntrospectionManifest.
public class ResourceIntrospectionManifest : RawBinaryInheritance
object ← Block ← RawBinary ← ResourceIntrospectionManifest
Inherited Members
RawBinary.Read(BinaryReader), RawBinary.Serialize(Stream), RawBinary.WriteText(IndentedTextWriter), Block.Type, Block.Offset, Block.Size, Block.Resource, Block.Read(BinaryReader), Block.ToString(), Block.WriteText(IndentedTextWriter), Block.Serialize(Stream)
Extension Methods
ResourceDataExtensions.AsKeyValueCollection(Block)
Constructors
ResourceIntrospectionManifest()
Initializes a new instance of the class.
public ResourceIntrospectionManifest()Properties
IntrospectionVersion
Gets the introspection version.
public uint IntrospectionVersion { get; }Property Value
ReferencedEnums
Gets the list of referenced enum definitions.
public List<ResourceIntrospectionManifest.ResourceDiskEnum> ReferencedEnums { get; }Property Value
List<ResourceIntrospectionManifest.ResourceDiskEnum>
ReferencedStructs
Gets the list of referenced structure definitions.
public List<ResourceIntrospectionManifest.ResourceDiskStruct> ReferencedStructs { get; }Property Value
List<ResourceIntrospectionManifest.ResourceDiskStruct>
Type
Gets the block type.
public override BlockType Type { get; }Property Value
Methods
GetEnumValueName(uint, int)
Gets the name of the enumerator with the given value in the enum definition with the given id, or null when either the enum or an enumerator with that exact value is unknown.
public string? GetEnumValueName(uint enumId, int value)Parameters
enumId uint
value int
Returns
GetStructById(uint)
Gets the structure definition with the given id, or null when the manifest does not contain it.
public ResourceIntrospectionManifest.ResourceDiskStruct? GetStructById(uint id)Parameters
id uint
Returns
ResourceIntrospectionManifest.ResourceDiskStruct?
Read(BinaryReader)
Reads the block data from a binary reader.
public override void Read(BinaryReader reader)Parameters
reader BinaryReader
The binary reader to read from.
WriteText(IndentedTextWriter)
Writes the correct text dump of the object to .
public override void WriteText(IndentedTextWriter writer)Parameters
writer IndentedTextWriter
Remarks
Outputs the introspection manifest showing all referenced structures and enums with their fields.

