ACR_ServerCommunicator.ACR_ServerCommunicator.IsServerPublic C# (CSharp) Method

IsServerPublic() private method

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

                if (Server == null)
                    return false;

                return Server.Public;
            }
        }
ACR_ServerCommunicator