Photon Fusion 2.1.1

Tick.EqualityComparer Class Referencesealed

Provides a mechanism for comparing two Tick objects for equality. More...

Public Member Functions

bool Equals (Tick x, Tick y)
 Determines whether the specified Tick objects are equal.
int GetHashCode (Tick obj)
 Serves as a hash function for a Tick object.

Detailed Description

Provides a mechanism for comparing two Tick objects for equality.

Member Function Documentation

◆ Equals()

bool Equals ( Tick x,
Tick y )

Determines whether the specified Tick objects are equal.

Parameters
xThe first Tick object to compare.
yThe second Tick object to compare.
Returns
true if the specified Tick objects are equal; otherwise, false.

◆ GetHashCode()

int GetHashCode ( Tick obj)

Serves as a hash function for a Tick object.

Parameters
objThe Tick object for which to get a hash code.
Returns
A hash code for the specified Tick object.