Represents a reliable key structure used in the Fusion.Sockets namespace.
More...
Inherits IEquatable< ReliableKey >.
|
fixed byte | Data [16] |
| Fixed byte array to store the key data. More...
|
|
Represents a reliable key structure used in the Fusion.Sockets namespace.
◆ Equals() [1/2]
readonly override bool Equals |
( |
object |
obj | ) |
|
◆ Equals() [2/2]
Returns true
if the Data is the same.
◆ FromInts()
static ReliableKey FromInts |
( |
int |
key0 = 0 , |
|
|
int |
key1 = 0 , |
|
|
int |
key2 = 0 , |
|
|
int |
key3 = 0 |
|
) |
| |
|
static |
Creates a ReliableKey from integer values.
- Parameters
-
key0 | The first integer key. |
key1 | The second integer key. |
key2 | The third integer key. |
key3 | The fourth integer key. |
- Returns
- A new ReliableKey instance.
◆ FromULongs()
static ReliableKey FromULongs |
( |
ulong |
key0 = 0 , |
|
|
ulong |
key1 = 0 |
|
) |
| |
|
static |
Creates a ReliableKey from unsigned long values.
- Parameters
-
key0 | The first unsigned long key. |
key1 | The second unsigned long key. |
- Returns
- A new ReliableKey instance.
◆ GetHashCode()
readonly override int GetHashCode |
( |
| ) |
|
Returns a hash based on the Data.
◆ GetInts()
readonly void GetInts |
( |
out int |
key0, |
|
|
out int |
key1, |
|
|
out int |
key2, |
|
|
out int |
key3 |
|
) |
| |
Gets the key data as integers.
- Parameters
-
key0 | The first integer key. |
key1 | The second integer key. |
key2 | The third integer key. |
key3 | The fourth integer key. |
◆ GetUlongs()
readonly void GetUlongs |
( |
out ulong |
key0, |
|
|
out ulong |
key1 |
|
) |
| |
Gets the key data as unsigned long integers.
- Parameters
-
key0 | The first unsigned long key. |
key1 | The second unsigned long key. |
◆ operator!=()
Returns true
if the Data is not the same.
◆ operator==()
Returns true
if the Data is the same.
◆ Data
Fixed byte array to store the key data.
◆ SIZE