18 lines
461 B
C#
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;
|
|
}
|
|
}
|
|
} |