Class Panorama
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents a Panorama UI resource.
public class Panorama : BlockInheritance
Derived
PanoramaDynamicImages, PanoramaLayout, PanoramaStyle
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
Panorama()
Initializes a new instance of the class.
public Panorama()Panorama(byte[], List<NameEntry>)
Initializes a new instance of the class with the given content. The checksum is computed from the data.
public Panorama(byte[] data, List<Panorama.NameEntry> names)Parameters
data byte[]
The content as UTF-8 encoded text, such as layout, style, or script source.
names List<Panorama.NameEntry>
The name entries to store in the block header.
Properties
CRC32
Gets the CRC32 checksum.
public uint CRC32 { get; }Property Value
Data
Gets the raw data.
public byte[] Data { get; }Property Value
byte[]
Names
Gets the list of name entries.
public List<Panorama.NameEntry> Names { 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 .
public override void WriteText(IndentedTextWriter writer)Parameters
writer IndentedTextWriter
Remarks
Outputs the Panorama data as UTF-8 encoded text.

