Photon Fusion
2.1.1
Network object header information for a NetworkObject. More...
Inherits INetworkStruct.
Public Member Functions | |
| readonly bool | Equals (NetworkObjectHeader other) |
| Checks if the current instance of NetworkObjectHeader is equal to another instance of the same type. | |
| override readonly bool | Equals (object obj) |
| Checks if the current instance of NetworkObjectHeader is equal to another object. | |
| override readonly int | GetHashCode () |
| Generates a hash code for the current instance of NetworkObjectHeader. | |
| override readonly string | ToString () |
| The string representation of the NetworkObjectHeader. | |
Static Public Member Functions | |
| static bool | operator!= (NetworkObjectHeader left, NetworkObjectHeader right) |
| Determines if two instances of NetworkObjectHeader are not equal. | |
| static bool | operator== (NetworkObjectHeader left, NetworkObjectHeader right) |
| Determines if two instances of NetworkObjectHeader are equal. | |
Public Attributes | |
| readonly short | BehaviourCount = behaviourCount |
| The number of behaviours in the network object. | |
| readonly NetworkObjectHeaderFlags | Flags = flags |
| The flags indicating various states or properties of the network object. | |
| NetworkId | Id = id |
| The unique identifier of the network object. | |
| PlayerRef | InputAuthority |
| The player reference who has input authority over the network object. | |
| readonly NetworkObjectNestingKey | NestingKey = nestingKey |
| The nesting key of the network object. | |
| readonly NetworkId | NestingRoot = nestingRoot |
| The unique identifier of the root network object in the nesting hierarchy. | |
| PlayerRef | StateAuthority |
| The player reference who has state authority over the network object. | |
| readonly NetworkObjectTypeId | Type = type |
| The type identifier of the network object. | |
| readonly short | WordCount = wordCount |
| The size of the network object's data in words. | |
Static Public Attributes | |
| const int | PLAYER_FLAGS_WORD = 36 / Allocator.REPLICATE_WORD_SIZE |
| The word index of the player data in the NetworkObjectHeader. | |
| const int | PLUGIN_VERSION_WORD = 40 / Allocator.REPLICATE_WORD_SIZE |
| The word index of the plugin version in the NetworkObjectHeader. | |
| const int | STATE_AUTHORITY_WORD = 32 / Allocator.REPLICATE_WORD_SIZE |
| The word index of the state authority in the NetworkObjectHeader. | |
| const int | WORDS = SIZE / Allocator.REPLICATE_WORD_SIZE |
| The size of the NetworkObjectHeader in words. | |
Properties | |
| readonly int | ByteCount [get] |
| The size of the network object's data in bytes. | |
Network object header information for a NetworkObject.
|
static |
Determines if two instances of NetworkObjectHeader are not equal.
|
static |
Determines if two instances of NetworkObjectHeader are equal.