Table of Contents

Struct Tick

Namespace
Netick
Assembly
Netick.dll

Represents a network tick.

public struct Tick : IEquatable<Tick>
Implements
Inherited Members

Constructors

Tick(int)

public Tick(int rawValue)

Parameters

rawValue int

Fields

Value

public int Value

Field Value

int

Properties

InvalidTick

public static Tick InvalidTick { get; }

Property Value

Tick

IsValid

public bool IsValid { get; }

Property Value

bool

TickValue

[Obsolete("This will be removed in the future, use Value instead.")]
public int TickValue { get; set; }

Property Value

int

Methods

Equals(Tick)

public bool Equals(Tick other)

Parameters

other Tick

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 +(Tick, int)

public static Tick operator +(Tick a, int b)

Parameters

a Tick
b int

Returns

Tick

operator ==(Tick, Tick)

public static bool operator ==(Tick a, Tick b)

Parameters

a Tick
b Tick

Returns

bool

operator >(Tick, Tick)

public static bool operator >(Tick a, Tick b)

Parameters

a Tick
b Tick

Returns

bool

operator >=(Tick, Tick)

public static bool operator >=(Tick a, Tick b)

Parameters

a Tick
b Tick

Returns

bool

implicit operator int(Tick)

public static implicit operator int(Tick val)

Parameters

val Tick

Returns

int

implicit operator Tick(int)

public static implicit operator Tick(int val)

Parameters

val int

Returns

Tick

operator ++(Tick)

public static Tick operator ++(Tick a)

Parameters

a Tick

Returns

Tick

operator !=(Tick, Tick)

public static bool operator !=(Tick a, Tick b)

Parameters

a Tick
b Tick

Returns

bool

operator <(Tick, Tick)

public static bool operator <(Tick a, Tick b)

Parameters

a Tick
b Tick

Returns

bool

operator <=(Tick, Tick)

public static bool operator <=(Tick a, Tick b)

Parameters

a Tick
b Tick

Returns

bool

operator %(Tick, int)

public static int operator %(Tick a, int b)

Parameters

a Tick
b int

Returns

int

operator -(Tick, Tick)

public static int operator -(Tick a, Tick b)

Parameters

a Tick
b Tick

Returns

int

operator -(Tick, int)

public static Tick operator -(Tick a, int b)

Parameters

a Tick
b int

Returns

Tick