Ejemplo n.º 1
0
Archivo: Game.cs Proyecto: sgf/Yupi
        /// <summary>
        ///     Continues the loading.
        /// </summary>
        internal void ContinueLoading()
        {
            using (IQueryAdapter queryReactor = Yupi.GetDatabaseManager().GetQueryReactor())
            {
                int catalogPageLoaded;

                PetRace.Init(queryReactor);

                _catalog.Initialize(queryReactor, out catalogPageLoaded);

                UserChatInputFilter.Load();
                ServerSecurityChatFilter.InitSwearWord();
                BlackWordsManager.Load();
                SoundMachineSongManager.Initialize();

                ServerCpuLowPriorityWorker.Init(queryReactor);

                _roomManager.InitVotedRooms(queryReactor);

                _roomManager.LoadCompetitionManager();
            }

            StartGameLoop();

            _pixelManager.StartTimer();
        }
Ejemplo n.º 2
0
 public override bool Execute(GameClient session, string[] pms)
 {
     SoundMachineSongManager.Initialize();
     session.SendNotif(Yupi.GetLanguage().GetVar("command_refresh_songs"));
     return(true);
 }