Table of Contents

Struct NetworkPlayerId

Namespace
Netick
Assembly
Netick.dll

Represents a networked struct identifier for a NetworkPlayer.

public struct NetworkPlayerId : IEquatable<NetworkPlayerId>
Implements
Inherited Members

Constructors

NetworkPlayerId(int)

public NetworkPlayerId(int id)

Parameters

id int

Properties

Id

public int Id { get; }

Property Value

int

Invalid

public static NetworkPlayerId Invalid { get; }

Property Value

NetworkPlayerId

IsValid

public bool IsValid { get; }

Property Value

bool

ReplayPlayer

public static NetworkPlayerId ReplayPlayer { get; }

Property Value

NetworkPlayerId

Methods

Equals(NetworkPlayerId)

public bool Equals(NetworkPlayerId other)

Parameters

other NetworkPlayerId

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 ==(NetworkPlayerId, NetworkPlayerId)

public static bool operator ==(NetworkPlayerId left, NetworkPlayerId right)

Parameters

left NetworkPlayerId
right NetworkPlayerId

Returns

bool

implicit operator int(NetworkPlayerId)

public static implicit operator int(NetworkPlayerId playerId)

Parameters

playerId NetworkPlayerId

Returns

int

operator !=(NetworkPlayerId, NetworkPlayerId)

public static bool operator !=(NetworkPlayerId left, NetworkPlayerId right)

Parameters

left NetworkPlayerId
right NetworkPlayerId

Returns

bool