2019-09-15 22:28:36 +00:00
|
|
|
using System;
|
|
|
|
using Mirror;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NetMessages {
|
|
|
|
|
|
|
|
public class ErrorMessage : MessageBase
|
|
|
|
{
|
|
|
|
public string errorName;
|
|
|
|
public string errorDescription = "";
|
|
|
|
}
|
|
|
|
|
|
|
|
public class PlayerConnectionMessage : MessageBase
|
|
|
|
{
|
|
|
|
public string playerName;
|
|
|
|
public string gamePassword;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ViewerConnectionMessage : MessageBase
|
|
|
|
{
|
|
|
|
public string gamePassword;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ConnectionSuccessfulResponse : MessageBase
|
|
|
|
{
|
2019-09-15 23:07:27 +00:00
|
|
|
|
2019-09-15 22:28:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public class GameStartMessage : MessageBase
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ActSettingsMessage : MessageBase
|
|
|
|
{
|
|
|
|
public ActSettings settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ActResultsMessage : MessageBase
|
|
|
|
{
|
|
|
|
public ActResults results;
|
|
|
|
}
|
2019-09-15 23:07:27 +00:00
|
|
|
|
|
|
|
public class ActEndNotification : MessageBase
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2019-09-15 22:28:36 +00:00
|
|
|
}
|