Class ActionsBuilderMiscEx
Extension to ActionsBuilder for actions without a better extension container such as achievements vendor actions, and CustomEvent.
Inheritance
System.Object
ActionsBuilderMiscEx
Assembly: BlueprintCore.dll
Syntax
public static class ActionsBuilderMiscEx
Methods
|
Improve this Doc
View Source
AchievementUnlock(ActionsBuilder, Blueprint<AchievementDataReference>)
Adds Kingmaker.Achievements.Actions.ActionAchievementUnlock
Declaration
public static ActionsBuilder AchievementUnlock(this ActionsBuilder builder, Blueprint<AchievementDataReference> achievement)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Blueprint<Kingmaker.Blueprints.AchievementDataReference> |
achievement |
Blueprint of type AchievementData. 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
|
Improve this Doc
View Source
AddPremiumReward(ActionsBuilder, ActionsBuilder, Blueprint<BlueprintDlcRewardReference>, List<Blueprint<BlueprintItemReference>>, List<Blueprint<BlueprintFeatureReference>>)
Declaration
public static ActionsBuilder AddPremiumReward(this ActionsBuilder builder, ActionsBuilder additionalActions = null, Blueprint<BlueprintDlcRewardReference> dlcReward = null, List<Blueprint<BlueprintItemReference>> items = null, List<Blueprint<BlueprintFeatureReference>> playerFeatures = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
ActionsBuilder |
additionalActions |
|
Blueprint<Kingmaker.Blueprints.BlueprintDlcRewardReference> |
dlcReward |
Blueprint of type BlueprintDlcReward. 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.
|
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintItemReference>> |
items |
Blueprint of type BlueprintItem. 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.
|
System.Collections.Generic.List<Blueprint<Kingmaker.Blueprints.BlueprintFeatureReference>> |
playerFeatures |
Blueprint of type BlueprintFeature. 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
|
Improve this Doc
View Source
AddVendorItemsAction(ActionsBuilder, VendorEvaluator, Blueprint<BlueprintUnitLootReference>)
Declaration
public static ActionsBuilder AddVendorItemsAction(this ActionsBuilder builder, VendorEvaluator vendorEvaluator = null, Blueprint<BlueprintUnitLootReference> vendorTable = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Kingmaker.ElementsSystem.VendorEvaluator |
vendorEvaluator |
|
Blueprint<Kingmaker.Blueprints.BlueprintUnitLootReference> |
vendorTable |
Blueprint of type BlueprintUnitLoot. 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
|
Improve this Doc
View Source
ClearSharedVendorTable(ActionsBuilder, Blueprint<BlueprintSharedVendorTableReference>)
Declaration
public static ActionsBuilder ClearSharedVendorTable(this ActionsBuilder builder, Blueprint<BlueprintSharedVendorTableReference> sharedTable = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Blueprint<Kingmaker.Blueprints.BlueprintSharedVendorTableReference> |
sharedTable |
Blueprint of type BlueprintSharedVendorTable. 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
|
Improve this Doc
View Source
ClearVendorTable(ActionsBuilder, Blueprint<BlueprintSharedVendorTableReference>)
Declaration
public static ActionsBuilder ClearVendorTable(this ActionsBuilder builder, Blueprint<BlueprintSharedVendorTableReference> table = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Blueprint<Kingmaker.Blueprints.BlueprintSharedVendorTableReference> |
table |
Blueprint of type BlueprintSharedVendorTable. 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
|
Improve this Doc
View Source
CreateCustomCompanion(ActionsBuilder, Nullable<Boolean>, LocatorEvaluator, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, ActionsBuilder)
Declaration
public static ActionsBuilder CreateCustomCompanion(this ActionsBuilder builder, bool? forFree = null, LocatorEvaluator locator = null, bool? lockInUi = null, bool? matchPlayerXpExactly = null, bool? noEquipment = null, ActionsBuilder onCreate = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
System.Nullable<System.Boolean> |
forFree |
|
Kingmaker.ElementsSystem.LocatorEvaluator |
locator |
|
System.Nullable<System.Boolean> |
lockInUi |
|
System.Nullable<System.Boolean> |
matchPlayerXpExactly |
|
System.Nullable<System.Boolean> |
noEquipment |
|
ActionsBuilder |
onCreate |
|
Returns
|
Improve this Doc
View Source
DebugLog(ActionsBuilder, Nullable<Boolean>, String)
Declaration
public static ActionsBuilder DebugLog(this ActionsBuilder builder, bool? breakValue = null, string log = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
System.Nullable<System.Boolean> |
breakValue |
|
System.String |
log |
|
Returns
|
Improve this Doc
View Source
FillSharedVendorTable(ActionsBuilder, Blueprint<BlueprintSharedVendorTableReference>, Blueprint<BlueprintUnitReference>)
Declaration
public static ActionsBuilder FillSharedVendorTable(this ActionsBuilder builder, Blueprint<BlueprintSharedVendorTableReference> sharedTable = null, Blueprint<BlueprintUnitReference> sourceVendor = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Blueprint<Kingmaker.Blueprints.BlueprintSharedVendorTableReference> |
sharedTable |
InfoBox: We take AddLootToVendorTable and DungeonAddLootToVendor components from the SourceVendor and add goods to the SharedTable
Blueprint of type BlueprintSharedVendorTable. 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.
|
Blueprint<Kingmaker.Blueprints.BlueprintUnitReference> |
sourceVendor |
Blueprint of type BlueprintUnit. 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
|
Improve this Doc
View Source
GameLog(ActionsBuilder, LocalString)
Declaration
public static ActionsBuilder GameLog(this ActionsBuilder builder, LocalString message = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
LocalString |
message |
You can pass in the string using a LocalizedString or the Key to a LocalizedString.
|
Returns
|
Improve this Doc
View Source
GameOver(ActionsBuilder, Nullable<Player.GameOverReasonType>)
Declaration
public static ActionsBuilder GameOver(this ActionsBuilder builder, Player.GameOverReasonType? reason = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
System.Nullable<Kingmaker.Player.GameOverReasonType> |
reason |
|
Returns
|
Improve this Doc
View Source
ImportSave(ActionsBuilder, Nullable<Boolean>, Blueprint<BlueprintCampaignReference>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
Declaration
public static ActionsBuilder ImportSave(this ActionsBuilder builder, bool? autoImportIfOnlyOneSave = null, Blueprint<BlueprintCampaignReference> campaign = null, bool? clearPreviousImport = null, bool? letPlayerChooseSave = null, bool? notImmediatly = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
System.Nullable<System.Boolean> |
autoImportIfOnlyOneSave |
Tooltip: Import automatically if only one appropriate save file is presented.
|
Blueprint<Kingmaker.Blueprints.BlueprintCampaignReference> |
campaign |
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.
|
System.Nullable<System.Boolean> |
clearPreviousImport |
InfoBox: Удаляет упоминание об импорте этого кампейна, но НЕ ОЧИЩАЕТ фактический импорт. Использовать только для починки сломанных сейвов, как в PF-523639. Фактическую очистку импорта можно попробовать сделать отдельными экшонами.
|
System.Nullable<System.Boolean> |
letPlayerChooseSave |
Tooltip: Display a prompt asking to choose a save from a list, if any. Otherwise the save will be chosen automatically and silently imported.
|
System.Nullable<System.Boolean> |
notImmediatly |
|
Returns
|
Improve this Doc
View Source
MakeAutoSave(ActionsBuilder, Nullable<Boolean>, Blueprint<BlueprintSavedGameStatusReference>, Nullable<Boolean>)
Declaration
public static ActionsBuilder MakeAutoSave(this ActionsBuilder builder, bool? askConfirmation = null, Blueprint<BlueprintSavedGameStatusReference> savedGameStatus = null, bool? saveForImport = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
System.Nullable<System.Boolean> |
askConfirmation |
|
Blueprint<Kingmaker.Blueprints.BlueprintSavedGameStatusReference> |
savedGameStatus |
InfoBox: Опционально: статус игры на момент сейва для текстового описания
Blueprint of type BlueprintSavedGameStatus. 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.
|
System.Nullable<System.Boolean> |
saveForImport |
|
Returns
|
Improve this Doc
View Source
MakeItemNonRemovable(ActionsBuilder, Blueprint<BlueprintItemReference>, Nullable<Boolean>)
Declaration
public static ActionsBuilder MakeItemNonRemovable(this ActionsBuilder builder, Blueprint<BlueprintItemReference> item = null, bool? nonRemovable = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Blueprint<Kingmaker.Blueprints.BlueprintItemReference> |
item |
Blueprint of type BlueprintItem. 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.
|
System.Nullable<System.Boolean> |
nonRemovable |
|
Returns
|
Improve this Doc
View Source
MovePartyItemsAction(ActionsBuilder, MovePartyItemsAction.LeaveSettings, Nullable<MovePartyItemsAction.ItemType>, ItemsCollectionEvaluator)
Declaration
public static ActionsBuilder MovePartyItemsAction(this ActionsBuilder builder, MovePartyItemsAction.LeaveSettings leaveEquipmentOf = null, MovePartyItemsAction.ItemType? pickupTypes = null, ItemsCollectionEvaluator targetCollection = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Kingmaker.Designers.EventConditionActionSystem.Actions.MovePartyItemsAction.LeaveSettings |
leaveEquipmentOf |
Tooltip: Do not remove items equipped on some companions
|
System.Nullable<Kingmaker.Designers.EventConditionActionSystem.Actions.MovePartyItemsAction.ItemType> |
pickupTypes |
|
Kingmaker.ElementsSystem.ItemsCollectionEvaluator |
targetCollection |
|
Returns
|
Improve this Doc
View Source
OpenSelectMythicUI(ActionsBuilder, ActionsBuilder, ActionsBuilder, Nullable<Boolean>, Nullable<Boolean>)
Declaration
public static ActionsBuilder OpenSelectMythicUI(this ActionsBuilder builder, ActionsBuilder afterCommitActions = null, ActionsBuilder afterStopActions = null, bool? lockStopChargen = null, bool? mayLoopLevelUp = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
ActionsBuilder |
afterCommitActions |
Tooltip: If levelUp was complete
|
ActionsBuilder |
afterStopActions |
Tooltip: If levelUp was close
|
System.Nullable<System.Boolean> |
lockStopChargen |
Tooltip: If true, buttons Close, Back and Esc will be disable in chargen
|
System.Nullable<System.Boolean> |
mayLoopLevelUp |
Tooltip: If need few levelup
|
Returns
|
Improve this Doc
View Source
RemoveItemFromPlayer(ActionsBuilder, Blueprint<BlueprintItemReference>, Nullable<Boolean>, Nullable<Single>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>)
Declaration
public static ActionsBuilder RemoveItemFromPlayer(this ActionsBuilder builder, Blueprint<BlueprintItemReference> itemToRemove = null, bool? money = null, float? percentage = null, int? quantity = null, bool? removeAll = null, bool? silent = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Blueprint<Kingmaker.Blueprints.BlueprintItemReference> |
itemToRemove |
Blueprint of type BlueprintItem. 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.
|
System.Nullable<System.Boolean> |
money |
|
System.Nullable<System.Single> |
percentage |
|
System.Nullable<System.Int32> |
quantity |
|
System.Nullable<System.Boolean> |
removeAll |
|
System.Nullable<System.Boolean> |
silent |
|
Returns
|
Improve this Doc
View Source
RemoveItemsFromCollection(ActionsBuilder, ItemsCollectionEvaluator, List<LootEntry>, Nullable<RemoveItemsFromCollection.RemoveStrategyType>)
Declaration
public static ActionsBuilder RemoveItemsFromCollection(this ActionsBuilder builder, ItemsCollectionEvaluator collection = null, List<LootEntry> loot = null, RemoveItemsFromCollection.RemoveStrategyType? removeStrategy = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Kingmaker.ElementsSystem.ItemsCollectionEvaluator |
collection |
|
System.Collections.Generic.List<Kingmaker.Blueprints.Loot.LootEntry> |
loot |
|
System.Nullable<Kingmaker.Designers.EventConditionActionSystem.Actions.RemoveItemsFromCollection.RemoveStrategyType> |
removeStrategy |
|
Returns
|
Improve this Doc
View Source
SellCollectibleItems(ActionsBuilder, Nullable<Boolean>, Blueprint<BlueprintItemReference>)
Declaration
public static ActionsBuilder SellCollectibleItems(this ActionsBuilder builder, bool? halfPrice = null, Blueprint<BlueprintItemReference> itemToSell = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
System.Nullable<System.Boolean> |
halfPrice |
|
Blueprint<Kingmaker.Blueprints.BlueprintItemReference> |
itemToSell |
Blueprint of type BlueprintItem. 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
|
Improve this Doc
View Source
SetVendorPriceModifier(ActionsBuilder, SetVendorPriceModifier.Entry[], UnitEvaluator)
Declaration
public static ActionsBuilder SetVendorPriceModifier(this ActionsBuilder builder, SetVendorPriceModifier.Entry[] entries = null, UnitEvaluator vendorUnit = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Kingmaker.Designers.EventConditionActionSystem.Actions.SetVendorPriceModifier.Entry[] |
entries |
|
Kingmaker.ElementsSystem.UnitEvaluator |
vendorUnit |
|
Returns
|
Improve this Doc
View Source
ShowNewTutorial(ActionsBuilder, TutorialContextDataEvaluator[], Blueprint<BlueprintTutorial.Reference>)
Declaration
public static ActionsBuilder ShowNewTutorial(this ActionsBuilder builder, TutorialContextDataEvaluator[] evaluators = null, Blueprint<BlueprintTutorial.Reference> tutorial = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Kingmaker.Tutorial.Actions.TutorialContextDataEvaluator[] |
evaluators |
|
Blueprint<Kingmaker.Tutorial.BlueprintTutorial.Reference> |
tutorial |
Blueprint of type BlueprintTutorial. 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
|
Improve this Doc
View Source
ShowPartySelection(ActionsBuilder, ActionsBuilder, ActionsBuilder, Nullable<Boolean>)
Declaration
public static ActionsBuilder ShowPartySelection(this ActionsBuilder builder, ActionsBuilder actionsAfterPartySelection = null, ActionsBuilder actionsIfCanceled = null, bool? forceCapitalModeLogic = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
ActionsBuilder |
actionsAfterPartySelection |
|
ActionsBuilder |
actionsIfCanceled |
|
System.Nullable<System.Boolean> |
forceCapitalModeLogic |
InfoBox: Group selector logic will be similar to Hub exit (all remote companions will be accessible)
|
Returns
|
Improve this Doc
View Source
StartTrade(ActionsBuilder, UnitEvaluator)
Declaration
public static ActionsBuilder StartTrade(this ActionsBuilder builder, UnitEvaluator vendor = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Kingmaker.ElementsSystem.UnitEvaluator |
vendor |
|
Returns
|
Improve this Doc
View Source
UnequipAllItems(ActionsBuilder, ItemsCollectionEvaluator, Nullable<Boolean>, UnitEvaluator)
Declaration
public static ActionsBuilder UnequipAllItems(this ActionsBuilder builder, ItemsCollectionEvaluator destinationContainer = null, bool? silent = null, UnitEvaluator target = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
Kingmaker.ElementsSystem.ItemsCollectionEvaluator |
destinationContainer |
InfoBox: If not specified, items will be moved to unit's inventory
|
System.Nullable<System.Boolean> |
silent |
|
Kingmaker.ElementsSystem.UnitEvaluator |
target |
|
Returns
|
Improve this Doc
View Source
UnequipItem(ActionsBuilder, Nullable<Boolean>, ItemsCollectionEvaluator, Blueprint<BlueprintItemReference>, Nullable<Boolean>, Nullable<EquipSlotType>, Nullable<UnequipItem.TargetTypeValues>, UnitEvaluator)
Declaration
public static ActionsBuilder UnequipItem(this ActionsBuilder builder, bool? all = null, ItemsCollectionEvaluator destinationContainer = null, Blueprint<BlueprintItemReference> item = null, bool? silent = null, EquipSlotType? slotType = null, UnequipItem.TargetTypeValues? targetType = null, UnitEvaluator unit = null)
Parameters
Type |
Name |
Description |
ActionsBuilder |
builder |
|
System.Nullable<System.Boolean> |
all |
|
Kingmaker.ElementsSystem.ItemsCollectionEvaluator |
destinationContainer |
InfoBox: If not specified, item will be moved to unit's inventory
|
Blueprint<Kingmaker.Blueprints.BlueprintItemReference> |
item |
Blueprint of type BlueprintItem. 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.
|
System.Nullable<System.Boolean> |
silent |
|
System.Nullable<Kingmaker.UI.MVVM._VM.ServiceWindows.Inventory.EquipSlotType> |
slotType |
|
System.Nullable<Kingmaker.Designers.EventConditionActionSystem.Actions.UnequipItem.TargetTypeValues> |
targetType |
|
Kingmaker.ElementsSystem.UnitEvaluator |
unit |
|
Returns