2017-03-20 18:06:20 +00:00
|
|
|
|
using System;
|
|
|
|
|
namespace Nibriboard.Client.Messages
|
|
|
|
|
{
|
2017-03-20 18:10:17 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents a plane change requested by a nirbi client.
|
|
|
|
|
/// </summary>
|
2017-03-20 18:06:20 +00:00
|
|
|
|
public class PlaneChangeMessage : Message
|
|
|
|
|
{
|
2017-03-20 18:10:17 +00:00
|
|
|
|
/// <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>
|
2017-03-20 18:06:20 +00:00
|
|
|
|
public string NewPlaneName;
|
|
|
|
|
|
2017-03-20 18:10:17 +00:00
|
|
|
|
/// <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>
|
2017-03-20 18:06:20 +00:00
|
|
|
|
public PlaneChangeMessage(string inNewPlaneName)
|
|
|
|
|
{
|
|
|
|
|
NewPlaneName = inNewPlaneName;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|