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 ResourceIntrospectionManifest class.
public ResourceIntrospectionManifest()Properties
IntrospectionVersion
Gets the introspection version.
public uint IntrospectionVersion { get; }Property Value
uint
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 enumerator name for a value of the enum with the given id, or null when the enum or exact value is unknown.
public string? GetEnumValueName(uint enumId, int value)Parameters
enumId uint
value int
Returns
string?
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 a human readable text dump of the block contents. This is the output Block.ToString() returns.
public override void WriteText(IndentedTextWriter writer)Parameters
writer IndentedTextWriter
The writer that receives the text, which handles indentation.
Remarks
Outputs the introspection manifest showing all referenced structures and enums with their fields.

