Represents a reliable key structure used in the Fusion.Sockets namespace.
More...
|
|
readonly override bool | Equals (object obj) |
| | Returns true if obj is a ReliableKey and the Data is the same.
|
|
readonly bool | Equals (ReliableKey other) |
| | Returns true if the Data is the same.
|
|
readonly override int | GetHashCode () |
| | Returns a hash based on the Data.
|
| readonly void | GetInts (out int key0, out int key1, out int key2, out int key3) |
| | Gets the key data as integers.
|
| readonly void | GetUlongs (out ulong key0, out ulong key1) |
| | Gets the key data as unsigned long integers.
|
|
|
fixed byte | Data [16] |
| | Fixed byte array to store the key data.
|
Represents a reliable key structure used in the Fusion.Sockets namespace.
◆ FromInts()
| 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()
| 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.
◆ 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. |