public void RegisterSystemsAndTemplates()
 {
     this.RegisterSystems();
     TemplateRegistry.Register <BattleChatHUDTemplate>();
     TemplateRegistry.Register <CombatLogMessagesTemplate>();
     TemplateRegistry.Register <HUDWorldSpaceCanvasTemplate>();
     TemplateRegistry.Register <DMBattleScreenTemplate>();
     TemplateRegistry.Register <PauseServiceMessageTemplate>();
     TemplateRegistry.Register <SelfDestructionServiceMessageTemplate>();
     TemplateRegistry.Register <UpsideDownServiceMessageTemplate>();
     TemplateRegistry.Register <AutokickServiceMessageTemplate>();
     TemplateRegistry.Register <UserNotificatorHUDTemplate>();
     TemplateRegistry.Register <UserNotificatorRankNamesTemplate>();
     TemplateRegistry.RegisterPart <EffectHUDTemplate>();
 }
 private void RegisterTemplates()
 {
     TemplateRegistry.Register(typeof(CameraTemplate));
     TemplateRegistry.Register(typeof(QualitySettingsTemplate));
     TemplateRegistry.RegisterPart <DiscreteWeaponCameraShakerTemplatePart>();
     TemplateRegistry.RegisterPart <ShaftCameraShakerTemplatePart>();
     TemplateRegistry.RegisterPart <VulcanCameraShakerTemplatePart>();
     TemplateRegistry.RegisterPart <SpiderMineCameraShakerTemplatePart>();
     TemplateRegistry.RegisterPart <MineCameraShakerTemplatePart>();
     TemplateRegistry.RegisterPart <HammerHitFeedbackSoundsTemplatePart>();
     TemplateRegistry.RegisterPart <RailgunHitFeedbackSoundsTemplatePart>();
     TemplateRegistry.RegisterPart <RicochetHitFeedbackSoundsTemplatePart>();
     TemplateRegistry.RegisterPart <ShaftHitFeedbackSoundsTemplatePart>();
     TemplateRegistry.RegisterPart <SmokyHitFeedbackSoundsTemplatePart>();
     TemplateRegistry.RegisterPart <ThunderHitFeedbackSoundsTemplatePart>();
 }
