mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-09 08:58:04 +00:00
Further work on subcomponents
serialization is improved, next is re-implementing the actual functionality.
This commit is contained in:
@@ -16,7 +16,9 @@ enum class eMovementPlatformState : uint32_t
|
||||
};
|
||||
|
||||
inline constexpr eMovementPlatformState operator|(eMovementPlatformState a, eMovementPlatformState b) {
|
||||
return static_cast<eMovementPlatformState>(static_cast<uint32_t>(a) | static_cast<uint32_t>(b));
|
||||
return static_cast<eMovementPlatformState>(
|
||||
static_cast<std::underlying_type<eMovementPlatformState>::type>(a) |
|
||||
static_cast<std::underlying_type<eMovementPlatformState>::type>(b));
|
||||
};
|
||||
|
||||
#endif //!__EMOVEMENTPLATFORMSTATE__H__
|
||||
|
Reference in New Issue
Block a user