ACR_ServerCommunicator.ACR_ServerCommunicator.IsServerOnline C# (CSharp) Method

IsServerOnline() private method

Check whether a server is online.
private IsServerOnline ( int ServerId ) : bool
ServerId int Supplies the server id of the server to /// query.
return bool
        private bool IsServerOnline(int ServerId)
        {
            lock (WorldManager)
            {
                GameServer Server = WorldManager.ReferenceServerById(ServerId, GetDatabase());

                if (Server == null)
                    return false;

                return Server.Online;
            }
        }
ACR_ServerCommunicator