Class NetworkObjectIdComparer
Inheritance
System.Object
NetworkObjectIdComparer
Implements
System.Collections.Generic.IEqualityComparer<NetworkObject>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FishNet.Object
Assembly: FishNet.Runtime.dll
Syntax
public class NetworkObjectIdComparer : IEqualityComparer<NetworkObject>
Methods
Equals(NetworkObject, NetworkObject)
Declaration
public bool Equals(NetworkObject valueA, NetworkObject valueB)
Parameters
Type | Name | Description |
---|---|---|
NetworkObject | valueA | |
NetworkObject | valueB |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode(NetworkObject)
Declaration
public int GetHashCode(NetworkObject obj)
Parameters
Type | Name | Description |
---|---|---|
NetworkObject | obj |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IEqualityComparer<T>