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:
parent
f454ff0c61
commit
c4947474cd
1 changed files with 15 additions and 0 deletions
|
@ -1,10 +1,25 @@
|
||||||
using System;
|
using System;
|
||||||
namespace Nibriboard.Client.Messages
|
namespace Nibriboard.Client.Messages
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a plane change requested by a nirbi client.
|
||||||
|
/// </summary>
|
||||||
public class PlaneChangeMessage : Message
|
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;
|
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)
|
public PlaneChangeMessage(string inNewPlaneName)
|
||||||
{
|
{
|
||||||
NewPlaneName = inNewPlaneName;
|
NewPlaneName = inNewPlaneName;
|
||||||
|
|
Loading…
Reference in a new issue