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