M&B: Bannerlord 1.3.14
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.SoundManager Class Reference

Static Public Member Functions

static void SetListenerFrame (MatrixFrame frame)
static void SetListenerFrame (MatrixFrame frame, Vec3 attenuationPosition)
static MatrixFrame GetListenerFrame ()
static Vec3 GetAttenuationPosition ()
static void Reset ()
static bool StartOneShotEvent (string eventFullName, in Vec3 position, string paramName, float paramValue)
static bool StartOneShotEvent (string eventFullName, in Vec3 position)
static bool StartOneShotEventWithIndex (int index, in Vec3 position)
static void SetState (string stateGroup, string state)
static SoundEvent CreateEvent (string eventFullName, Scene scene)
static void LoadEventFileAux (string soundBank, bool decompressSamples)
static void AddSoundClientWithId (ulong clientId)
static void DeleteSoundClientWithId (ulong clientId)
static void SetGlobalParameter (string parameterName, float value)
static int GetEventGlobalIndex (string eventFullName)
static void PauseBus (string busName)
static void UnpauseBus (string busName)
static void InitializeVoicePlayEvent ()
static void CreateVoiceEvent ()
static void DestroyVoiceEvent (int id)
static void FinalizeVoicePlayEvent ()
static void StartVoiceRecording ()
static void StopVoiceRecording ()
static void GetVoiceData (byte[] voiceBuffer, int chunkSize, out int readBytesLength)
static void UpdateVoiceToPlay (byte[] voiceBuffer, int length, int index)
static void AddXBOXRemoteUser (System.UInt64 XUID, System.UInt64 deviceID, bool canSendMicSound, bool canSendTextSound, bool canSendText, bool canReceiveSound, bool canReceiveText)
static void InitializeXBOXSoundManager ()
static void ApplyPushToTalk (bool pushed)
static void ClearXBOXSoundManager ()
static void UpdateXBOXLocalUser ()
static void UpdateXBOXChatCommunicationFlags (System.UInt64 XUID, bool canSendMicSound, bool canSendTextSound, bool canSendText, bool canReceiveSound, bool canReceiveText)
static void RemoveXBOXRemoteUser (System.UInt64 XUID)
static void ProcessDataToBeReceived (System.UInt64 senderDeviceID, byte[] data, System.UInt32 dataSize)
static void ProcessDataToBeSent (ref int numData)
static void HandleStateChanges ()
static void GetSizeOfDataToBeSentAt (int index, ref System.UInt32 byteCount, ref System.UInt32 numReceivers)
static bool GetDataToBeSentAt (int index, byte[] buffer, System.UInt64[] receivers, ref bool transportGuaranteed)
static void ClearDataToBeSent ()
static void CompressData (int clientID, byte[] buffer, int length, byte[] compressedBuffer, out int compressedBufferLength)
static void DecompressData (int clientID, byte[] compressedBuffer, int compressedBufferLength, byte[] decompressedBuffer, out int decompressedBufferLength)

Member Function Documentation

◆ SetListenerFrame() [1/2]

void TaleWorlds.Engine.SoundManager.SetListenerFrame ( MatrixFrame frame)
static

◆ SetListenerFrame() [2/2]

void TaleWorlds.Engine.SoundManager.SetListenerFrame ( MatrixFrame frame,
Vec3 attenuationPosition )
static

◆ GetListenerFrame()

MatrixFrame TaleWorlds.Engine.SoundManager.GetListenerFrame ( )
static

◆ GetAttenuationPosition()

Vec3 TaleWorlds.Engine.SoundManager.GetAttenuationPosition ( )
static

◆ Reset()

void TaleWorlds.Engine.SoundManager.Reset ( )
static

◆ StartOneShotEvent() [1/2]

bool TaleWorlds.Engine.SoundManager.StartOneShotEvent ( string eventFullName,
in Vec3 position,
string paramName,
float paramValue )
static

◆ StartOneShotEvent() [2/2]

bool TaleWorlds.Engine.SoundManager.StartOneShotEvent ( string eventFullName,
in Vec3 position )
static

◆ StartOneShotEventWithIndex()

bool TaleWorlds.Engine.SoundManager.StartOneShotEventWithIndex ( int index,
in Vec3 position )
static

◆ SetState()

void TaleWorlds.Engine.SoundManager.SetState ( string stateGroup,
string state )
static

◆ CreateEvent()

SoundEvent TaleWorlds.Engine.SoundManager.CreateEvent ( string eventFullName,
Scene scene )
static

◆ LoadEventFileAux()

void TaleWorlds.Engine.SoundManager.LoadEventFileAux ( string soundBank,
bool decompressSamples )
static

◆ AddSoundClientWithId()

void TaleWorlds.Engine.SoundManager.AddSoundClientWithId ( ulong clientId)
static

