Added ENTITYMESSAGE ClientType

This commit is contained in:
Tristan B. Velloza Kildaire 2022-01-12 15:44:50 +02:00
parent eba9608f89
commit 86ff2f5148
2 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,19 @@
/**
* TODO: Add information
*/
module libdnet.messages.tools;
import libdnet.messages.types;
import bmessage;
/* TODO: Add bmessage encoder here */
/**
* BMessage encoder*
*
* This will encode the message for sending
*/
public ubyte[] encodeMessage()
{
return null;
}

View File

@ -1,7 +1,7 @@
/** /**
* Type declarations * Type declarations
*/ */
module libdnet.types; module libdnet.messages.types;
import msgpack; import msgpack;
@ -54,7 +54,8 @@ struct ServerMessage
*/ */
public enum ClientType public enum ClientType
{ {
AUTH AUTH,
ENTITYMESSAGE
} }
/** /**