Class ResponseRules
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents response rules resource.
public class ResponseRules : BlockInheritance
object ← Block ← ResponseRules
Inherited Members
Block.Type, Block.Offset, Block.Size, Block.Resource, Block.Read(BinaryReader), Block.ToString(), Block.WriteText(IndentedTextWriter), Block.Serialize(Stream)
Extension Methods
ResourceDataExtensions.AsKeyValueCollection(Block)
Properties
Arg1
Gets the first header byte read from the response rules block.
public byte Arg1 { get; }Property Value
byte
Arg2
Gets the second header byte read from the response rules block.
public byte Arg2 { get; }Property Value
byte
Arg3
Gets the third header byte read from the response rules block.
public byte Arg3 { get; }Property Value
byte
Arg4
Gets the fourth header byte read from the response rules block.
public byte Arg4 { get; }Property Value
byte
File
Gets the response rules file content.
public string? File { get; }Property Value
string?
Includes
Gets the included response rules.
public ResponseRuleInclude[] Includes { get; }Property Value
Type
Gets the block type.
public override BlockType Type { get; }Property Value
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 block data in its binary form, as stored in a resource file. Blocks that do not support serialization throw NotImplementedException.
public override void Serialize(Stream stream)Parameters
stream Stream
The stream to write the block data to.
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.

