Extension methods for the NetworkObjectFlags enum.
More...
Extension methods for the NetworkObjectFlags enum.
◆ GetVersion()
Returns the version of the flags.
- Parameters
-
| flags | The flags to get the version of. |
- Returns
- The version of the flags.
◆ IsIgnored()
Check if the flags are ignored.
- Parameters
-
- Returns
- True if the flags are ignored, false otherwise.
◆ IsVersionCurrent()
Check if the flags are the current version.
- Parameters
-
- Returns
- True if the flags are the current version, false otherwise.
◆ SetCurrentVersion()
Sets the flags to the current version.
- Parameters
-
- Returns
- The flags with the version set to the current version.
◆ SetIgnored()
Sets the ignored flag on the flags.
- Parameters
-
| flags | Flags to set the ignored flag on. |
| value | Ignored flag value. |
- Returns
- The flags with the ignored flag set to the given value.