Class ChoreoSceneFileData
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents choreography scene file data.
public class ChoreoSceneFileData : BlockInheritance
object ← Block ← ChoreoSceneFileData
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)
Fields
MAGIC_LZMA
Magic number for LZMA-compressed choreography data.
public const uint MAGIC_LZMA = 1095588428Field Value
Properties
Scenes
Gets the choreography scenes in this file.
public ChoreoScene[] Scenes { get; }Property Value
Type
Gets the block type.
public override BlockType Type { get; }Property Value
Version
Gets the version of the choreography file format.
public int Version { 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.

