public Room(ReceivingEnterRoomPacket receivingEnterRoomPacket) { Id = receivingEnterRoomPacket.Id; Name = receivingEnterRoomPacket.Name; Headcount = receivingEnterRoomPacket.Headcount; MaxPeople = receivingEnterRoomPacket.MaxPeople; Map = receivingEnterRoomPacket.Map; Status = Waiting; Players = receivingEnterRoomPacket.Players; }
public EnterRoomService(Packet packet) : base(packet) { _receivingEnterRoomPacket = (ReceivingEnterRoomPacket)packet; }