1
Fork 0
mirror of https://github.com/Steffo99/better-tee.git synced 2024-11-22 07:14:19 +00:00
better-tee/Assets/Code/NetworkMessages.cs
2019-09-16 00:28:36 +02:00

48 lines
No EOL
923 B
C#

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
{
public string[] playersConnected;
}
public class NewPlayerConnectedNotification : MessageBase
{
public string playerName;
}
public class GameStartMessage : MessageBase
{
}
public class ActSettingsMessage : MessageBase
{
public ActSettings settings;
}
public class ActResultsMessage : MessageBase
{
public ActResults results;
}
}