Photon Fusion
2.1.1
Represents a boolean value that can be networked. More...
Inherits INetworkStruct.
Public Member Functions | |
| readonly bool | Equals (bool b) |
| Determines whether the specified bool is equal to the current NetworkBool. | |
| readonly bool | Equals (NetworkBool other) |
| Determines whether the specified NetworkBool is equal to the current NetworkBool. | |
| override readonly bool | Equals (object obj) |
| Determines whether the specified object is equal to the current NetworkBool. | |
| override readonly int | GetHashCode () |
| Serves as the default hash function. | |
| NetworkBool (bool value) | |
| Initializes a new instance of the NetworkBool struct with the specified value. | |
| override readonly string | ToString () |
| Returns a string that represents the current NetworkBool. | |
Static Public Member Functions | |
| static implicit | operator bool (NetworkBool val) |
| Defines an implicit conversion of a NetworkBool to a bool. | |
| static implicit | operator NetworkBool (bool val) |
| Defines an implicit conversion of a bool to a NetworkBool. | |
| static bool | operator!= (bool a, NetworkBool b) |
| static bool | operator!= (NetworkBool a, bool b) |
| static bool | operator== (bool a, NetworkBool b) |
| static bool | operator== (NetworkBool a, bool b) |
Public Attributes | |
| int | RawValue |
| Internal value of the NetworkBool. | |
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. |
| readonly 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 readonly 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 readonly 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 readonly string ToString | ( | ) |
Returns a string that represents the current NetworkBool.