Exemple #1
0
 public Game()
 {
     _packetManager     = new PacketManager();
     _clientManager     = new GameClientManager();
     _moderationManager = new ModerationManager();
     _moderationManager.Init();
     _itemDataManager = new ItemDataManager();
     _itemDataManager.Init();
     _catalogManager = new CatalogManager();
     _catalogManager.Init(_itemDataManager);
     _televisionManager = new TelevisionManager();
     _navigatorManager  = new NavigatorManager();
     _roomManager       = new RoomManager();
     _chatManager       = new ChatManager();
     _groupManager      = new GroupManager();
     _groupManager.Init();
     _questManager       = new QuestManager();
     _achievementManager = new AchievementManager();
     _talentTrackManager = new TalentTrackManager();
     _landingViewManager = new LandingViewManager();
     _gameDataManager    = new GameDataManager();
     _globalUpdater      = new ServerStatusUpdater();
     _globalUpdater.Init();
     _botManager = new BotManager();
     _botManager.Init();
     _cacheManager  = new CacheManager();
     _rewardManager = new RewardManager();
     _badgeManager  = new BadgeManager();
     _badgeManager.Init();
     _permissionManager = new PermissionManager();
     _permissionManager.Init();
     _subscriptionManager = new SubscriptionManager();
     _subscriptionManager.Init();
 }
Exemple #2
0
        public Game()
        {
            GetHallOfFame.GetInstance().Load();
            _packetManager        = new PacketManager();
            _rentableSpaceManager = new RentableSpaceManager();
            _clientManager        = new GameClientManager();
            _modManager           = new ModerationManager();

            _itemDataManager = new ItemDataManager();
            _itemDataManager.Init();
            //this._cameraManager = new CameraPhotoManager();
            //this._cameraManager.Init(this._itemDataManager);
            _catalogManager = new CatalogManager();
            _catalogManager.Init(_itemDataManager);
            _frontpageManager = new FrontpageManager();

            _televisionManager = new TelevisionManager();
            _crackableManager  = new CrackableManager();
            _crackableManager.Initialize(NeonEnvironment.GetDatabaseManager().GetQueryReactor());
            _furniMaticRewardsManager = new FurniMaticRewardsManager();
            _furniMaticRewardsManager.Initialize(NeonEnvironment.GetDatabaseManager().GetQueryReactor());

            _craftingManager = new CraftingManager();
            _craftingManager.Init();

            _navigatorManager   = new NavigatorManager();
            _roomManager        = new RoomManager();
            _chatManager        = new ChatManager();
            _groupManager       = new GroupManager();
            _questManager       = new QuestManager();
            _achievementManager = new AchievementManager();
            _talentTrackManager = new TalentTrackManager();

            _landingViewManager = new LandingViewManager();
            _gameDataManager    = new GameDataManager();

            _globalUpdater = new ServerStatusUpdater();
            _globalUpdater.Init();

            _languageLocale = new LanguageLocale();
            _antiMutant     = new AntiMutant();
            _botManager     = new BotManager();

            _cacheManager  = new CacheManager();
            _rewardManager = new RewardManager();
            _musicManager  = new SongManager();

            _badgeManager = new BadgeManager();
            _badgeManager.Init();

            forummanager = new GroupForumManager();

            _communityGoalVS = new CommunityGoalVS();
            _communityGoalVS.LoadCommunityGoalVS();

            _permissionManager = new PermissionManager();
            _permissionManager.Init();

            _subscriptionManager = new SubscriptionManager();
            _subscriptionManager.Init();

            HelperToolsManager.Init();

            _calendarManager = new CalendarManager();
            _calendarManager.Init();

            _leaderBoardDataManager = new LeaderBoardDataManager();

            _targetedoffersManager = new TargetedOffersManager();
            _targetedoffersManager.Initialize(NeonEnvironment.GetDatabaseManager().GetQueryReactor());

            _nuxusergiftManager = new NuxUserGiftsManager();
            _nuxusergiftManager.Initialize(NeonEnvironment.GetDatabaseManager().GetQueryReactor());

            _nuxusergiftlistManager = new NuxUserGiftsListManager();
            _nuxusergiftlistManager.Initialize(NeonEnvironment.GetDatabaseManager().GetQueryReactor());

            _pollManager = new PollManager();
            _pollManager.Init();
            WebSocketManager.StartListener();
        }
        // Projeto prisma lindo
        public Game()
        {
            Console.WriteLine();
            log.Info("» Iniciando BIOS EMULADOR Para " + BiosEmuThiago.HotelName + "");
            Console.WriteLine();

            SessionUserRecord = 0;
            // Run Extra Settings
            // BotFrankConfig.RunBotFrank();
            ExtraSettings.RunExtraSettings();

            // Run Catalog Settings
            CatalogSettings.RunCatalogSettings();

            // Run Notification Settings
            NotificationSettings.RunNotiSettings();


            _languageManager = new LanguageManager();
            _languageManager.Init();

            _settingsManager = new SettingsManager();
            _settingsManager.Init();

            _packetManager = new PacketManager();
            _clientManager = new GameClientManager();

            _moderationManager = new ModerationManager();
            _moderationManager.Init();

            _itemDataManager = new ItemDataManager();
            _itemDataManager.Init();

            _catalogManager = new CatalogManager();
            _catalogManager.Init(_itemDataManager);

            _craftingManager = new CraftingManager();
            _craftingManager.Init();

            _televisionManager = new TelevisionManager();

            _navigatorManager = new NavigatorManager();
            _roomManager      = new RoomManager();
            _chatManager      = new ChatManager();
            _groupManager     = new GroupManager();
            _groupManager.Init();
            _groupForumManager  = new GroupForumManager();
            _questManager       = new QuestManager();
            _achievementManager = new AchievementManager();
            _talentManager      = new TalentManager();
            _talentManager.Initialize();
            _talentTrackManager = new TalentTrackManager();
            _landingViewManager = new LandingViewManager();
            _gameDataManager    = new GameDataManager();

            _botManager = new BotManager();

            _cacheManager  = new CacheManager();
            _rewardManager = new RewardManager();

            _badgeManager = new BadgeManager();
            _badgeManager.Init();

            // GetHallOfFame.GetInstance().Load();

            _permissionManager = new PermissionManager();
            _permissionManager.Init();

            _subscriptionManager = new SubscriptionManager();
            _subscriptionManager.Init();

            TraxSoundManager.Init();
            HabboCameraManager.Init();
            HelperToolsManager.Init();

            _figureManager = new FigureDataManager(BiosEmuThiago.GetConfig().data["game.legacy.figure_mutant"].ToString() == "1");
            _figureManager.Init();

            _crackableManager = new CrackableManager();
            _crackableManager.Initialize(BiosEmuThiago.GetDatabaseManager().GetQueryReactor());

            _furniMaticRewardsManager = new FurniMaticRewardsManager();
            _furniMaticRewardsManager.Initialize(BiosEmuThiago.GetDatabaseManager().GetQueryReactor());

            _targetedoffersManager = new TargetedOffersManager();
            _targetedoffersManager.Initialize(BiosEmuThiago.GetDatabaseManager().GetQueryReactor());
        }