internal PlayerController(MainController mainController)
        {
            this.mainController = mainController;

            this.aliasController = new AliasController(mainController);
            this.friendController = new FriendController(mainController);
            this.matchController = new MatchController(mainController);
            this.lifetimeStatController = new LifetimeStatController(mainController);
        }
        public HeroController(MainController mainController)
        {
            this.mainController = mainController;

            this.attributeController = new AttributeController(mainController);
            this.lanePresenceController = new LanePresenceController(mainController);
            this.statController = new StatController(mainController);
            this.versusController = new VersusController(mainController);
            this.abilityController = new AbilityController(mainController);

            this.mappedHeros = new List<Hero>();

            LoadAllHeroes();
        }
示例#3
0
        /// <summary>
        /// Initializes a new instance of the Dataparser class.
        /// </summary>
        public Dataparser()
        {
            VersionController versionController = new VersionController();
            JsonController jsonController = new JsonController();

            #if !DEBUG
            versionController.RefreshJsonPaths();
            #endif

            DotabuffMappingController dotabuffMappingController = new DotabuffMappingController(versionController.GetJsonPaths(ParsingWebsites.Dotabuff));
            YaspMappingController yaspMappingController = new YaspMappingController(versionController.GetJsonPaths(ParsingWebsites.Yasp));

            mainController = new MainController(dotabuffMappingController, yaspMappingController);
            healthCheck = new HealthCheck(mainController);
            exceptionController = new ExceptionController();
        }
 internal LifetimeStatController(MainController mainController)
 {
     this.mainController = mainController;
 }
 internal StatController(MainController mainController)
 {
     this.mainController = mainController;
 }
 internal FriendController(MainController mainController)
 {
     this.mainController = mainController;
 }
示例#7
0
 internal HealthCheck(MainController mainController)
 {
     this.mainController = mainController;
 }
 internal HtmlDocumentController(MainController mainController)
 {
     this.mainController = mainController;
 }
 internal LanePresenceController(MainController mainController)
 {
     this.mainController = mainController;
 }
 internal AliasController(MainController mainController)
 {
     this.mainController = mainController;
 }
 internal VersusController(MainController mainController)
 {
     this.mainController = mainController;
 }