Photon Fusion
2.1.1
A tick is a 32-bit integer that represents a frame number. More...
Inherits INetworkStruct.
Classes | |
| class | EqualityComparer |
| Provides a mechanism for comparing two Tick objects for equality. More... | |
| class | RelationalComparer |
| Provides a mechanism for comparing two Tick objects. More... | |
Public Member Functions | |
| int | CompareTo (Tick other) |
| Compares the current Tick with another Tick. | |
| override readonly bool | Equals (object obj) |
| Determines whether the specified object is equal to the current Tick. | |
| readonly bool | Equals (Tick other) |
| Determines whether the specified Tick is equal to the current Tick. | |
| override readonly int | GetHashCode () |
| Serves as the default hash function. | |
| Tick | Next (int increment) |
| Returns the next Tick, incremented by a specified value. | |
| override readonly string | ToString () |
| String representation of the Tick. | |
Static Public Member Functions | |
| static implicit | operator bool (Tick value) |
| Converts a Tick to a boolean. | |
| static implicit | operator int (Tick value) |
| Converts a Tick to an integer. | |
| static implicit | operator Tick (int value) |
| Converts an integer to a Tick. | |
| static | operator uint (Tick value) |
| Converts a Tick to an integer. | |
| static bool | operator!= (Tick a, Tick b) |
| Determines whether the first specified Tick is not equal to the second specified Tick. | |
| static bool | operator< (Tick a, Tick b) |
| Determines whether the first specified Tick is less than the second specified Tick. | |
| static bool | operator<= (Tick a, Tick b) |
| Determines whether the first specified Tick is less than or equal to the second specified Tick. | |
| static bool | operator== (Tick a, Tick b) |
| Determines whether the first specified Tick is equal to the second specified Tick. | |
| static bool | operator> (Tick a, Tick b) |
| Determines whether the first specified Tick is greater than the second specified Tick. | |
| static bool | operator>= (Tick a, Tick b) |
| Determines whether the first specified Tick is greater than or equal to the second specified Tick. | |
Public Attributes | |
| int | Raw |
| The raw value of the Tick. This represents a frame number. | |
Static Public Attributes | |
| const int | ALIGNMENT = 4 |
| The alignment of the Tick structure in bytes. | |
A tick is a 32-bit integer that represents a frame number.
| int CompareTo | ( | Tick | other | ) |
| override readonly bool Equals | ( | object | obj | ) |
| readonly bool Equals | ( | Tick | other | ) |
| override readonly int GetHashCode | ( | ) |
Serves as the default hash function.
| Tick Next | ( | int | increment | ) |
|
static |
|
static |
|
static |