Exemplo n.º 1
0
        // -------------------------------------------------------------------
        // Protected
        // -------------------------------------------------------------------
        protected override void DoBuild(GameDataBuildContext context)
        {
            base.DoBuild(context);

            var runtime = new RuntimeTagData
            {
                Type         = this.Type,
                IsVisibleTag = this.IsVisibleTag
            };

            this.BuildBase(context, runtime);

            context.AddBuildResult(runtime);
        }
        // -------------------------------------------------------------------
        // Protected
        // -------------------------------------------------------------------
        protected override void DoBuild(GameDataBuildContext context)
        {
            base.DoBuild(context);

            var runtime = new RuntimeFactionData
            {
                InternalType = this.InternalType,
                AvailableInCharacterCreation = this.AvailableInCharacterCreation
            };

            this.BuildBase(context, runtime);

            context.AddBuildResult(runtime);
        }
Exemplo n.º 3
0
        // -------------------------------------------------------------------
        // Protected
        // -------------------------------------------------------------------
        protected override void DoBuild(GameDataBuildContext context)
        {
            base.DoBuild(context);

            var runtime = new RuntimeClassData
            {
                InternalType = this.InternalType,
                AvailableInCharacterCreation = this.AvailableInCharacterCreation,
                Factions = context.BuildGameDataIds(this, this.Factions),
                Races    = context.BuildGameDataIds(this, this.Races)
            };

            this.BuildBase(context, runtime);

            context.AddBuildResult(runtime);
        }
Exemplo n.º 4
0
        protected override void DoBuild(GameDataBuildContext context)
        {
            base.DoBuild(context);

            var runtime = new RuntimeRarityData
            {
                ColorValues        = this.Color.ToArray(),
                MinLevel           = this.MinLevel,
                Rarity             = this.Rarity,
                CanDrop            = this.CanDrop,
                DropRarityValue    = this.CanDrop ? this.DropRarityValue : 0,
                CanBuyFromVendor   = this.CanBuyFromVendor,
                BuyRarityValue     = this.CanBuyFromVendor ? this.BuyRarityValue : 0,
                CurrencyMultiplier = this.CurrencyMultiplier
            };

            this.BuildBase(context, runtime);

            context.AddBuildResult(runtime);
        }