Ejemplo n.º 1
0
        public TT2DataService(IDownloader client, ISettingManager settings)
        {
            WebClient = client;
            Settings  = settings;

            Artifacts    = new ArtifactService(GlobalSettings, WebClient);
            Equipment    = new EquipmentService(GlobalSettings, WebClient);
            Pets         = new PetService(GlobalSettings, WebClient);
            HelperSkills = new HelperSkillService(GlobalSettings, WebClient);
            Helpers      = new HelperService(GlobalSettings, WebClient, HelperSkills);
            SkillTree    = new SkillTreeService(GlobalSettings, WebClient);
        }
Ejemplo n.º 2
0
 public Services(
     ILogService log,
     IInputService input,
     ISpritesService sprites,
     LevelService level,
     ViewService view,
     GameEntityService gameEntity
     )
 {
     this.log        = log;
     this.input      = input;
     this.sprites    = sprites;
     this.level      = level;
     this.view       = view;
     this.gameEntity = gameEntity;
 }
Ejemplo n.º 3
0
 public EquipmentListEmbedable(ICommandContext context, GameEntityService <Equipment> entityService, string groupName) : base(context, entityService)
 {
     GroupName = groupName;
 }
Ejemplo n.º 4
0
 public PetListEmbedable(ICommandContext context, GameEntityService <Pet> entityService) : base(context, entityService)
 {
 }
Ejemplo n.º 5
0
 public HelperService(Func <TT2GlobalSettings> settings, IDownloader webClient, GameEntityService <HelperSkill> helperSkills)
     : base(settings, webClient)
 {
     HelperSkills = helperSkills;
 }
Ejemplo n.º 6
0
 public SkillTreeListEmbedable(ICommandContext context, GameEntityService <Skill> entityService) : base(context, entityService)
 {
 }
Ejemplo n.º 7
0
 public ArtifactListEmbedable(ICommandContext context, GameEntityService <Artifact> entityService) : base(context, entityService)
 {
 }
Ejemplo n.º 8
0
 public HelperListEmbedable(ICommandContext context, GameEntityService <Helper> entityService, bool shouldGroup) : base(context, entityService)
 {
     ShouldGroup = shouldGroup;
 }