Class Plaintext
- Namespace
- ValveResourceFormat.ResourceTypes
- Assembly
- ValveResourceFormat.dll
Plain text resource.
public class Plaintext : Block
Inheritance
Inherited Members
Extension Methods
Constructors
Plaintext()
Initializes a new instance.
public Plaintext()
Plaintext(string)
Initializes a new instance with the specified data.
public Plaintext(string data)
Parameters
data
string
Properties
Data
Gets the text data.
public string Data { 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 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.