Skip to main content

Unity.Netcode.ClientRpcSendParams

Inherited Members#

System.ValueType.Equals(System.Object)

System.ValueType.GetHashCode()

System.ValueType.ToString()

System.Object.Equals(System.Object, System.Object)

System.Object.GetType()

System.Object.ReferenceEquals(System.Object, System.Object)

Syntax#
public struct ClientRpcSendParams

Fields#

TargetClientIds#

IEnumerable version of target id list - use either this OR TargetClientIdsNativeArray Note: Even if you provide a value type such as NativeArray, enumerating it will cause boxing. If you want to avoid boxing, use TargetClientIdsNativeArray

Declaration#
public IReadOnlyList<ulong> TargetClientIds
Field Value#
TypeDescription
IReadOnlyList\<System.UInt64>

TargetClientIdsNativeArray#

NativeArray version of target id list - use either this OR TargetClientIds This option avoids any GC allocations but is a bit trickier to use.

Declaration#
public NativeArray<ulong>? TargetClientIdsNativeArray
Field Value#
TypeDescription
System.Nullable\<NativeArray\<System.UInt64>>