// ------------------------------------------------------------------- // 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); }
// ------------------------------------------------------------------- // 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); }
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); }