Table of Contents

Struct ClientID

Namespace
Coherence.Connection
Assembly
Coherence.Common.dll
public readonly struct ClientID

Constructors

ClientID(uint)

public ClientID(uint id)

Parameters

id uint

Fields

Server

public static readonly ClientID Server

Field Value

ClientID

Methods

CompareTo(ClientID)

public int CompareTo(ClientID other)

Parameters

other ClientID

Returns

int

Equals(in ClientID)

public bool Equals(in ClientID other)

Parameters

other ClientID

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(in ClientID, in ClientID)

public static bool operator ==(in ClientID left, in ClientID right)

Parameters

left ClientID
right ClientID

Returns

bool

explicit operator uint(ClientID)

public static explicit operator uint(ClientID cid)

Parameters

cid ClientID

Returns

uint

explicit operator ClientID(uint)

public static explicit operator ClientID(uint cid)

Parameters

cid uint

Returns

ClientID

operator >(in ClientID, in ClientID)

public static bool operator >(in ClientID left, in ClientID right)

Parameters

left ClientID
right ClientID

Returns

bool

operator >=(in ClientID, in ClientID)

public static bool operator >=(in ClientID left, in ClientID right)

Parameters

left ClientID
right ClientID

Returns

bool

operator !=(in ClientID, in ClientID)

public static bool operator !=(in ClientID left, in ClientID right)

Parameters

left ClientID
right ClientID

Returns

bool

operator <(in ClientID, in ClientID)

public static bool operator <(in ClientID left, in ClientID right)

Parameters

left ClientID
right ClientID

Returns

bool

operator <=(in ClientID, in ClientID)

public static bool operator <=(in ClientID left, in ClientID right)

Parameters

left ClientID
right ClientID

Returns

bool