AcManager.Tools.Managers.Online.ServerEntry.ServerEntry C# (CSharp) Method

ServerEntry() public method

public ServerEntry ( IOnlineManager manager, [ information, bool forceIsLan = null ) : System
manager IOnlineManager
information [
forceIsLan bool
return System
        public ServerEntry(IOnlineManager manager, [NotNull] ServerInformation information, bool? forceIsLan = null)
                : base(manager, information.GetUniqueId(), true) {
            if (information == null) throw new ArgumentNullException(nameof(information));

            OriginalInformation = information;

            IsLan = forceIsLan ?? information.IsLan;

            Ip = information.Ip;
            Port = information.Port;
            PortC = information.PortC;
            PortT = information.PortT;

            Ping = null;
            SetSomeProperties(information);
        }

Same methods

ServerEntry::ServerEntry ( IOnlineManager manager, string id, bool enabled ) : System