Table of Contents

Class NTRO

Namespace
ValveResourceFormat.ResourceTypes
Assembly
ValveResourceFormat.dll

Represents a resource with introspection data.

public class NTRO : Block

Inheritance

Inherited Members

Extension Methods

Properties

Output

Gets the output data.

public KVObject Output { get; }

Property Value

KVObject

StructName

Gets or sets the struct name.

public string StructName { get; init; }

Property Value

string

Type

Gets the block type.

public override BlockType Type { get; }

Property Value

BlockType

Methods

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.

Serialize(Stream)

Writes the binary representation of the object to Stream.

public override void Serialize(Stream stream)

Parameters

stream Stream

Stream.

WriteText(IndentedTextWriter)

Writes the correct text dump of the object to IndentedTextWriter.

public override void WriteText(IndentedTextWriter writer)

Parameters

writer IndentedTextWriter

IndentedTextWriter.

Remarks

Converts this ValveResourceFormat.ResourceTypes.NTRO block's data to ValveResourceFormat.Serialization.KeyValues.KV3File format and writes it as text.