1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[server] Fill out PlaneChangeMessage

This commit is contained in:
Starbeamrainbowlabs 2017-03-20 18:10:17 +00:00
parent f454ff0c61
commit c4947474cd

View file

@ -1,10 +1,25 @@
using System;
namespace Nibriboard.Client.Messages
{
/// <summary>
/// Represents a plane change requested by a nirbi client.
/// </summary>
public class PlaneChangeMessage : Message
{
/// <summary>
/// Whether the plane change is ok or not.
/// Used when the server is replying to a plane change request.
/// </summary>
public bool IsOK = false;
/// <summary>
/// Ţhe new plane name that the nibri client would like to switch to.
/// </summary>
public string NewPlaneName;
/// <summary>
/// Create a new plane change message.
/// </summary>
/// <param name="inNewPlaneName">The new plane name that the nibri client would like to switch to.</param>
public PlaneChangeMessage(string inNewPlaneName)
{
NewPlaneName = inNewPlaneName;