Class BaseSpellListConfigurator<T, TBuilder>
Implements common fields and components for blueprints inheriting from Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.
Inheritance
System.Object
BaseSpellListConfigurator<T, TBuilder>
Inherited Members
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>.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>.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>.AddArmyUnitRecruitedTrigger(ActionsBuilder, Nullable<ArmyProperties>, List<Blueprint<BlueprintUnitReference>>, Nullable<Boolean>, Nullable<Boolean>, Nullable<MercenariesIncludeOption>, Action<BlueprintComponent, BlueprintComponent>, ComponentMerge, Nullable<Int32>)
Assembly: BlueprintCore.dll
Syntax
public abstract class BaseSpellListConfigurator<T, TBuilder> : BaseBlueprintConfigurator<T, TBuilder> where T : BlueprintSpellList where TBuilder : BaseSpellListConfigurator<T, TBuilder>
Type Parameters
Name |
Description |
T |
|
TBuilder |
|
Constructors
|
Improve this Doc
View Source
BaseSpellListConfigurator(Blueprint<BlueprintReference<T>>)
Declaration
protected BaseSpellListConfigurator(Blueprint<BlueprintReference<T>> blueprint)
Parameters
Type |
Name |
Description |
Blueprint<Kingmaker.Blueprints.BlueprintReference<T>> |
blueprint |
|
Methods
|
Improve this Doc
View Source
AddToSpellsByLevel(SpellLevelList[])
Adds to the contents of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.SpellsByLevel
Declaration
public TBuilder AddToSpellsByLevel(params SpellLevelList[] spellsByLevel)
Parameters
Type |
Name |
Description |
Kingmaker.Blueprints.Classes.Spells.SpellLevelList[] |
spellsByLevel |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
ClearSpellsByLevel()
Removes all elements from Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.SpellsByLevel
Declaration
public TBuilder ClearSpellsByLevel()
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
CopyFrom(Blueprint<BlueprintReference<BlueprintSpellList>>, Predicate<BlueprintComponent>)
Copies fields and components of the specified types from the blueprint.
Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintSpellList>> blueprint, Predicate<BlueprintComponent> componentMatcher)
Parameters
Type |
Name |
Description |
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList>> |
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 |
|
|
Improve this Doc
View Source
CopyFrom(Blueprint<BlueprintReference<BlueprintSpellList>>, Type[])
Copies fields and components of the specified types from the blueprint.
Declaration
public TBuilder CopyFrom(Blueprint<BlueprintReference<BlueprintSpellList>> blueprint, params Type[] componentTypes)
Parameters
Type |
Name |
Description |
Blueprint<Kingmaker.Blueprints.BlueprintReference<Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList>> |
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 |
|
|
Improve this Doc
View Source
ModifyDescriptor(Action<SpellDescriptorWrapper>)
Modifies Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.Descriptor by invoking the provided action.
Declaration
public TBuilder ModifyDescriptor(Action<SpellDescriptorWrapper> action)
Parameters
Type |
Name |
Description |
System.Action<Kingmaker.Blueprints.Classes.Spells.SpellDescriptorWrapper> |
action |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
ModifyFilteredList(Action<BlueprintSpellListReference>)
Modifies Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.m_FilteredList by invoking the provided action.
Declaration
public TBuilder ModifyFilteredList(Action<BlueprintSpellListReference> action)
Parameters
Type |
Name |
Description |
System.Action<Kingmaker.Blueprints.BlueprintSpellListReference> |
action |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
ModifySpellsByLevel(Action<SpellLevelList>)
Modifies Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.SpellsByLevel by invoking the provided action on each element.
Declaration
public TBuilder ModifySpellsByLevel(Action<SpellLevelList> action)
Parameters
Type |
Name |
Description |
System.Action<Kingmaker.Blueprints.Classes.Spells.SpellLevelList> |
action |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
Declaration
protected override void OnConfigureCompleted()
Overrides
BlueprintCore.Blueprints.CustomConfigurators.RootConfigurator<T, TBuilder>.OnConfigureCompleted()
|
Improve this Doc
View Source
RemoveFromSpellsByLevel(SpellLevelList[])
Removes elements from Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.SpellsByLevel
Declaration
public TBuilder RemoveFromSpellsByLevel(params SpellLevelList[] spellsByLevel)
Parameters
Type |
Name |
Description |
Kingmaker.Blueprints.Classes.Spells.SpellLevelList[] |
spellsByLevel |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
RemoveFromSpellsByLevel(Func<SpellLevelList, Boolean>)
Removes elements from Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.SpellsByLevel that match the provided predicate.
Declaration
public TBuilder RemoveFromSpellsByLevel(Func<SpellLevelList, bool> predicate)
Parameters
Type |
Name |
Description |
System.Func<Kingmaker.Blueprints.Classes.Spells.SpellLevelList, System.Boolean> |
predicate |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetDescriptor(SpellDescriptorWrapper)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.Descriptor
Declaration
public TBuilder SetDescriptor(SpellDescriptorWrapper descriptor)
Parameters
Type |
Name |
Description |
Kingmaker.Blueprints.Classes.Spells.SpellDescriptorWrapper |
descriptor |
InfoBox: Add only spells with any specified descriptors
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetExcludeFilterSchool(Boolean)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.ExcludeFilterSchool
Declaration
public TBuilder SetExcludeFilterSchool(bool excludeFilterSchool = true)
Parameters
Type |
Name |
Description |
System.Boolean |
excludeFilterSchool |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetFilterByDescriptor(Boolean)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.FilterByDescriptor
Declaration
public TBuilder SetFilterByDescriptor(bool filterByDescriptor = true)
Parameters
Type |
Name |
Description |
System.Boolean |
filterByDescriptor |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetFilterByMaxLevel(Int32)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.FilterByMaxLevel
Declaration
public TBuilder SetFilterByMaxLevel(int filterByMaxLevel)
Parameters
Type |
Name |
Description |
System.Int32 |
filterByMaxLevel |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetFilterBySchool(Boolean)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.FilterBySchool
Declaration
public TBuilder SetFilterBySchool(bool filterBySchool = true)
Parameters
Type |
Name |
Description |
System.Boolean |
filterBySchool |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetFilteredList(Blueprint<BlueprintSpellListReference>)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.m_FilteredList
Declaration
public TBuilder SetFilteredList(Blueprint<BlueprintSpellListReference> filteredList)
Parameters
Type |
Name |
Description |
Blueprint<Kingmaker.Blueprints.BlueprintSpellListReference> |
filteredList |
Blueprint of type BlueprintSpellList. 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
SetFilterSchool(SpellSchool)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.FilterSchool
Declaration
public TBuilder SetFilterSchool(SpellSchool filterSchool)
Parameters
Type |
Name |
Description |
Kingmaker.Blueprints.Classes.Spells.SpellSchool |
filterSchool |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetFilterSchool2(SpellSchool)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.FilterSchool2
Declaration
public TBuilder SetFilterSchool2(SpellSchool filterSchool2)
Parameters
Type |
Name |
Description |
Kingmaker.Blueprints.Classes.Spells.SpellSchool |
filterSchool2 |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetIsMythic(Boolean)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.IsMythic
Declaration
public TBuilder SetIsMythic(bool isMythic = true)
Parameters
Type |
Name |
Description |
System.Boolean |
isMythic |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetMaxLevel(Int32)
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.m_MaxLevel
Declaration
public TBuilder SetMaxLevel(int maxLevel)
Parameters
Type |
Name |
Description |
System.Int32 |
maxLevel |
|
Returns
Type |
Description |
TBuilder |
|
|
Improve this Doc
View Source
SetSpellsByLevel(SpellLevelList[])
Sets the value of Kingmaker.Blueprints.Classes.Spells.BlueprintSpellList.SpellsByLevel
Declaration
public TBuilder SetSpellsByLevel(params SpellLevelList[] spellsByLevel)
Parameters
Type |
Name |
Description |
Kingmaker.Blueprints.Classes.Spells.SpellLevelList[] |
spellsByLevel |
|
Returns
Type |
Description |
TBuilder |
|