Class ResourceExtRefList
Namespace: ValveResourceFormat.Blocks
Assembly: ValveResourceFormat.dll
"RERL" block. ResourceExtRefList_t.
public class ResourceExtRefList : BlockInheritance
object ← Block ← ResourceExtRefList
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)
Constructors
ResourceExtRefList()
Initializes a new instance of the ResourceExtRefList class.
public ResourceExtRefList()Properties
ResourceRefInfoList
Gets the list of external resource references.
public List<ResourceExtRefList.ResourceReferenceInfo> ResourceRefInfoList { get; }Property Value
List<ResourceExtRefList.ResourceReferenceInfo>
Type
Gets the block type.
public override BlockType Type { get; }Property Value
this[ulong]
Gets the resource name mapped to the specified identifier, or null if missing.
public string? this[ulong id] { get; }Property Value
string?
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.
Remarks
Outputs the external reference list in a structured format showing resource IDs and names.

