Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
BankChunk Class Reference

A generic 4 byte name 4 byte length block that is not parsed. More...

Inheritance diagram for BankChunk:
BufferDistanceBankChunk BufferSoundDistanceBankChunk CompressionInfoBankChunk ContentGlobalVarInfoBankChunk ContentIndexBankChunk DataBankChunk FloatBankChunk GroupBankChunk IntBankChunk LegendaryExplorerCore.Sound.ISACT.ChannelBankChunk LegendaryExplorerCore.Sound.ISACT.ISACTListBankChunk LegendaryExplorerCore.Sound.ISACT.SyncBankChunk NameOnlyBankChunk SampleInfoBankChunk SampleOffsetBankChunk SoundConeBankChunk SoundEventInfoBankChunk SoundEventSoundTracks SoundEventSoundTracksFour TitleBankChunk

Public Member Functions

 BankChunk ()
 
 BankChunk (string chunkName, int chunkLen, Stream inStream, BankChunk parent)
 
virtual void Write (Stream outStream)
 
IEnumerable< BankChunkGetAllSubChunks ()
 
virtual string ToChunkDisplay ()
 
BankChunk GetParent ()
 

Public Attributes

string ChunkName
 
byte[] RawData
 
List< BankChunkSubChunks = new List<BankChunk>(0)
 Some chunks have subchunks More...
 

Protected Attributes

BankChunk Parent
 References the containing object More...
 

Properties

long ChunkDataStartOffset [get]
 The offset in which this bank's data starts - + 8 after header & size. For name only this should not be used. More...
 

Detailed Description

A generic 4 byte name 4 byte length block that is not parsed.

Constructor & Destructor Documentation

◆ BankChunk() [1/2]

BankChunk.BankChunk ( )
inline

◆ BankChunk() [2/2]

BankChunk.BankChunk ( string  chunkName,
int  chunkLen,
Stream  inStream,
BankChunk  parent 
)
inline

Member Function Documentation

◆ Write()

◆ GetAllSubChunks()

IEnumerable< BankChunk > BankChunk.GetAllSubChunks ( )
inline

◆ ToChunkDisplay()

◆ GetParent()

BankChunk BankChunk.GetParent ( )
inline

Member Data Documentation

◆ ChunkName

string BankChunk.ChunkName

◆ RawData

byte [] BankChunk.RawData

◆ Parent

BankChunk BankChunk.Parent
protected

References the containing object

◆ SubChunks

List<BankChunk> BankChunk.SubChunks = new List<BankChunk>(0)

Some chunks have subchunks

Property Documentation

◆ ChunkDataStartOffset

long BankChunk.ChunkDataStartOffset
get

The offset in which this bank's data starts - + 8 after header & size. For name only this should not be used.


The documentation for this class was generated from the following file: