1
0
Fork 0
Nibriboard/Nibriboard/Client/Messages/HandshakeResponseMessage.cs

36 lines
799 B
C#

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using SBRL.Utilities;
using SBRL.Utilities.Solutions;
namespace Nibriboard.Client.Messages
{
/// <summary>
/// Holds the server's response to a HandshakeRequest.
/// </summary>
public class HandshakeResponseMessage : Message
{
/// <summary>
/// The id that the server is assigning to the nibri client.
/// </summary>
public int Id;
/// <summary>
/// The colour that the server is assigning to the nibri client.
/// </summary>
[JsonConverter(typeof(ToStringJsonConverter))]
public ColourHSL Colour;
/// <summary>
/// A list of planes that this nibriboard server currently has.
/// </summary>
public List<string> Planes = new List<string>();
public HandshakeResponseMessage()
{
}
}
}