Extension methods for the NetworkObjectFlags enum. More...
Static Public Member Functions | |
static int | GetVersion (this NetworkObjectFlags flags) |
Returns the version of the flags. More... | |
static bool | IsIgnored (this NetworkObjectFlags flags) |
Check if the flags are ignored. More... | |
static bool | IsVersionCurrent (this NetworkObjectFlags flags) |
Check if the flags are the current version. More... | |
static NetworkObjectFlags | SetCurrentVersion (this NetworkObjectFlags flags) |
Sets the flags to the current version. More... | |
static NetworkObjectFlags | SetIgnored (this NetworkObjectFlags flags, bool value) |
Sets the ignored flag on the flags. More... | |
Extension methods for the NetworkObjectFlags enum.
|
static |
Returns the version of the flags.
flags | The flags to get the version of. |
|
static |
Check if the flags are ignored.
flags | The flags to check. |
|
static |
Check if the flags are the current version.
flags | The flags to check. |
|
static |
Sets the flags to the current version.
flags | The flags to set. |
|
static |
Sets the ignored flag on the flags.
flags | Flags to set the ignored flag on. |
value | Ignored flag value. |