M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.MBSoundEvent Class Reference

Static Public Member Functions

static bool PlaySound (int soundCodeId, ref Vec3 position)
 Plays the event from fmod a fev file More...
 
static bool PlaySound (int soundCodeId, Vec3 position)
 Plays the event from fmod a fev file More...
 
static bool PlaySound (int soundCodeId, ref SoundEventParameter parameter, Vec3 position)
 Plays the event from fmod a fev file More...
 
static bool PlaySound (string soundPath, ref SoundEventParameter parameter, Vec3 position)
 Plays the event from fmod a fev file More...
 
static bool PlaySound (int soundCodeId, ref SoundEventParameter parameter, ref Vec3 position)
 Plays the event from fmod a fev file More...
 
static void PlayEventFromSoundBuffer (string eventId, byte[] soundData, Scene scene)
 
static void CreateEventFromExternalFile (string programmerEventName, string soundFilePath, Scene scene)
 

Member Function Documentation

◆ PlaySound() [1/5]

static bool TaleWorlds.MountAndBlade.MBSoundEvent.PlaySound ( int  soundCodeId,
ref Vec3  position 
)
static
Parameters
soundCodeIdID of the sound
positionPosition of the sound
Returns
returns true if sound has successfully played

◆ PlaySound() [2/5]

static bool TaleWorlds.MountAndBlade.MBSoundEvent.PlaySound ( int  soundCodeId,
Vec3  position 
)
static
Parameters
soundCodeIdID of the sound
positionPosition of the sound
Returns
returns true if sound has successfully played

◆ PlaySound() [3/5]

static bool TaleWorlds.MountAndBlade.MBSoundEvent.PlaySound ( int  soundCodeId,
ref SoundEventParameter  parameter,
Vec3  position 
)
static
Parameters
soundCodeIdID of the sound
parameterFmod parameter for event
positionPosition of the sound
Returns
returns true if sound has successfully played

◆ PlaySound() [4/5]

static bool TaleWorlds.MountAndBlade.MBSoundEvent.PlaySound ( string  soundPath,
ref SoundEventParameter  parameter,
Vec3  position 
)
static
Parameters
soundPathFull path of sound
parameterFmod parameter for event
positionPosition of the sound
Returns
returns true if sound has successfully played

◆ PlaySound() [5/5]

static bool TaleWorlds.MountAndBlade.MBSoundEvent.PlaySound ( int  soundCodeId,
ref SoundEventParameter  parameter,
ref Vec3  position 
)
static
Parameters
soundCodeIdID of the sound
parameterFmod parameter for event
positionPosition of the sound
Returns
returns true if sound has successfully played

◆ PlayEventFromSoundBuffer()

static void TaleWorlds.MountAndBlade.MBSoundEvent.PlayEventFromSoundBuffer ( string  eventId,
byte[]  soundData,
Scene  scene 
)
static

◆ CreateEventFromExternalFile()

static void TaleWorlds.MountAndBlade.MBSoundEvent.CreateEventFromExternalFile ( string  programmerEventName,
string  soundFilePath,
Scene  scene 
)
static