Netick.Tick Struct Reference
Inheritance diagram for Netick.Tick:
Netick.ISerializable

Public Member Functions

 Tick (uint rawValue)
 
 Tick (uint rawValue, bool isValid)
 
void Write (NetickBuffer buffer)
 
void Read (NetickBuffer buffer)
 
override int GetHashCode ()
 
override bool Equals (object obj)
 
bool Equals (Tick other)
 
override string ToString ()
 
void Write (NetickBuffer buffer)
 
void Read (NetickBuffer buffer)
 

Static Public Member Functions

static Tick ()
 
static Tick operator+ (Tick a, int b)
 
static Tick operator- (Tick a, int b)
 
static int operator% (Tick a, int b)
 
static int operator- (Tick a, Tick b)
 
static Tick operator++ (Tick a)
 
static bool operator> (Tick a, Tick b)
 
static bool operator< (Tick a, Tick b)
 
static bool operator>= (Tick a, Tick b)
 
static bool operator<= (Tick a, Tick b)
 
static bool operator== (Tick a, Tick b)
 
static bool operator!= (Tick a, Tick b)
 

Static Public Attributes

static readonly IEqualityComparer< TickComparer = new TickComparer()
 

Properties

int TickValue [get]
 

Constructor & Destructor Documentation

◆ Tick() [1/3]

static Netick.Tick.Tick ( )
static

◆ Tick() [2/3]

Netick.Tick.Tick ( uint  rawValue)

◆ Tick() [3/3]

Netick.Tick.Tick ( uint  rawValue,
bool  isValid 
)

Member Function Documentation

◆ Equals() [1/2]

override bool Netick.Tick.Equals ( object  obj)

◆ Equals() [2/2]

bool Netick.Tick.Equals ( Tick  other)

◆ GetHashCode()

override int Netick.Tick.GetHashCode ( )

◆ operator!=()

static bool Netick.Tick.operator!= ( Tick  a,
Tick  b 
)
static

◆ operator%()

static int Netick.Tick.operator% ( Tick  a,
int  b 
)
static

◆ operator+()

static Tick Netick.Tick.operator+ ( Tick  a,
int  b 
)
static

◆ operator++()

static Tick Netick.Tick.operator++ ( Tick  a)
static

◆ operator-() [1/2]

static Tick Netick.Tick.operator- ( Tick  a,
int  b 
)
static

◆ operator-() [2/2]

static int Netick.Tick.operator- ( Tick  a,
Tick  b 
)
static

◆ operator<()

static bool Netick.Tick.operator< ( Tick  a,
Tick  b 
)
static

◆ operator<=()

static bool Netick.Tick.operator<= ( Tick  a,
Tick  b 
)
static

◆ operator==()

static bool Netick.Tick.operator== ( Tick  a,
Tick  b 
)
static

◆ operator>()

static bool Netick.Tick.operator> ( Tick  a,
Tick  b 
)
static

◆ operator>=()

static bool Netick.Tick.operator>= ( Tick  a,
Tick  b 
)
static

◆ Read()

void Netick.Tick.Read ( NetickBuffer  buffer)

Implements Netick.ISerializable.

◆ ToString()

override string Netick.Tick.ToString ( )

◆ Write()

void Netick.Tick.Write ( NetickBuffer  buffer)

Implements Netick.ISerializable.

Member Data Documentation

◆ Comparer

readonly IEqualityComparer<Tick> Netick.Tick.Comparer = new TickComparer()
static

Property Documentation

◆ TickValue

int Netick.Tick.TickValue
get