Exemple #3
0
 public void RegisterSystemsAndTemplates()
 {
     TemplateRegistry.Register <DailyBonusConfigTemplate>();
     TemplateRegistry.RegisterPart <ClientSessionTemplatePart>();
     TemplateRegistry.Register <ProfileScreenTemplate>();
     TemplateRegistry.Register <UserTemplate>();
     TemplateRegistry.RegisterPart <UserNotificationsTemplatePart>();
     TemplateRegistry.Register <NewsItemTemplate>();
     TemplateRegistry.Register <ConfiguredNewsItemTemplate>();
     TemplateRegistry.Register <EmailConfirmationNotificationTemplate>();
     TemplateRegistry.Register <SimpleTextNotificationTemplate>();
     TemplateRegistry.Register <EmailConfigTemplate>();
     TemplateRegistry.Register <LeagueTemplate>();
     TemplateRegistry.Register <LeaguesConfigTemplate>();
     ECSBehaviour.EngineService.RegisterSystem(new LoadUsersSystem());
     ECSBehaviour.EngineService.RegisterSystem(new UserLabelSystem());
     ECSBehaviour.EngineService.RegisterSystem(new UserLabelLoadSystem());
     ECSBehaviour.EngineService.RegisterSystem(new RankIconSystem());
     ECSBehaviour.EngineService.RegisterSystem(new UserLabelUidSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ClientLocaleSystem());
     ECSBehaviour.EngineService.RegisterSystem(new NotificationSystem());
     ECSBehaviour.EngineService.RegisterSystem(new EmailInputValidationSystem());
     ECSBehaviour.EngineService.RegisterSystem(new JoinScreenElementToUserSystem());
     ECSBehaviour.EngineService.RegisterSystem(new RankNameSystem());
     ECSBehaviour.EngineService.RegisterSystem(new UserExperienceIndicatorSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ProfileScreenNavigationSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ProfileScreenLoadSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ProfileScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ChangeUserEmailScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ConfirmUserEmailScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new EmailConfirmationNotificationSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ViewUserEmailScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new EnterUserEmailScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new EnterConfirmationCodeScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new EnterNewPasswordScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new HelpButtonSystem());
     ECSBehaviour.EngineService.RegisterSystem(new NewsSystem());
     ECSBehaviour.EngineService.RegisterSystem(new LeaguesSystem());
     ECSBehaviour.EngineService.RegisterSystem(new TopLeagueInfoSystem());
     TemplateRegistry.RegisterPart <UserLeagueTemplatePart>();
     TemplateRegistry.RegisterPart <GameplayChestUserTemplatePart>();
     TemplateRegistry.Register <FractionTemplate>();
     TemplateRegistry.Register <FractionsCompetitionTemplate>();
     ECSBehaviour.EngineService.RegisterSystem(new FractionsCompetitionSystem());
     ECSBehaviour.EngineService.RegisterSystem(new FractionsCompetitionUiSystem());
 }
 public void RegisterSystemsAndTemplates()
 {
     ECSBehaviour.EngineService.RegisterSystem(new GameSettingsScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new SoundSettingsScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new SoundSettingsSystem());
     ECSBehaviour.EngineService.RegisterSystem(new SfxVolumeSliderBarSystem());
     ECSBehaviour.EngineService.RegisterSystem(new TanksSettingsSystem());
     ECSBehaviour.EngineService.RegisterSystem(new CameraShakerSettingsSystem());
     ECSBehaviour.EngineService.RegisterSystem(new TargetFocusSettingsSystem());
     ECSBehaviour.EngineService.RegisterSystem(new LaserSightSettingsSystem());
     ECSBehaviour.EngineService.RegisterSystem(new UserXCrystalsIndicatorSystem());
     ECSBehaviour.EngineService.RegisterSystem(new MouseSettingsSystem());
     ECSBehaviour.EngineService.RegisterSystem(new CBQAchievementSystem());
     TemplateRegistry.RegisterPart <TanksSettingsTemplatePart>();
     TemplateRegistry.RegisterPart <MouseSettingsTemplatePart>();
     TemplateRegistry.RegisterPart <GameCameraShakerSettingsTemplatePart>();
     TemplateRegistry.RegisterPart <TargetFocusSettingsTemplatePart>();
     ECSBehaviour.EngineService.RegisterSystem(new CrystalsBufferSystem());
 }
 public void RegisterSystemsAndTemplates()
 {
     ECSBehaviour.EngineService.RegisterSystem(new SelectLocaleScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new ScreenResolutionSettingsCarouselBuilderSystem());
     ECSBehaviour.EngineService.RegisterSystem(new GraphicsSettingsScreenSystem());
     ECSBehaviour.EngineService.RegisterSystem(new GraphicsSettingsBuilderSystem());
     ECSBehaviour.EngineService.RegisterSystem(new PostProcessingQualitySystem());
     TemplateRegistry.Register <SettingsTemplate>();
     TemplateRegistry.Register <QualitySettingsVariantTemplate>();
     TemplateRegistry.Register <ScreenResolutionVariantTemplate>();
     TemplateRegistry.Register <WindowModesTemplate>();
     TemplateRegistry.Register <SaturationLevelVariantTemplate>();
     TemplateRegistry.Register <AnisotropicQualityVariantTemplate>();
     TemplateRegistry.Register <AntialiasingQualityVariantTemplate>();
     TemplateRegistry.Register <RenderResolutionQualityVariantTemplate>();
     TemplateRegistry.Register <ShadowQualityVariantTemplate>();
     TemplateRegistry.Register <ParticleQualityVariantTemplate>();
     TemplateRegistry.Register <TextureQualityVariantTemplate>();
     TemplateRegistry.Register <GraphicsSettingsBuilderTemplate>();
     TemplateRegistry.Register <SaturationLevelSettingsBuilderTemplate>();
     TemplateRegistry.Register <AnisotropicQualitySettingsBuilderTemplate>();
     TemplateRegistry.Register <AntialiasingQualitySettingsBuilderTemplate>();
     TemplateRegistry.Register <RenderResolutionQualitySettingsBuilderTemplate>();
     TemplateRegistry.Register <CartridgeCaseSettingVariantTemplate>();
     TemplateRegistry.Register <CartridgeCaseAmountSettingBuilderTemplate>();
     TemplateRegistry.Register <VSyncSettingVariantTemplate>();
     TemplateRegistry.Register <VSyncSettingBuilderTemplate>();
     TemplateRegistry.Register <ShadowQualitySettingsBuilderTemplate>();
     TemplateRegistry.Register <ParticleQualitySettingsBuilderTemplate>();
     TemplateRegistry.Register <TextureQualitySettingsBuilderTemplate>();
     TemplateRegistry.Register <GrassSettingsTemplate>();
     TemplateRegistry.Register <VegetationSettingsTemplate>();
     TemplateRegistry.Register <VegetationSettingsBuilderTemplate>();
     TemplateRegistry.Register <GrassSettingsBuilderTemplate>();
     TemplateRegistry.RegisterPart <CartridgeCaseSettingTemplatePart>();
     TemplateRegistry.RegisterPart <VSyncSettingTemplatePart>();
     TemplateRegistry.RegisterPart <PostProcessingQualityVariantTemplatePart>();
 }
