Photon Fusion
2.0.8
Represents a boolean value that can be networked. More...
Inherits INetworkStruct, and IEquatable< NetworkBool >.
Public Member Functions | |
| bool | Equals (NetworkBool other) |
| Determines whether the specified NetworkBool is equal to the current NetworkBool. More... | |
| override bool | Equals (object obj) |
| Determines whether the specified object is equal to the current NetworkBool. More... | |
| override int | GetHashCode () |
| Serves as the default hash function. More... | |
| NetworkBool (bool value) | |
| Initializes a new instance of the NetworkBool struct with the specified value. More... | |
| override string | ToString () |
| Returns a string that represents the current NetworkBool. More... | |
Static Public Member Functions | |
| static implicit | operator bool (NetworkBool val) |
| Defines an implicit conversion of a NetworkBool to a bool. More... | |
| static implicit | operator NetworkBool (bool val) |
| Defines an implicit conversion of a bool to a NetworkBool. More... | |
Static Public Attributes | |
| const int | SIZE = 4 |
| The size of the NetworkBool structure in bytes. More... | |
Represents a boolean value that can be networked.
| NetworkBool | ( | bool | value | ) |
Initializes a new instance of the NetworkBool struct with the specified value.
| value | The boolean value. |
| bool Equals | ( | NetworkBool | other | ) |
Determines whether the specified NetworkBool is equal to the current NetworkBool.
| other | The NetworkBool to compare with the current NetworkBool. |
| override bool Equals | ( | object | obj | ) |
Determines whether the specified object is equal to the current NetworkBool.
| obj | The object to compare with the current NetworkBool. |
| override int GetHashCode | ( | ) |
Serves as the default hash function.
|
static |
Defines an implicit conversion of a NetworkBool to a bool.
| val | The NetworkBool to convert. |
|
static |
Defines an implicit conversion of a bool to a NetworkBool.
| val | The bool to convert. |
| override string ToString | ( | ) |
Returns a string that represents the current NetworkBool.
|
static |
The size of the NetworkBool structure in bytes.