ID for a NetworkObject Prefab which has been cataloged in a NetworkProjectConfig.PrefabTable. More...
Inherits INetworkStruct, IEquatable< NetworkPrefabId >, IComparable, and IComparable< NetworkPrefabId >.
Classes | |
class | EqualityComparer |
Equality comparer for NetworkPrefabId. More... | |
Public Member Functions | |
int | CompareTo (NetworkPrefabId other) |
Compares the NetworkPrefabId to another NetworkPrefabId. More... | |
int IComparable. | CompareTo (object obj) |
Compares the NetworkPrefabId to another object. More... | |
bool | Equals (NetworkPrefabId other) |
Checks if the NetworkPrefabId is equal to another NetworkPrefabId. More... | |
override bool | Equals (object obj) |
Checks if the NetworkPrefabId is equal to another object. More... | |
override int | GetHashCode () |
Gets the hash code of the NetworkPrefabId. More... | |
override string | ToString () |
Converts the NetworkPrefabId to a string. More... | |
string | ToString (bool brackets, bool prefix) |
Converts the NetworkPrefabId to a string with optional brackets and prefix. More... | |
Static Public Member Functions | |
static NetworkPrefabId | FromIndex (int index) |
Creates a NetworkPrefabId from an index. More... | |
static NetworkPrefabId | FromRaw (uint value) |
Creates a NetworkPrefabId from a raw value. More... | |
static bool | operator!= (NetworkPrefabId a, NetworkPrefabId b) |
Checks if two NetworkPrefabId are not equal. More... | |
static bool | operator== (NetworkPrefabId a, NetworkPrefabId b) |
Checks if two NetworkPrefabId are equal. More... | |
Public Attributes | |
uint | RawValue |
The raw value of the NetworkPrefabId. More... | |
Static Public Attributes | |
const int | ALIGNMENT = 4 |
The alignment of a NetworkPrefabId. More... | |
const int | MAX_INDEX = int.MaxValue - 1 |
The maximum index value of a NetworkPrefabId. More... | |
const int | SIZE = 4 |
The size of a NetworkPrefabId. More... | |
Properties | |
int | AsIndex [get] |
Converts the NetworkPrefabId to an index. More... | |
bool | IsNone [get] |
Checks if the NetworkPrefabId is none. More... | |
bool | IsValid [get] |
Checks if the NetworkPrefabId is valid. More... | |
ID for a NetworkObject Prefab which has been cataloged in a NetworkProjectConfig.PrefabTable.
int CompareTo | ( | NetworkPrefabId | other | ) |
Compares the NetworkPrefabId to another NetworkPrefabId.
int IComparable. CompareTo | ( | object | obj | ) |
Compares the NetworkPrefabId to another object.
bool Equals | ( | NetworkPrefabId | other | ) |
Checks if the NetworkPrefabId is equal to another NetworkPrefabId.
override bool Equals | ( | object | obj | ) |
Checks if the NetworkPrefabId is equal to another object.
|
static |
Creates a NetworkPrefabId from an index.
|
static |
Creates a NetworkPrefabId from a raw value.
override int GetHashCode | ( | ) |
Gets the hash code of the NetworkPrefabId.
|
static |
Checks if two NetworkPrefabId are not equal.
|
static |
Checks if two NetworkPrefabId are equal.
override string ToString | ( | ) |
Converts the NetworkPrefabId to a string.
string ToString | ( | bool | brackets, |
bool | prefix | ||
) |
Converts the NetworkPrefabId to a string with optional brackets and prefix.
|
static |
The alignment of a NetworkPrefabId.
|
static |
The maximum index value of a NetworkPrefabId.
uint RawValue |
The raw value of the NetworkPrefabId.
|
static |
The size of a NetworkPrefabId.
|
get |
Converts the NetworkPrefabId to an index.
|
get |
Checks if the NetworkPrefabId is none.
|
get |
Checks if the NetworkPrefabId is valid.