Removed some old message types

This commit is contained in:
Tristan B. Velloza Kildaire 2021-08-27 14:59:09 +02:00
parent 13cc2f738e
commit e5034db783
1 changed files with 9 additions and 11 deletions

View File

@ -7,9 +7,13 @@ message DNETMessage
{
enum MessageType
{
// For all AccountMessage messages
AUTH = 0;
REGISTER = 1;
CHANNEL_CMD = 2;
// For all ChannelMessage messages
CHANNEL = 2;
LIST_CHANS = 3;
}
@ -44,27 +48,21 @@ message ChannelCommand
bytes additionalData;
}
// Channel Property
// Channel/User Property
//
// Represents a channel property which is a mapping
// Represents a channel/user property which is a mapping
// of a key to a value (bytes) of which its interpretation
// is solely up to the user
message ChannelProperty
message Property
{
// Property's name
string name;
// The property's data
bytes data;
}
//UserMessage
//
//All authenticated messages
message UserMessage
{
}
message ProfileDetails
{