Updated TODO list
Added IS_HANDSHAKE macro to check if a NetworkMessage is a handshake easier Utility: All From... methods are now ToBytes replaced emplace_back to insert since it was not compiling correcly
This commit is contained in:
@ -243,4 +243,6 @@ enum InternalTags
|
||||
DISCONNECT = 255,
|
||||
};
|
||||
|
||||
#define IS_HANDSHAKE(name) name.subject == 1 && (name.tag == DISCONNECT || name.tag == CONNECT || name.tag == ConnectionCode::Accept || name.tag == ConnectionCode::Close || name.tag == ConnectionCode::Reject)
|
||||
|
||||
#endif // DEFS_HPP
|
||||
Reference in New Issue
Block a user