RMafia/MafiaCommon/Packets/WelcomePacket.cs
2021-01-17 22:47:37 +03:00

18 lines
461 B
C#

using System;
namespace MafiaCommon.Packets
{
public class WelcomePacket : Packet
{
public readonly String ServerName;
public readonly int Players;
public readonly int MaxPlayers;
public WelcomePacket(String serverName, int players, int maxPlayers) : base(PacketType.Welcome)
{
ServerName = serverName;
Players = players;
MaxPlayers = maxPlayers;
}
}
}