Skip to main content

Struct NetworkBehaviour.Id

Syntax
public struct Id : IEquatable<NetworkBehaviour.Id>

Constructors

Id(UInt32, Int32)

Declaration
public Id(uint netId, int componentIndex)
Parameters
TypeNameDescription
System.UInt32netId
System.Int32componentIndex

Id(NetworkBehaviour)

Declaration
public Id(NetworkBehaviour behaviour)
Parameters
TypeNameDescription
Mirage.NetworkBehaviourbehaviour

Fields

NetId

Declaration
public readonly uint NetId

ComponentIndex

Declaration
public readonly int ComponentIndex

Methods

GetHashCode()

Declaration
public override int GetHashCode()
Returns
TypeDescription
System.Int32

Equals(NetworkBehaviour.Id)

Declaration
public bool Equals(NetworkBehaviour.Id other)
Parameters
TypeNameDescription
Mirage.NetworkBehaviour.Idother
Returns
TypeDescription
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
TypeNameDescription
System.Objectobj
Returns
TypeDescription
System.Boolean