diff options
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r-- | src/PatchageEvent.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp index 7376915..34cf5fb 100644 --- a/src/PatchageEvent.hpp +++ b/src/PatchageEvent.hpp @@ -40,17 +40,17 @@ class PatchageEvent public: enum class Type : uint8_t { - NULL_EVENT = 0, - REFRESH, - CLIENT_CREATION, - CLIENT_DESTRUCTION, - PORT_CREATION, - PORT_DESTRUCTION, - CONNECTION, - DISCONNECTION + noop, + refresh, + client_creation, + client_destruction, + port_creation, + port_destruction, + connection, + disconnection, }; - explicit PatchageEvent(Type type = Type::NULL_EVENT) + explicit PatchageEvent(Type type = Type::noop) : _str(nullptr) , _type(type) {} |