public bool MuteSpeaker(IVoiceClient speaker, bool muted) { if (speaker == null) { throw new ArgumentNullException(nameof(speaker)); } return(RunWhenConnected(() => Server.NativeWrapper.MuteClientForClient(speaker, this, muted))); }
public bool IsSpeakerMuted(IVoiceClient speaker) { if (speaker == null) { throw new ArgumentNullException(nameof(speaker)); } return(RunWhenConnected(() => Server.NativeWrapper.IsClientMutedForClient(speaker, this))); }
public bool MuteClientForAll(IVoiceClient client, bool muted) { return(Mock.Object.MuteClientForAll(client, muted)); }
public bool MuteClientForClient(IVoiceClient speaker, IVoiceClient listener, bool muted) { return(NativeLibary.JV_MuteClientForClient(speaker.Handle.Identifer, listener.Handle.Identifer, muted)); }
public bool MuteClientForAll(IVoiceClient client, bool muted) { return(NativeLibary.JV_MuteClientForAll(client.Handle.Identifer, muted)); }
public bool SetClientVoiceRange(IVoiceClient client, float voiceRange) { return(NativeLibary.JV_SetClientVoiceRange(client.Handle.Identifer, voiceRange)); }
public bool RemoveClient(IVoiceClient client) { return(NativeLibary.JV_RemoveClient(client.Handle.Identifer)); }
public bool IsClientMutedForClient(IVoiceClient speaker, IVoiceClient listener) { return(Mock.Object.IsClientMutedForClient(speaker, listener)); }
public bool SetClientVoiceRange(IVoiceClient client, float voiceRange) { return(Mock.Object.SetClientVoiceRange(client, voiceRange)); }
public bool SetRelativeSpeakerPositionForListener(IVoiceClient listener, IVoiceClient speaker, Vector3 position) { return(NativeLibary.JV_SetRelativePositionForClient(listener.Handle.Identifer, speaker.Handle.Identifer, position.X, position.Y, position.Z)); }
public bool SetListenerPosition(IVoiceClient listener, Vector3 position, float rotation) { return(SetListenerPositions(new [] { listener.MakeClientPosition(position, rotation) })); }
public bool ResetRelativeSpeakerPositionForListener(IVoiceClient listener, IVoiceClient speaker) { return(NativeLibary.JV_ResetRelativePositionForClient(listener.Handle.Identifer, speaker.Handle.Identifer)); }
public bool ResetAllRelativePositionsForListener(IVoiceClient listener) { return(NativeLibary.JV_ResetAllRelativePositions(listener.Handle.Identifer)); }
public bool ResetRelativeSpeakerPosition(IVoiceClient speaker) { return(RunWhenConnected(() => Server.NativeWrapper.ResetRelativeSpeakerPositionForListener(this, speaker))); }
public bool SetRelativeSpeakerPosition(IVoiceClient speaker, Vector3 position) { return(RunWhenConnected(() => Server.NativeWrapper.SetRelativeSpeakerPositionForListener(this, speaker, position))); }
public bool IsClientMutedForAll(IVoiceClient client) { return(Mock.Object.IsClientMutedForAll(client)); }
public bool MuteClientForClient(IVoiceClient speaker, IVoiceClient listener, bool muted) { return(Mock.Object.MuteClientForClient(speaker, listener, muted)); }
public bool SetListenerPosition(IVoiceClient listener, Vector3 position, float rotation) { return(Mock.Object.SetListenerPosition(listener, position, rotation)); }
public bool IsClientConnected(IVoiceClient client) { return(Mock.Object.IsClientConnected(client)); }
public bool SetRelativeSpeakerPositionForListener(IVoiceClient listener, IVoiceClient speaker, Vector3 position) { return(Mock.Object.SetRelativeSpeakerPositionForListener(listener, speaker, position)); }
public bool SetClientNickname(IVoiceClient client, string nickname) { return(NativeLibary.JV_SetClientNickname(client.Handle.Identifer, nickname)); }
public bool ResetRelativeSpeakerPositionForListener(IVoiceClient listener, IVoiceClient speaker) { return(Mock.Object.ResetRelativeSpeakerPositionForListener(listener, speaker)); }
public bool IsClientConnected(IVoiceClient client) { return(NativeLibary.JV_IsClientConnected(client.Handle.Identifer)); }
public bool ResetAllRelativePositionsForListener(IVoiceClient listener) { return(Mock.Object.ResetAllRelativePositionsForListener(listener)); }
public bool IsClientMutedForAll(IVoiceClient client) { return(NativeLibary.JV_IsClientMutedForAll(client.Handle.Identifer)); }
public bool RemoveClient(IVoiceClient client) { return(Mock.Object.RemoveClient(client)); }
public bool IsClientMutedForClient(IVoiceClient speaker, IVoiceClient listener) { return(NativeLibary.JV_IsClientMutedForClient(speaker.Handle.Identifer, listener.Handle.Identifer)); }
public bool SetClientNickname(IVoiceClient client, string nickname) { return(Mock.Object.SetClientNickname(client, nickname)); }