Exemple #6
0
        public void RegisterSystemsAndTemplates()
        {
            TemplateRegistry.RegisterPart <BattleTemplatePart>();
            TemplateRegistry.Register <BattleSelectTemplate>();
            TemplateRegistry.Register <BattleSelectScreenTemplate>();
            TemplateRegistry.Register <BattleLobbyTemplate>();
            TemplateRegistry.Register <CustomBattleLobbyTemplate>();
            TemplateRegistry.Register <BattleLobbyChatTemplate>();
            TemplateRegistry.Register <SquadTemplate>();
            TemplateRegistry.Register <BattleResultRewardTemplate>();
            TemplateRegistry.Register <XCrystalBattleRewardTemplate>();
            TemplateRegistry.Register <ModuleContainerBattleRewardTemplate>();
            TemplateRegistry.Register <LeagueFirstEntranceRewardTemplate>();
            TemplateRegistry.Register <TutorialBattleRewardTemplate>();
            TemplateRegistry.Register <LevelUpUnlockBattleRewardTemplate>();
            TemplateRegistry.Register <PersonalBattleRewardTemplate>();
            TemplateRegistry.Register <XCrystalBonusPersonalBattleRewardTemplate>();
            ECSBehaviour.EngineService.RegisterSystem(new BattleSelectSystem());
            ECSBehaviour.EngineService.RegisterSystem(new UserReadyToBattleSystem());
            ECSBehaviour.EngineService.RegisterSystem(new CreateCustomBattleSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleLobbyScreenSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleLobbyChatSystem());
            ECSBehaviour.EngineService.RegisterSystem(new InviteToLobbySystem());
            ECSBehaviour.EngineService.RegisterSystem(new ConnectToLobbyUiSystem());
            ECSBehaviour.EngineService.RegisterSystem(new CommonScoreTableSystem());
            ECSBehaviour.EngineService.RegisterSystem(new DMScoreTableSystem());
            ECSBehaviour.EngineService.RegisterSystem(new TeamScoreTableSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableEmptyRowsSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableUserLabelIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableDeathsIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableKillsIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableScoreIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableEmptyRowIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ShowIndicatorOnRoundRestartSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableHullIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableTurretIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTableFlagIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ScoreTablePingIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new RoundUserEquipmentSystem());
            ECSBehaviour.EngineService.RegisterSystem(new JoinToSelectedBattleSystem());
            ECSBehaviour.EngineService.RegisterSystem(new JoinToScreenBattleSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleTimeIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleScoreLimitIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new TeamBattleScoreIndicatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleInfoSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleInfoEntranceSystem());
            ECSBehaviour.EngineService.RegisterSystem(new EnterAsSpectatorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleDetailsSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleInfoTeamViewSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleDetailsDMSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleDetailsTDMSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleSelectLoadSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleSelectInviteFriendsScreenSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleSelectInviteFriendsListSystem());
            ECSBehaviour.EngineService.RegisterSystem(new InviteFriendToBattleNotificationSystem());
            TemplateRegistry.Register <InviteFriendToBattleNotificationTemplate>();
            ECSBehaviour.EngineService.RegisterSystem(new ReturnToBattleSystem());
            ECSBehaviour.EngineService.RegisterSystem(new MatchLobbyGUISystem());
            ECSBehaviour.EngineService.RegisterSystem(new MatchLobbySoundSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ECSDumperSystem());
            ECSBehaviour.EngineService.RegisterSystem(new UserInteractionsSystem());
            ECSBehaviour.EngineService.RegisterSystem(new SquadInfoSystem());
            ECSBehaviour.EngineService.RegisterSystem(new SquadSystem());
            ECSBehaviour.EngineService.RegisterSystem(new InviteToSquadSystem());
            ECSBehaviour.EngineService.RegisterSystem(new RequestToSquadSystem());
            ECSBehaviour.EngineService.RegisterSystem(new SquadInteractionSystem());
            ECSBehaviour.EngineService.RegisterSystem(new LeaveSquadSystem());
            ECSBehaviour.EngineService.RegisterSystem(new SquadColorSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleResultCommonScreenSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleResultAwardsScreenSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleResultStatScreenSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleSeriesUiSystem());
            ECSBehaviour.EngineService.RegisterSystem(new XCrystalBonusRewardsSystem());
            ECSBehaviour.EngineService.RegisterSystem(new ModuleContainerRewardSystem());
            ECSBehaviour.EngineService.RegisterSystem(new LevelUpUnlockRewardSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleCoverSystem());
            ECSBehaviour.EngineService.RegisterSystem(new BattleResultsScreenSystem());
            ECSBehaviour.EngineService.RegisterSystem(new SpecialOfferUiSystem());
            MapRegistrySystem system = new MapRegistrySystem();

            ECSBehaviour.EngineService.RegisterSystem(system);
            ServiceRegistry.Current.RegisterService <MapRegistry>(system);
        }