The unique identifier for a network entity. More...
Inherits INetworkStruct, IEquatable< NetworkId >, IComparable, and IComparable< NetworkId >.
Classes | |
class | EqualityComparer |
IEqualityComparer interface for NetworkId objects. More... | |
Public Member Functions | |
int | CompareTo (NetworkId other) |
Compares the current NetworkId object with another NetworkId object. More... | |
int IComparable. | CompareTo (object obj) |
bool | Equals (NetworkId other) |
Determines whether the current NetworkId object is equal to another NetworkId object. More... | |
override bool | Equals (object obj) |
Determines whether the specified object is equal to the current NetworkId object. More... | |
override int | GetHashCode () |
Get the hash code for this NetworkId. More... | |
string | ToNamePrefixString () |
String conversion specifically for use in prefixing names of GameObjects. More... | |
override string | ToString () |
String representation of the NetworkId. More... | |
void | Write (NetBitBuffer *buffer) |
Writes this NetworkId to the provided NetBitBuffer. More... | |
Static Public Member Functions | |
static implicit | operator bool (NetworkId id) |
Converts the NetworkId object to a boolean value. More... | |
static bool | operator!= (NetworkId a, NetworkId b) |
Determines whether two NetworkId objects are not equal. More... | |
static bool | operator== (NetworkId a, NetworkId b) |
Determines whether two NetworkId objects are equal. More... | |
static NetworkId | Read (NetBitBuffer *buffer) |
Reads a NetworkId from the provided NetBitBuffer. More... | |
static void | Write (NetBitBuffer *buffer, NetworkId id) |
Writes the NetworkId to the provided NetBitBuffer. More... | |
Public Attributes | |
uint | Raw |
The raw value of the network id. More... | |
Static Public Attributes | |
const int | ALIGNMENT = 4 |
The alignment of the network id in bytes. More... | |
const int | BLOCK_SIZE = 8 |
The size of the network id block in bytes. More... | |
const uint | RAW_PHYSICS_INFO = 4u |
const uint | RAW_PLAYER_REF_DATA_ARRAY = 2u |
const uint | RAW_RUNTIME_CONFIG = 1u |
const uint | RAW_SCENE_INFO = 3u |
const int | SIZE = 4 |
The size of the network id in bytes. More... | |
Properties | |
static EqualityComparer | Comparer = new EqualityComparer() [get] |
The IEqualityComparer for NetworkId objects. More... | |
bool | IsReserved [get] |
Signal if the network id is reserved. More... | |
bool | IsValid [get] |
Signal if the network id is valid. More... | |
The unique identifier for a network entity.
int CompareTo | ( | NetworkId | other | ) |
bool Equals | ( | NetworkId | other | ) |
override bool Equals | ( | object | obj | ) |
Determines whether the specified object is equal to the current NetworkId object.
obj | The object to compare with the current object. |
override int GetHashCode | ( | ) |
Get the hash code for this NetworkId.
|
static |
Converts the NetworkId object to a boolean value.
Determines whether two NetworkId objects are not equal.
Determines whether two NetworkId objects are equal.
|
static |
string ToNamePrefixString | ( | ) |
String conversion specifically for use in prefixing names of GameObjects.
override string ToString | ( | ) |
String representation of the NetworkId.
void Write | ( | NetBitBuffer * | buffer | ) |
|
static |
|
static |
The alignment of the network id in bytes.
|
static |
The size of the network id block in bytes.
uint Raw |
The raw value of the network id.
|
static |
The size of the network id in bytes.
|
staticget |
The IEqualityComparer for NetworkId objects.
|
get |
Signal if the network id is reserved.
|
get |
Signal if the network id is valid.