mirror of
https://github.com/deavminet/libdnet.git
synced 2025-02-17 11:36:51 +00:00
Added ENTITYMESSAGE ClientType
This commit is contained in:
parent
eba9608f89
commit
86ff2f5148
19
source/libdnet/messages/tools.d
Normal file
19
source/libdnet/messages/tools.d
Normal 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;
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Type declarations
|
||||
*/
|
||||
module libdnet.types;
|
||||
module libdnet.messages.types;
|
||||
|
||||
import msgpack;
|
||||
|
||||
@ -54,7 +54,8 @@ struct ServerMessage
|
||||
*/
|
||||
public enum ClientType
|
||||
{
|
||||
AUTH
|
||||
AUTH,
|
||||
ENTITYMESSAGE
|
||||
}
|
||||
|
||||
/**
|
Loading…
Reference in New Issue
Block a user