ACR_ServerCommunicator.GameWorldManager.InsertNewServer C# (CSharp) Method

InsertNewServer() private method

This function inserts a server into the various server lists and issues the server load event.
private InsertNewServer ( GameServer Server, IALFADatabase Database ) : void
Server GameServer Supplies the server object to insert. ///
Database IALFADatabase Supplies the database connection to use for /// queries, if required. The active rowset may be consumed.
return void
        private void InsertNewServer(GameServer Server, IALFADatabase Database)
        {
            //
            // Mark the server as visited so that if we come in on the main
            // thread during the middle of a server synchronization cycle, we
            // won't immediate offline the server.
            //

            Server.Visited = true;
            Server.RefreshOnlineStatus(Database);

            ServerList.Add(Server);
            OnServerLoaded(Server);
        }