Пример #1
0
 public HOFComposer()
     : base(ServerPacketHeader.HOFComposer)
 {
     base.WriteString("haddoRanks");
     GetHallOfFame.getInstance().Serialize(this);
     return;
 }
Пример #2
0
        public Game()
        {
            GetHallOfFame.getInstance().Load();
            this._packetManager        = new PacketManager();
            this._rentableSpaceManager = new RentableSpaceManager();
            this._clientManager        = new GameClientManager();
            this._modManager           = new ModerationManager();

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

            this._televisionManager = new TelevisionManager();
            this._crackableManager  = new CrackableManager();
            this._crackableManager.Initialize(RavenEnvironment.GetDatabaseManager().GetQueryReactor());
            this._furniMaticRewardsManager = new FurniMaticRewardsManager();
            this._furniMaticRewardsManager.Initialize(RavenEnvironment.GetDatabaseManager().GetQueryReactor());
            this._talentManager = new TalentManager();
            this._talentManager.Initialize();

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

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

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

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

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

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

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

            this.forummanager = new GroupForumManager();

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

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

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

            HelperToolsManager.Init();

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

            this._leaderBoardDataManager = new LeaderBoardDataManager();

            this._targetedoffersManager = new TargetedOffersManager();
            this._targetedoffersManager.Initialize(RavenEnvironment.GetDatabaseManager().GetQueryReactor());

            this._nuxusergiftManager = new NuxUserGiftsManager();
            this._nuxusergiftManager.Initialize(RavenEnvironment.GetDatabaseManager().GetQueryReactor());

            this._nuxusergiftlistManager = new NuxUserGiftsListManager();
            this._nuxusergiftlistManager.Initialize(RavenEnvironment.GetDatabaseManager().GetQueryReactor());

            this._pollManager = new PollManager();
            this._pollManager.Init();
            WebSocketManager.StartListener();
        }
        public Game()
        {
            this._packetManager  = new PacketManager();
            this._clientManager  = new GameClientManager();
            this._modManager     = new ModerationManager();
            this._moderationTool = new ModerationTool();

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

            this._catalogFrontPageManager = new CatalogFrontPage();
            this._catalogManager          = new CatalogManager();
            this._catalogManager.Init(this._itemDataManager);

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

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

            this._navigatorManager   = new NavigatorManager();
            this._roomManager        = new RoomManager();
            this._chatManager        = new ChatManager();
            this._groupManager       = new GroupManager();
            this._questManager       = new QuestManager();
            this._achievementManager = new AchievementManager();
            this._talentManager      = new TalentManager();
            this._talentManager.Initialize();
            this._talentTrackManager = new TalentTrackManager();

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

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

            //this._languageLocale = new LanguageLocale();
            this._antiMutant = new AntiMutant();
            this._botManager = new BotManager();

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

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

            this.forummanager = new GroupForumManager();

            TraxSoundManager.Init(); // Added
            GetHallOfFame.getInstance().Load();

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

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

            HelperToolsManager.Init();

            this._targetedoffersManager = new TargetedOffersManager();
            this._targetedoffersManager.Initialize(QuasarEnvironment.GetDatabaseManager().GetQueryReactor());

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