Show / Hide Table of Contents

Class ContextValues

Helper class for creating Kingmaker.UnitLogic.Mechanics.ContextValue objects.

Inheritance
System.Object
ContextValues
Namespace: BlueprintCore.Utils.Types
Assembly: BlueprintCore.dll
Syntax
public static class ContextValues

Methods

| Improve this Doc View Source

CasterStatBonus()

Uses Kingmaker.UnitLogic.Mechanics.AbilityParameterType.CasterStatBonus

Declaration
public static ContextValue CasterStatBonus()
Returns
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
| Improve this Doc View Source

Constant(Int32)

Declaration
public static ContextValue Constant(int value)
Parameters
Type Name Description
System.Int32 value
Returns
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
| Improve this Doc View Source

CustomProperty(Blueprint<BlueprintUnitPropertyReference>, Boolean)

Declaration
public static ContextValue CustomProperty(Blueprint<BlueprintUnitPropertyReference> property, bool toCaster = false)
Parameters
Type Name Description
Blueprint<Kingmaker.Blueprints.BlueprintUnitPropertyReference> property
System.Boolean toCaster
Returns
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
| Improve this Doc View Source

Property(UnitProperty, Boolean)

Declaration
public static ContextValue Property(UnitProperty property, bool toCaster = false)
Parameters
Type Name Description
Kingmaker.UnitLogic.Mechanics.Properties.UnitProperty property
System.Boolean toCaster
Returns
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
| Improve this Doc View Source

Rank(AbilityRankType)

Uses the context value associated with the specified Kingmaker.Enums.AbilityRankType.

Declaration
public static ContextValue Rank(AbilityRankType type = AbilityRankType.Default)
Parameters
Type Name Description
Kingmaker.Enums.AbilityRankType type
Returns
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
Remarks

The value associated with an Kingmaker.Enums.AbilityRankType is determined using Kingmaker.UnitLogic.Mechanics.Components.ContextRankConfig. See the wiki page for more details.

| Improve this Doc View Source

Shared(AbilitySharedValue)

Uses the context value associated with the specified Kingmaker.UnitLogic.Abilities.AbilitySharedValue.

Declaration
public static ContextValue Shared(AbilitySharedValue type)
Parameters
Type Name Description
Kingmaker.UnitLogic.Abilities.AbilitySharedValue type
Returns
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
Remarks

Different components and actions will set the associated value of an Kingmaker.UnitLogic.Abilities.AbilitySharedValue.

| Improve this Doc View Source

SpellLevel()

Uses Kingmaker.UnitLogic.Mechanics.AbilityParameterType.Level

Declaration
public static ContextValue SpellLevel()
Returns
Type Description
Kingmaker.UnitLogic.Mechanics.ContextValue
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX