示例#1
0
        public AbilityFactory()
        {
            // AbilityBootstrapper.ComposeParts(this);
            this.defaultSkillComposer = new DefaultSkillComposer();

            Logging.Write()(LogLevel.Info, "AbilityFactory Initialized");
        }
示例#2
0
        public void OnLoad()
        {
            this.defaultSkillComposer =
                this.SkillComposers.FirstOrDefault(x => x.Metadata.OwnerClassId == ClassId.CBaseEntity).Value;

            this.unitComposer =
                this.UnitHeroComposers.FirstOrDefault(x => x.Metadata.HeroIds.Contains(uint.MaxValue)).Value;
        }