Exemple #1
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();
        }