1
0
Fork 0

[server] Fill out PlaneChangeMessage

This commit is contained in:
Starbeamrainbowlabs 2017-03-20 18:10:17 +00:00
parent f454ff0c61
commit c4947474cd
1 changed files with 15 additions and 0 deletions

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;