Class NetcodeParticipant
Inheritance
NetcodeParticipant
Inherited Members
Unity.Netcode.NetworkBehaviour.__rpc_exec_stage
Unity.Netcode.NetworkBehaviour.NetworkVariableFields
Unity.Netcode.NetworkBehaviour.__beginSendServerRpc(System.UInt32, Unity.Netcode.ServerRpcParams, Unity.Netcode.RpcDelivery)
Unity.Netcode.NetworkBehaviour.__endSendServerRpc(Unity.Netcode.FastBufferWriter, System.UInt32, Unity.Netcode.ServerRpcParams, Unity.Netcode.RpcDelivery)
Unity.Netcode.NetworkBehaviour.__beginSendClientRpc(System.UInt32, Unity.Netcode.ClientRpcParams, Unity.Netcode.RpcDelivery)
Unity.Netcode.NetworkBehaviour.__endSendClientRpc(Unity.Netcode.FastBufferWriter, System.UInt32, Unity.Netcode.ClientRpcParams, Unity.Netcode.RpcDelivery)
Unity.Netcode.NetworkBehaviour.__createNativeList<T>()
Unity.Netcode.NetworkBehaviour.__initializeVariables()
Unity.Netcode.NetworkBehaviour.__nameNetworkVariable(Unity.Netcode.NetworkVariableBase, System.String)
Syntax
public class NetcodeParticipant : NetworkBehaviour, INetcodeParticipant
Properties
GenericDataHandler
Declaration
public IGenericDataHandler GenericDataHandler { get; }
Property Value
Implements
IsOwner
Declaration
public bool IsOwner { get; }
Property Value
Implements
ParticipantId
Declaration
public ParticipantId ParticipantId { get; set; }
Property Value
Implements
Declaration
public Transform Transform { get; }
Property Value
Implements
Methods
OnNetworkDespawn()
Declaration
public override void OnNetworkDespawn()
Overrides
OnNetworkSpawn()
Declaration
public override void OnNetworkSpawn()
Overrides
SetJoinVoice(Boolean)
Declaration
public void SetJoinVoice(bool joined)
Parameters
| Type |
Name |
Description |
| Boolean |
joined |
|
Implements
SetJoinVoiceServerRpc(Boolean)
Declaration
[ServerRpc]
[UsedImplicitly]
public void SetJoinVoiceServerRpc(bool joined)
Parameters
| Type |
Name |
Description |
| Boolean |
joined |
|
SetMicLevel(Single)
Declaration
public void SetMicLevel(float micLevel)
Parameters
| Type |
Name |
Description |
| Single |
micLevel |
|
Implements
SetMicLevelServerRpc(Single)
Declaration
[ServerRpc]
public void SetMicLevelServerRpc(float micLevel)
Parameters
| Type |
Name |
Description |
| Single |
micLevel |
|
SetMute(Boolean)
Declaration
public void SetMute(bool muted)
Parameters
| Type |
Name |
Description |
| Boolean |
muted |
|
Implements
SetMuteServerRpc(Boolean)
Declaration
[ServerRpc]
[UsedImplicitly]
public void SetMuteServerRpc(bool muted)
Parameters
| Type |
Name |
Description |
| Boolean |
muted |
|
Declaration
public void SetParticipantTransform(Vector3 position, Quaternion rotation)
Parameters
Implements
Declaration
[ServerRpc]
[UsedImplicitly]
public void SetParticipantTransformServerRpc(Vector3 position, Quaternion rotation)
Parameters
Events
ParticipantIdChanged
Declaration
public event Action<INetcodeParticipant, ParticipantId> ParticipantIdChanged
Event Type
Implements
VoiceStatusChanged
Declaration
public event Action<INetcodeParticipant, NetworkVoiceStatus> VoiceStatusChanged
Event Type
Implements
Extension Methods