◆ DeleteSoundClientWithId()

void TaleWorlds.Engine.SoundManager.DeleteSoundClientWithId ( ulong clientId)
static

◆ SetGlobalParameter()

void TaleWorlds.Engine.SoundManager.SetGlobalParameter ( string parameterName,
float value )
static

◆ GetEventGlobalIndex()

int TaleWorlds.Engine.SoundManager.GetEventGlobalIndex ( string eventFullName)
static

◆ PauseBus()

void TaleWorlds.Engine.SoundManager.PauseBus ( string busName)
static

◆ UnpauseBus()

void TaleWorlds.Engine.SoundManager.UnpauseBus ( string busName)
static

◆ InitializeVoicePlayEvent()

void TaleWorlds.Engine.SoundManager.InitializeVoicePlayEvent ( )
static

◆ CreateVoiceEvent()

void TaleWorlds.Engine.SoundManager.CreateVoiceEvent ( )
static

◆ DestroyVoiceEvent()

void TaleWorlds.Engine.SoundManager.DestroyVoiceEvent ( int id)
static

◆ FinalizeVoicePlayEvent()

void TaleWorlds.Engine.SoundManager.FinalizeVoicePlayEvent ( )
static

◆ StartVoiceRecording()

void TaleWorlds.Engine.SoundManager.StartVoiceRecording ( )
static

◆ StopVoiceRecording()

void TaleWorlds.Engine.SoundManager.StopVoiceRecording ( )
static

◆ GetVoiceData()

void TaleWorlds.Engine.SoundManager.GetVoiceData ( byte[] voiceBuffer,
int chunkSize,
out int readBytesLength )
static

◆ UpdateVoiceToPlay()

void TaleWorlds.Engine.SoundManager.UpdateVoiceToPlay ( byte[] voiceBuffer,
int length,
int index )
static

◆ AddXBOXRemoteUser()

void TaleWorlds.Engine.SoundManager.AddXBOXRemoteUser ( System.UInt64 XUID,
System.UInt64 deviceID,
bool canSendMicSound,
bool canSendTextSound,
bool canSendText,
bool canReceiveSound,
bool canReceiveText )
static

◆ InitializeXBOXSoundManager()

void TaleWorlds.Engine.SoundManager.InitializeXBOXSoundManager ( )
static

◆ ApplyPushToTalk()

void TaleWorlds.Engine.SoundManager.ApplyPushToTalk ( bool pushed)
static

◆ ClearXBOXSoundManager()

void TaleWorlds.Engine.SoundManager.ClearXBOXSoundManager ( )
static

◆ UpdateXBOXLocalUser()

void TaleWorlds.Engine.SoundManager.UpdateXBOXLocalUser ( )
static

◆ UpdateXBOXChatCommunicationFlags()

void TaleWorlds.Engine.SoundManager.UpdateXBOXChatCommunicationFlags ( System.UInt64 XUID,
bool canSendMicSound,
bool canSendTextSound,
bool canSendText,
bool canReceiveSound,
bool canReceiveText )
static

◆ RemoveXBOXRemoteUser()

void TaleWorlds.Engine.SoundManager.RemoveXBOXRemoteUser ( System.UInt64 XUID)
static

◆ ProcessDataToBeReceived()

void TaleWorlds.Engine.SoundManager.ProcessDataToBeReceived ( System.UInt64 senderDeviceID,
byte[] data,
System.UInt32 dataSize )
static

◆ ProcessDataToBeSent()

void TaleWorlds.Engine.SoundManager.ProcessDataToBeSent ( ref int numData)
static

◆ HandleStateChanges()

void TaleWorlds.Engine.SoundManager.HandleStateChanges ( )
static

◆ GetSizeOfDataToBeSentAt()

void TaleWorlds.Engine.SoundManager.GetSizeOfDataToBeSentAt ( int index,
ref System.UInt32 byteCount,
ref System.UInt32 numReceivers )
static

◆ GetDataToBeSentAt()

bool TaleWorlds.Engine.SoundManager.GetDataToBeSentAt ( int index,
byte[] buffer,
System.UInt64[] receivers,
ref bool transportGuaranteed )
static

◆ ClearDataToBeSent()

void TaleWorlds.Engine.SoundManager.ClearDataToBeSent ( )
static

◆ CompressData()

void TaleWorlds.Engine.SoundManager.CompressData ( int clientID,
byte[] buffer,
int length,
byte[] compressedBuffer,
out int compressedBufferLength )
static

◆ DecompressData()

void TaleWorlds.Engine.SoundManager.DecompressData ( int clientID,
byte[] compressedBuffer,
int compressedBufferLength,
byte[] decompressedBuffer,
out int decompressedBufferLength )
static