[server] Sort out message types
This commit is contained in:
parent
d1daadef29
commit
deee56ea9e
2 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@ namespace PixelHub
|
|||
/// <summary>
|
||||
/// The type of message that you are sending.
|
||||
/// </summary>
|
||||
public enum MessageType
|
||||
public enum MessageTypes
|
||||
{
|
||||
// No command. This is not a valid message type.
|
||||
None = -1,
|
||||
|
@ -50,7 +50,7 @@ namespace PixelHub
|
|||
/// The type of this message.
|
||||
/// </summary>
|
||||
/// <value>The type of the message.</value>
|
||||
public ushort MessageType { get; private set; } = 0;
|
||||
public MessageTypes MessageType { get; private set; } = MessageTypes.None;
|
||||
|
||||
/// <summary>
|
||||
/// The id of this message, or the message that this message is in direct response to.
|
||||
|
|
|
@ -17,6 +17,8 @@ namespace PixelHub.Server.PixelCommands
|
|||
}
|
||||
}
|
||||
|
||||
public new MessageTypes MessageType { get; private set; } = MessageTypes.Reset;
|
||||
|
||||
public ResetCommand()
|
||||
{
|
||||
|
||||
|
|
Reference in a new issue