mirror of https://github.com/deavminet/libdnet.git
Added ENTITYMESSAGE ClientType
This commit is contained in:
parent
eba9608f89
commit
86ff2f5148
|
@ -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;
|
||||||
|
}
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
Loading…
Reference in New Issue