Removed old callbacks
Implemented new callback methods Made ReceiveData renamed to ReceiveMessages, returns void amd calls the callback methods
This commit is contained in:
@ -86,6 +86,6 @@ const NetworkMessage &NetworkMessage::DecodeMessageHeader(const NetworkBuffer &b
|
||||
tag = buffer.body[6];
|
||||
subject = Utility::BitConverter::ToUint16(buffer.body, 7);
|
||||
this->buffer = buffer;
|
||||
valid = sender != -2 && tag != CONNECT && tag != DISCONNECT;
|
||||
valid = sender != -2 && tag != CONNECT && tag != DISCONNECT && distribution_mode > 0;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user