C# Class FSO.Files.Formats.IFF.Chunks.TTAB

This chunk type defines a list of interactions for an object and assigns a BHAV subroutine for each interaction. The pie menu labels shown to the user are stored in a TTAs chunk with the same ID.
Inheritance: IffChunk
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
AttenuationValues float[]
InteractionByIndex TTABInteraction>.Dictionary
Interactions FSO.Files.Formats.IFF.Chunks.TTABInteraction[]

Public Methods

Method Description
DeleteInteraction ( int index ) : void
InsertInteraction ( TTABInteraction action, int index ) : void
Read ( IffFile iff, Stream stream ) : void

Reads a TTAB chunk from a stream.

Write ( IffFile iff, Stream stream ) : bool

Method Details

DeleteInteraction() public method

public DeleteInteraction ( int index ) : void
index int
return void

InsertInteraction() public method

public InsertInteraction ( TTABInteraction action, int index ) : void
action TTABInteraction
index int
return void

Read() public method

Reads a TTAB chunk from a stream.
public Read ( IffFile iff, Stream stream ) : void
iff IffFile An Iff instance.
stream Stream A Stream object holding a TTAB chunk.
return void

Write() public method

public Write ( IffFile iff, Stream stream ) : bool
iff IffFile
stream Stream
return bool

Property Details

AttenuationValues public_oe static_oe property

public static float[] AttenuationValues
return float[]

InteractionByIndex public_oe property

public Dictionary InteractionByIndex
return TTABInteraction>.Dictionary

Interactions public_oe property

public TTABInteraction[],FSO.Files.Formats.IFF.Chunks Interactions
return FSO.Files.Formats.IFF.Chunks.TTABInteraction[]