ModuleConfig.loadWaveFile

Loads a Microsoft Wave (wav) file into a module.

class ModuleConfig
protected protected
void
loadWaveFile
(,
int waveID
,
string path
,
string dataPak = null
)

Parameters

mod AudioModule

The module, that needs the waveform data.

waveID int

The waveform ID. Conflicting waveforms will be automatically overwitten.

path string

Path of the file to be loaded.

dataPak string

If a DataPak is used, then the path to it must be specified there, otherwise it's null.

Meta