Table of Contents

Class MBSoundEvent

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public static class MBSoundEvent
Inheritance
MBSoundEvent
Inherited Members

Methods

CreateEventFromExternalFile(string, string, Scene)

public static void CreateEventFromExternalFile(string programmerEventName, string soundFilePath, Scene scene)

Parameters

programmerEventName string
soundFilePath string
scene Scene

PlayEventFromSoundBuffer(string, byte[], Scene)

public static void PlayEventFromSoundBuffer(string eventId, byte[] soundData, Scene scene)

Parameters

eventId string
soundData byte[]
scene Scene

PlaySound(int, ref SoundEventParameter, Vec3)

public static bool PlaySound(int soundCodeId, ref SoundEventParameter parameter, Vec3 position)

Parameters

soundCodeId int
parameter SoundEventParameter
position Vec3

Returns

bool

PlaySound(int, ref SoundEventParameter, ref Vec3)

public static bool PlaySound(int soundCodeId, ref SoundEventParameter parameter, ref Vec3 position)

Parameters

soundCodeId int
parameter SoundEventParameter
position Vec3

Returns

bool

PlaySound(int, Vec3)

public static bool PlaySound(int soundCodeId, Vec3 position)

Parameters

soundCodeId int
position Vec3

Returns

bool

PlaySound(int, ref Vec3)

public static bool PlaySound(int soundCodeId, ref Vec3 position)

Parameters

soundCodeId int
position Vec3

Returns

bool

PlaySound(string, ref SoundEventParameter, Vec3)

public static bool PlaySound(string soundPath, ref SoundEventParameter parameter, Vec3 position)

Parameters

soundPath string
parameter SoundEventParameter
position Vec3

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).