Class BVCDParser
Namespace: ValveResourceFormat.ResourceTypes.Choreo.Parser
Assembly: ValveResourceFormat.dll
Parser for binary VCD (BVCD) choreography scene files.
public class BVCDParserInheritance
Fields
MAGIC
Magic number for BVCD files ("bvcd").
public const int MAGIC = 1684239970Field Value
Methods
Parse(Stream, string[])
Parses a BVCD choreography scene from a stream.
public static ChoreoScene Parse(Stream stream, string[] strings)Parameters
stream Stream
The stream containing BVCD data.
strings string[]
The string table for the BVCD file.
Returns
The parsed choreography scene.
Read()
Reads and parses the choreography scene from the stream.
protected virtual ChoreoScene Read()Returns
The parsed choreography scene.
ReadAbsoluteTag()
Reads an absolute tag from the stream.
protected virtual ChoreoTag ReadAbsoluteTag()Returns
The parsed absolute tag.
ReadActor()
Reads an actor from the stream.
protected virtual ChoreoActor ReadActor()Returns
The parsed actor.
ReadChannel()
Reads a channel from the stream.
protected virtual ChoreoChannel ReadChannel()Returns
The parsed channel.
ReadCurveData()
Reads curve data from the stream.
protected virtual ChoreoCurveData ReadCurveData()Returns
The parsed curve data.
ReadEdge()
Reads a curve edge from the stream.
protected virtual ChoreoEdge? ReadEdge()Returns
The parsed edge, or null if no edge exists.
ReadEvent()
Reads an event from the stream.
protected virtual ChoreoEvent ReadEvent()Returns
The parsed event.
ReadFlex()
Reads flex animation data from the stream.
protected virtual ChoreoEventFlex ReadFlex()Returns
The parsed event flex data.
ReadFlexTrack()
Reads a flex animation track from the stream.
protected virtual ChoreoFlexAnimationTrack ReadFlexTrack()Returns
The parsed flex animation track.
ReadRelativeTag()
Reads a relative tag from the stream.
protected virtual ChoreoEventRelativeTag ReadRelativeTag()Returns
The parsed relative tag.
ReadSample()
Reads a sample point from the stream.
protected virtual ChoreoSample ReadSample()Returns
The parsed sample.
ReadString()
Reads a string from the string table.
protected string ReadString()Returns
The string at the current index.
ReadStringIndex()
Reads a string index from the stream.
protected virtual int ReadStringIndex()Returns
The string index.
ReadTag()
Reads a tag from the stream.
protected virtual ChoreoTag ReadTag()Returns
The parsed tag.
RemapEventType(byte)
Remaps a byte value to the corresponding choreography event type.
protected ChoreoEventType RemapEventType(byte eventValue)Parameters
eventValue byte
The byte value representing the event type.
Returns
The corresponding choreography event type.

