Class NetworkVoiceHandler
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class NetworkVoiceHandler : MonoBehaviour
- Inheritance
-
NetworkVoiceHandler
- Inherited Members
-
- Extension Methods
-
Constructors
NetworkVoiceHandler()
public NetworkVoiceHandler()
Fields
ALIVE_CHANNEL
public const byte ALIVE_CHANNEL = 1
Field Value
- byte
DEAD_CHANNEL
public const byte DEAD_CHANNEL = 2
Field Value
- byte
m_LocalRecorder
public static Recorder m_LocalRecorder
Field Value
- Recorder
m_VoiceConnection
public static VoiceConnection m_VoiceConnection
Field Value
- VoiceConnection
Methods
Awake()
InitNetworkVoice()
public void InitNetworkVoice()
ListenAndSendToAll()
public static void ListenAndSendToAll()
LocalPlayerAssigned(Player)
public static void LocalPlayerAssigned(Player p)
Parameters
p
Player
OnStateChanged(ClientState, ClientState)
public void OnStateChanged(ClientState state, ClientState toState)
Parameters
state
ClientState
toState
ClientState
Start()
TalkToAlive()
public static void TalkToAlive()
TalkToDead()
public static void TalkToDead()