using System; using System.Collections.Generic; using System.Text; using DFEngine.Network; namespace DFEngine.Server { /// /// Class that represents a zone that /// players can join. /// public class Zone { /// /// This is the zone's network connection. It allows us to send data /// to the world for things like transfers and such. /// public NetworkConnection Connection { get; set; } /// /// The IP of the zone. Players connect to this IP Address. /// public string IP { get; set; } /// /// The zone's number. /// public byte Number { get; set; } /// /// The port of the zone. Players connect to this port. /// public ushort Port { get; set; } public Zone(NetworkConnection connection, byte number, string ip, ushort port) { Connection = connection; Number = number; IP = ip; Port = port; } } }