ACR_ServerCommunicator.GameWorldManager.GameWorldManager C# (CSharp) Method

GameWorldManager() public method

Create a new GameWorldManager.
public GameWorldManager ( int LocalServerId, string LocalServerName ) : System
LocalServerId int Supplies the server id of the local /// server.
LocalServerName string Supplies the server name of the local /// server, as referenced in the pwdata table in the database.
return System
        public GameWorldManager(int LocalServerId, string LocalServerName)
        {
            this.LocalServerId = LocalServerId;
            this.LocalServerName = LocalServerName;
            this.PauseUpdates = false;

            EventQueue = new GameEventQueue(this);
            QueryDispatchThread = new Thread(QueryDispatchThreadRoutine);
            ConfigurationSyncTimer = new Timer(new TimerCallback(OnConfigurationSyncTimer), null, 0, CONFIGURATION_SYNC_INTERVAL);
            UpdateServerCheckinTimer = new Timer(new TimerCallback(OnUpdateServerCheckinTimer), null, 0, UPDATE_SERVER_CHECKIN_INTERVAL);
            UpdateDatabaseOnlineTimer = new Timer(new TimerCallback(OnUpdateDatabaseOnlineTimer), null, 0, UPDATE_DATABASE_ONLINE_INTERVAL);

            QueryDispatchThread.Start();
        }