Show / Hide Table of Contents

Class BaseAchievementDataConfigurator<T, TBuilder>

Implements common fields and components for blueprints inheriting from Kingmaker.Achievements.Blueprints.AchievementData.

Inheritance
System.Object
Configurator
RootConfigurator<T, TBuilder>
BaseBlueprintConfigurator<T, TBuilder>
BaseAchievementDataConfigurator<T, TBuilder>
AchievementDataConfigurator
Inherited Members
BaseBlueprintConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Type[])
BaseBlueprintConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Predicate<BlueprintComponent>)
BaseBlueprintConfigurator<T, TBuilder>.AddDlcCondition(Blueprint<BlueprintDlcRewardReference>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddBuffOnCorruptionClear(Blueprint<BlueprintBuffReference>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
BaseBlueprintConfigurator<T, TBuilder>.AddIgnoreArmorGroupComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddPrerequisiteConditionForWeaponCategory(Condition, List<WeaponCategory>)
BaseBlueprintConfigurator<T, TBuilder>.AddDamageDecline(Nullable<DamageDeclineType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddPlayerLeaveCombatTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddTimerContextActions(ActionsBuilder, Nullable<Single>, Nullable<TimeSpan>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddCustomImmuneMessageComponent(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, GameLogMessage)
BaseBlueprintConfigurator<T, TBuilder>.AddInitiatorAttackRollTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>)
BaseBlueprintConfigurator<T, TBuilder>.AddInitiatorAttackWithWeaponTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<PhysicalDamageForm>, Nullable<Boolean>, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintItemWeaponReference>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTargetAttackRollTrigger(ActionsBuilder, ActionsBuilder, Nullable<Boolean>, WeaponCategory[], Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddTargetBeforeAttackRollTrigger(ActionsBuilder, ActionsBuilder, Nullable<Boolean>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<Boolean>, Nullable<SpellDescriptorWrapper>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalDiceOnAttack(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<AdditionalDiceOnAttack.WeaponOptions>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, List<AdditionalDiceOnAttack.DamageEntry>, DamageTypeDescription, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, ConditionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>, ContextDiceValue, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalDiceOnDamage(List<Blueprint<BlueprintAbilityReference>>, Nullable<AbilityType>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<CompareOperation.Type>, List<AdditionalDiceOnDamage.DamageEntry>, Nullable<AdditionalDiceOnDamage.DamageEntriesUse>, DamageTypeDescription, ContextDiceValue, Nullable<DamageEnergyType>, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<SpellDescriptorWrapper>, ConditionsBuilder, Nullable<Boolean>, ContextValue, Nullable<Boolean>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AdditionalStatBonusOnAttackDamage(Nullable<Single>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConditionEnum>, Nullable<ConditionEnum>, Nullable<GripType>)
BaseBlueprintConfigurator<T, TBuilder>.AddAllAttacksEnhancement(Nullable<Int32>, Nullable<ModifierDescriptor>)
BaseBlueprintConfigurator<T, TBuilder>.AddRuleCalculateDamageWithWeaponTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponCategory>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<PhysicalDamageForm>, Nullable<Boolean>, Nullable<Feet>, Nullable<Boolean>, Nullable<WeaponFighterGroup>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<WeaponRangeType>, Nullable<Boolean>, Nullable<Boolean>, Blueprint<BlueprintItemWeaponReference>, Blueprint<BlueprintWeaponTypeReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddMarkUsableWhileCan(ConditionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddArmyBattleResultsTrigger(Nullable<RegionId>, Blueprint<BlueprintArmyLeaderReference>, List<Blueprint<BlueprintArmyPresetReference>>, Nullable<ArmyType>, Nullable<Boolean>, ActionsBuilder, ActionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddKingdomRegionClaimedTrigger(ActionsBuilder, List<Blueprint<BlueprintRegionReference>>)
BaseBlueprintConfigurator<T, TBuilder>.AddSettlementSiegeTrigger(ActionsBuilder, ActionsBuilder, ActionsBuilder, Blueprint<BlueprintGlobalMapPointReference>, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddArmyUnitRecruitedTrigger(ActionsBuilder, Nullable<ArmyProperties>, List<Blueprint<BlueprintUnitReference>>, Nullable<Boolean>, Nullable<Boolean>, Nullable<MercenariesIncludeOption>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
BaseBlueprintConfigurator<T, TBuilder>.AddLeaderRecruitedTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddSummonUnitsAfterArmyBattle(SummonUnitsAfterArmyBattle.SummonGroup[], Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddGarrisonDefeatedTrigger(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)
BaseBlueprintConfigurator<T, TBuilder>.AddPlayerVisitGlobalMapLocationTrigger(ActionsBuilder, Blueprint<BlueprintGlobalMapPoint.Reference>)
BaseBlueprintConfigurator<T, TBuilder>.AddOnIsleStateEnterTrigger(ActionsBuilder, IsleEvaluator, String)
BaseBlueprintConfigurator<T, TBuilder>.AddOnIsleStateExitTrigger(ActionsBuilder, IsleEvaluator, String)
BaseBlueprintConfigurator<T, TBuilder>.AddActivateTrigger(ActionsBuilder, Nullable<Boolean>, ConditionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddAreaDidLoadTrigger(ActionsBuilder, ConditionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddDeactivateTrigger(ActionsBuilder, ConditionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddDeviceInteractionTrigger(ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitCombatTrigger(ActionsBuilder, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitDeathTrigger(ActionsBuilder, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddEvaluatedUnitHealthTrigger(ActionsBuilder, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddExperienceTrigger(ActionsBuilder, ConditionsBuilder, Nullable<Int32>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddGenericInteractionTrigger(ActionsBuilder, EntityReference, ActionsBuilder, Nullable<Boolean>)
BaseBlueprintConfigurator<T, TBuilder>.AddItemInContainerTrigger(Blueprint<BlueprintItemReference>, MapObjectEvaluator, ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddLevelUpTrigger(ActionsBuilder, ConditionsBuilder, UnitEvaluator, Nullable<LevelUpTrigger.UnitEntryType>)
BaseBlueprintConfigurator<T, TBuilder>.AddPartyInventoryTrigger(Blueprint<BlueprintItemReference>, ActionsBuilder, ActionsBuilder)
BaseBlueprintConfigurator<T, TBuilder>.AddPerceptionTrigger(MapObjectEvaluator, ActionsBuilder, UnitEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddRestTrigger(ActionsBuilder, ConditionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Boolean>, Nullable<RestResult>)
BaseBlueprintConfigurator<T, TBuilder>.AddScriptZoneTrigger(ActionsBuilder, ConditionsBuilder, ActionsBuilder, ConditionsBuilder, EntityReference, String)
BaseBlueprintConfigurator<T, TBuilder>.AddSpawnUnitTrigger(ActionsBuilder, Blueprint<BlueprintUnitReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddSpellCastTrigger(ActionsBuilder, EntityReference, List<Blueprint<BlueprintAbilityReference>>)
BaseBlueprintConfigurator<T, TBuilder>.AddSummonPoolTrigger(ActionsBuilder, Nullable<SummonPoolTrigger.ChangeTypes>, ConditionsBuilder, Nullable<Int32>, Blueprint<BlueprintSummonPoolReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTimeOfDayChangedTrigger(ActionsBuilder, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddUIEventTrigger(ActionsBuilder, ConditionsBuilder, Nullable<UIEventType>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge)
BaseBlueprintConfigurator<T, TBuilder>.AddUnitHealthTrigger(ActionsBuilder, Nullable<Int32>, Blueprint<BlueprintUnitReference>)
BaseBlueprintConfigurator<T, TBuilder>.AddTrapTrigger(Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, ActionsBuilder, ActionsBuilder, MapObjectEvaluator)
BaseBlueprintConfigurator<T, TBuilder>.AddVendorDealTrigger(ActionsBuilder, Nullable<VendorDealTrigger.DealType>, Blueprint<BlueprintItemReference>, UnitEvaluator)
RootConfigurator<T, TBuilder>.Logger
RootConfigurator<T, TBuilder>.Self
RootConfigurator<T, TBuilder>.Blueprint
RootConfigurator<T, TBuilder>.Configured
RootConfigurator<T, TBuilder>.ConfigureDelayedBlueprints()
RootConfigurator<T, TBuilder>.Configure(Boolean)
RootConfigurator<T, TBuilder>.AddComponent(BlueprintComponent)
RootConfigurator<T, TBuilder>.AddComponent<C>(Action<C>)
RootConfigurator<T, TBuilder>.AddUniqueComponent(BlueprintComponent, ComponentMerge, Action<BlueprintComponent, BlueprintComponent>)
RootConfigurator<T, TBuilder>.EditComponent<C>(Action<C>)
RootConfigurator<T, TBuilder>.EditComponents<C>(Action<C>, Func<C, Boolean>)
RootConfigurator<T, TBuilder>.RemoveComponents(Func<BlueprintComponent, Boolean>)
RootConfigurator<T, TBuilder>.OnConfigure(Action<T>[])
RootConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Type[])
RootConfigurator<T, TBuilder>.CopyFrom(Blueprint<BlueprintReference<BlueprintScriptableObject>>, Predicate<BlueprintComponent>)
RootConfigurator<T, TBuilder>.OnConfigureInternal(Action<T>[])
RootConfigurator<T, TBuilder>.OnConfigureCompleted()
RootConfigurator<T, TBuilder>.Validate(Object)
Namespace: BlueprintCore.Blueprints.Configurators.Achievements
Assembly: BlueprintCore.dll
Syntax
public abstract class BaseAchievementDataConfigurator<T, TBuilder> : BaseBlueprintConfigurator<T, TBuilder> where T : AchievementData where TBuilder : BaseAchievementDataConfigurator<T, TBuilder>
Type Parameters
Name Description
T
TBuilder
Remarks

Each supported blueprint type has a corresponding Configurator class to create and modify blueprints of that type, e.g. FeatureConfigurator supports BlueprintFeature. Configurators exist for all blueprint types inheriting from Kingmaker.Blueprints.BlueprintScriptableObject, excluding any that are not used in the base game.

Creating a Blueprint

Use New(string, string) to create a blueprint:

FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid)

Once New() is called the blueprint is added to the game library and can be referenced.

Using the Configurator

New() returns a configurator with methods to set or modify blueprint fields and add or modify Kingmaker.Blueprints.BlueprintComponent:

FeatureConfigurator.New(MyBlueprintName, MyBlueprintGuid).AddToGroups(FeatureGroup.Feat).AddPrerequisiteAlignment(AlignmentMaskType.LawfulGood).Configure();

Each method call returns the configurator allowing you to chain calls. Nothing is modified on the blueprint until Configure() is called, at which point the changes are applied and validated. Potential problems with the blueprint are logged as warnings.

Modifying an Existing Blueprint

Use For(Blueprint) to modify existing blueprints:

CharacterClassConfigurator.For(WizardClassGuid)

Usage is otherwise identical to creating a new blueprint.

For more information see Using BlueprintCore.

Constructors

| Improve this Doc View Source

BaseAchievementDataConfigurator(Blueprint<BlueprintReference<T>>)

Declaration
protected BaseAchievementDataConfigurator(Blueprint<BlueprintReference<T>> blueprint)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<T>> blueprint

Methods

| Improve this Doc View Source

AddToEtudes(AchievementData.EtudesPack[])

Adds to the contents of Kingmaker.Achievements.Blueprints.AchievementData.Etudes

Declaration
public TBuilder AddToEtudes(params AchievementData.EtudesPack[] etudes)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.EtudesPack[] etudes
Returns
Type Description
TBuilder
| Improve this Doc View Source

AddToFlags(AchievementData.UnlockableFlagsPack[])

Adds to the contents of Kingmaker.Achievements.Blueprints.AchievementData.Flags

Declaration
public TBuilder AddToFlags(params AchievementData.UnlockableFlagsPack[] flags)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.UnlockableFlagsPack[] flags
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearEtudes()

Removes all elements from Kingmaker.Achievements.Blueprints.AchievementData.Etudes

Declaration
public TBuilder ClearEtudes()
Returns
Type Description
TBuilder
| Improve this Doc View Source

ClearFlags()

Removes all elements from Kingmaker.Achievements.Blueprints.AchievementData.Flags

Declaration
public TBuilder ClearFlags()
Returns
Type Description
TBuilder
| Improve this Doc View Source

CopyFrom(Blueprint<BlueprintReference<AchievementData>>, Predicate<BlueprintComponent>)

Copies fields and components of the specified types from the blueprint.

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<AchievementData>> blueprint, Predicate<BlueprintComponent> componentMatcher)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Achievements.Blueprints.AchievementData>> blueprint
System.Predicate<Kingmaker.Blueprints.BlueprintComponent> componentMatcher

Any components in blueprint matching the predicate are copied. These are shallow copies that are shared by both blueprints.

Returns
Type Description
TBuilder
Remarks

NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.

Recommended when you need to create a nearly identical ability but change some parts such as a ContextRankConfig.

// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
  .CopyFrom(
    AbilityRefs.BloodlineUndeadIncorporealFormAbility,
    typeof(AbilityEffectRunAction),
    typeof(AbilityResourceLogic),
    typeof(SpellComponent))
  .AddContextRankConfig(ContextRankConfigs.CharacterLevel())
  .Configure();
| Improve this Doc View Source

CopyFrom(Blueprint<BlueprintReference<AchievementData>>, Type[])

Copies fields and components of the specified types from the blueprint.

Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<AchievementData>> blueprint, params Type[] componentTypes)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Achievements.Blueprints.AchievementData>> blueprint
System.Type[] componentTypes

Any components in blueprint of the listed types are copied. These are shallow copies that are shared by both blueprints.

Returns
Type Description
TBuilder
Remarks

NOT A DEEP COPY. This means objects copied are shared between blueprints. Changes to copied objects affect both blueprints.

Recommended when you need to create a nearly identical ability but change some parts such as a ContextRankConfig.

// Copy the Undead Bloodline's Incorporeal Form ability, replacing the duration w/ Character Level rounds
AbilityConfigurator.New(NewIncorporealForm, Guids.NewIncorporealForm)
  .CopyFrom(
    AbilityRefs.BloodlineUndeadIncorporealFormAbility,
    typeof(AbilityEffectRunAction),
    typeof(AbilityResourceLogic),
    typeof(SpellComponent))
  .AddContextRankConfig(ContextRankConfigs.CharacterLevel())
  .Configure();
| Improve this Doc View Source

ModifyAchievementName(Action<String>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.AchievementName by invoking the provided action.

Declaration
public TBuilder ModifyAchievementName(Action<string> action)
Parameters
Type Name Description
System.Action<System.String> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyEpic(Action<AchievementData.PlatformSettingsEpic>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.Epic by invoking the provided action.

Declaration
public TBuilder ModifyEpic(Action<AchievementData.PlatformSettingsEpic> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsEpic> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyEtudes(Action<AchievementData.EtudesPack>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.Etudes by invoking the provided action on each element.

Declaration
public TBuilder ModifyEtudes(Action<AchievementData.EtudesPack> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.EtudesPack> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyFinishGameFlag(Action<BlueprintUnlockableFlagReference>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.m_FinishGameFlag by invoking the provided action.

Declaration
public TBuilder ModifyFinishGameFlag(Action<BlueprintUnlockableFlagReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintUnlockableFlagReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyFlags(Action<AchievementData.UnlockableFlagsPack>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.Flags by invoking the provided action on each element.

Declaration
public TBuilder ModifyFlags(Action<AchievementData.UnlockableFlagsPack> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.UnlockableFlagsPack> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyGOG(Action<AchievementData.PlatformSettingsGOG>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.GOG by invoking the provided action.

Declaration
public TBuilder ModifyGOG(Action<AchievementData.PlatformSettingsGOG> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsGOG> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyGroup(Action<AchievementGroupDataReference>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.m_Group by invoking the provided action.

Declaration
public TBuilder ModifyGroup(Action<AchievementGroupDataReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.AchievementGroupDataReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyLockedIcon(Action<Texture2D>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.m_LockedIcon by invoking the provided action.

Declaration
public TBuilder ModifyLockedIcon(Action<Texture2D> action)
Parameters
Type Name Description
System.Action<UnityEngine.Texture2D> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyMinDifficulty(Action<DifficultyPresetAsset>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.MinDifficulty by invoking the provided action.

Declaration
public TBuilder ModifyMinDifficulty(Action<DifficultyPresetAsset> action)
Parameters
Type Name Description
System.Action<Kingmaker.Settings.Difficulty.DifficultyPresetAsset> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyPS4(Action<AchievementData.PlatformSettingsPS4>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.PS4 by invoking the provided action.

Declaration
public TBuilder ModifyPS4(Action<AchievementData.PlatformSettingsPS4> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsPS4> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyPS5(Action<AchievementData.PlatformSettingsPS5>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.PS5 by invoking the provided action.

Declaration
public TBuilder ModifyPS5(Action<AchievementData.PlatformSettingsPS5> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsPS5> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifySpecificCampaign(Action<BlueprintCampaignReference>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.SpecificCampaign by invoking the provided action.

Declaration
public TBuilder ModifySpecificCampaign(Action<BlueprintCampaignReference> action)
Parameters
Type Name Description
System.Action<Kingmaker.Blueprints.BlueprintCampaignReference> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifySteam(Action<AchievementData.PlatformSettingsSteam>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.Steam by invoking the provided action.

Declaration
public TBuilder ModifySteam(Action<AchievementData.PlatformSettingsSteam> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsSteam> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyUnlockedIcon(Action<Texture2D>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.m_UnlockedIcon by invoking the provided action.

Declaration
public TBuilder ModifyUnlockedIcon(Action<Texture2D> action)
Parameters
Type Name Description
System.Action<UnityEngine.Texture2D> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

ModifyXBoxOne(Action<AchievementData.PlatformSettingsXBoxOne>)

Modifies Kingmaker.Achievements.Blueprints.AchievementData.XBoxOne by invoking the provided action.

Declaration
public TBuilder ModifyXBoxOne(Action<AchievementData.PlatformSettingsXBoxOne> action)
Parameters
Type Name Description
System.Action<Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsXBoxOne> action
Returns
Type Description
TBuilder
| Improve this Doc View Source

OnConfigureCompleted()

Declaration
protected override void OnConfigureCompleted()
Overrides
BlueprintCore.Blueprints.CustomConfigurators.RootConfigurator<T, TBuilder>.OnConfigureCompleted()
| Improve this Doc View Source

RemoveFromEtudes(AchievementData.EtudesPack[])

Removes elements from Kingmaker.Achievements.Blueprints.AchievementData.Etudes

Declaration
public TBuilder RemoveFromEtudes(params AchievementData.EtudesPack[] etudes)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.EtudesPack[] etudes
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromEtudes(Func<AchievementData.EtudesPack, Boolean>)

Removes elements from Kingmaker.Achievements.Blueprints.AchievementData.Etudes that match the provided predicate.

Declaration
public TBuilder RemoveFromEtudes(Func<AchievementData.EtudesPack, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Achievements.Blueprints.AchievementData.EtudesPack, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromFlags(AchievementData.UnlockableFlagsPack[])

Removes elements from Kingmaker.Achievements.Blueprints.AchievementData.Flags

Declaration
public TBuilder RemoveFromFlags(params AchievementData.UnlockableFlagsPack[] flags)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.UnlockableFlagsPack[] flags
Returns
Type Description
TBuilder
| Improve this Doc View Source

RemoveFromFlags(Func<AchievementData.UnlockableFlagsPack, Boolean>)

Removes elements from Kingmaker.Achievements.Blueprints.AchievementData.Flags that match the provided predicate.

Declaration
public TBuilder RemoveFromFlags(Func<AchievementData.UnlockableFlagsPack, bool> predicate)
Parameters
Type Name Description
System.Func<Kingmaker.Achievements.Blueprints.AchievementData.UnlockableFlagsPack, System.Boolean> predicate
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetAchievementName(String)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.AchievementName

Declaration
public TBuilder SetAchievementName(string achievementName)
Parameters
Type Name Description
System.String achievementName
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetEpic(AchievementData.PlatformSettingsEpic)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.Epic

Declaration
public TBuilder SetEpic(AchievementData.PlatformSettingsEpic epic)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsEpic epic
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetEtudes(AchievementData.EtudesPack[])

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.Etudes

Declaration
public TBuilder SetEtudes(params AchievementData.EtudesPack[] etudes)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.EtudesPack[] etudes
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetEventsCountForUnlock(Int32)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.EventsCountForUnlock

Declaration
public TBuilder SetEventsCountForUnlock(int eventsCountForUnlock)
Parameters
Type Name Description
System.Int32 eventsCountForUnlock
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetFinishGameFlag(Blueprint<BlueprintUnlockableFlagReference>)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.m_FinishGameFlag

Declaration
public TBuilder SetFinishGameFlag(Blueprint<BlueprintUnlockableFlagReference> finishGameFlag)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnlockableFlagReference> finishGameFlag

Blueprint of type BlueprintUnlockableFlag. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetFlags(AchievementData.UnlockableFlagsPack[])

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.Flags

Declaration
public TBuilder SetFlags(params AchievementData.UnlockableFlagsPack[] flags)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.UnlockableFlagsPack[] flags
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetGOG(AchievementData.PlatformSettingsGOG)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.GOG

Declaration
public TBuilder SetGOG(AchievementData.PlatformSettingsGOG gOG)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsGOG gOG
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetGroup(Blueprint<AchievementGroupDataReference>)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.m_Group

Declaration
public TBuilder SetGroup(Blueprint<AchievementGroupDataReference> group)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.AchievementGroupDataReference> group

Blueprint of type AchievementGroupData. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetHidden(Boolean)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.Hidden

Declaration
public TBuilder SetHidden(bool hidden = true)
Parameters
Type Name Description
System.Boolean hidden
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetIronMan(Boolean)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.IronMan

Declaration
public TBuilder SetIronMan(bool ironMan = true)
Parameters
Type Name Description
System.Boolean ironMan
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetLockedIcon(Asset<Texture2D>)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.m_LockedIcon

Declaration
public TBuilder SetLockedIcon(Asset<Texture2D> lockedIcon)
Parameters
Type Name Description
Asset<UnityEngine.Texture2D> lockedIcon

You can pass in the animation using a Texture2D or it's AssetId.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetMinCrusadeDifficulty(KingdomDifficulty)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.MinCrusadeDifficulty

Declaration
public TBuilder SetMinCrusadeDifficulty(KingdomDifficulty minCrusadeDifficulty)
Parameters
Type Name Description
Kingmaker.Settings.KingdomDifficulty minCrusadeDifficulty
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetMinDifficulty(DifficultyPresetAsset)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.MinDifficulty

Declaration
public TBuilder SetMinDifficulty(DifficultyPresetAsset minDifficulty)
Parameters
Type Name Description
Kingmaker.Settings.Difficulty.DifficultyPresetAsset minDifficulty
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetOnlyMainCampaign(Boolean)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.OnlyMainCampaign

Declaration
public TBuilder SetOnlyMainCampaign(bool onlyMainCampaign = true)
Parameters
Type Name Description
System.Boolean onlyMainCampaign
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetPS4(AchievementData.PlatformSettingsPS4)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.PS4

Declaration
public TBuilder SetPS4(AchievementData.PlatformSettingsPS4 pS4)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsPS4 pS4
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetPS5(AchievementData.PlatformSettingsPS5)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.PS5

Declaration
public TBuilder SetPS5(AchievementData.PlatformSettingsPS5 pS5)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsPS5 pS5
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetSpecificCampaign(Blueprint<BlueprintCampaignReference>)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.SpecificCampaign

Declaration
public TBuilder SetSpecificCampaign(Blueprint<BlueprintCampaignReference> specificCampaign)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintCampaignReference> specificCampaign

Blueprint of type BlueprintCampaign. You can pass in the blueprint using:

  • A blueprint instance
  • A blueprint reference
  • A blueprint id as a string, Guid, or BlueprintGuid
  • A blueprint name registered with BlueprintTool
See Blueprint for more details.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetSteam(AchievementData.PlatformSettingsSteam)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.Steam

Declaration
public TBuilder SetSteam(AchievementData.PlatformSettingsSteam steam)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsSteam steam
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetType(AchievementType)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.Type

Declaration
public TBuilder SetType(AchievementType type)
Parameters
Type Name Description
Kingmaker.Achievements.AchievementType type
Returns
Type Description
TBuilder
| Improve this Doc View Source

SetUnlockedIcon(Asset<Texture2D>)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.m_UnlockedIcon

Declaration
public TBuilder SetUnlockedIcon(Asset<Texture2D> unlockedIcon)
Parameters
Type Name Description
Asset<UnityEngine.Texture2D> unlockedIcon

You can pass in the animation using a Texture2D or it's AssetId.

Returns
Type Description
TBuilder
| Improve this Doc View Source

SetXBoxOne(AchievementData.PlatformSettingsXBoxOne)

Sets the value of Kingmaker.Achievements.Blueprints.AchievementData.XBoxOne

Declaration
public TBuilder SetXBoxOne(AchievementData.PlatformSettingsXBoxOne xBoxOne)
Parameters
Type Name Description
Kingmaker.Achievements.Blueprints.AchievementData.PlatformSettingsXBoxOne xBoxOne
Returns
Type Description
TBuilder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX