Class CraftingVM
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class CraftingVM : ViewModel, IViewModel, INotifyPropertyChanged
- Inheritance
-
CraftingVM
- Implements
- Inherited Members
Constructors
CraftingVM(Crafting, Action, Action, Action, Func<WeaponComponentData, ItemUsageSetFlags>)
public CraftingVM(Crafting crafting, Action onClose, Action resetCamera, Action onWeaponCrafted, Func<WeaponComponentData, ItemObject.ItemUsageSetFlags> getItemUsageSetFlags)
Parameters
crafting
CraftingonClose
ActionresetCamera
ActiononWeaponCrafted
ActiongetItemUsageSetFlags
Func<WeaponComponentData, ItemObject.ItemUsageSetFlags>
Fields
OnItemRefreshed
public CraftingVM.OnItemRefreshedDelegate OnItemRefreshed
Field Value
_tutorialNotification
public ElementNotificationVM _tutorialNotification
Field Value
Properties
AreGamepadControlHintsEnabled
public bool AreGamepadControlHintsEnabled { get; set; }
Property Value
AvailableCharactersForSmithing
[DataSourceProperty]
public MBBindingList<CraftingAvailableHeroItemVM> AvailableCharactersForSmithing { get; set; }
Property Value
CameraControlKeys
[DataSourceProperty]
public MBBindingList<InputKeyItemVM> CameraControlKeys { get; set; }
Property Value
CanSwitchTabs
public bool CanSwitchTabs { get; set; }
Property Value
CancelLbl
[DataSourceProperty]
public string CancelLbl { get; set; }
Property Value
ConfirmInputKey
public InputKeyItemVM ConfirmInputKey { get; set; }
Property Value
CraftingHeroPopup
[DataSourceProperty]
public CraftingHeroPopupVM CraftingHeroPopup { get; set; }
Property Value
CraftingHint
[DataSourceProperty]
public HintViewModel CraftingHint { get; set; }
Property Value
CraftingText
[DataSourceProperty]
public string CraftingText { get; set; }
Property Value
CurrentCategoryText
[DataSourceProperty]
public string CurrentCategoryText { get; set; }
Property Value
CurrentCraftingHero
[DataSourceProperty]
public CraftingAvailableHeroItemVM CurrentCraftingHero { get; set; }
Property Value
DoneLbl
[DataSourceProperty]
public string DoneLbl { get; set; }
Property Value
ExitInputKey
public InputKeyItemVM ExitInputKey { get; set; }
Property Value
IsInCraftingMode
[DataSourceProperty]
public bool IsInCraftingMode { get; set; }
Property Value
IsInRefinementMode
[DataSourceProperty]
public bool IsInRefinementMode { get; set; }
Property Value
IsInSmeltingMode
[DataSourceProperty]
public bool IsInSmeltingMode { get; set; }
Property Value
IsMainActionEnabled
[DataSourceProperty]
public bool IsMainActionEnabled { get; set; }
Property Value
IsRefinementItemSelected
[DataSourceProperty]
public bool IsRefinementItemSelected { get; set; }
Property Value
IsSmeltingItemSelected
[DataSourceProperty]
public bool IsSmeltingItemSelected { get; set; }
Property Value
ItemValue
[DataSourceProperty]
public int ItemValue { get; set; }
Property Value
MainActionHint
[DataSourceProperty]
public BasicTooltipViewModel MainActionHint { get; set; }
Property Value
MainActionText
[DataSourceProperty]
public string MainActionText { get; set; }
Property Value
NextTabInputKey
public InputKeyItemVM NextTabInputKey { get; set; }
Property Value
PlayerCurrentMaterials
[DataSourceProperty]
public MBBindingList<CraftingResourceItemVM> PlayerCurrentMaterials { get; set; }
Property Value
PreviousTabInputKey
public InputKeyItemVM PreviousTabInputKey { get; set; }
Property Value
Refinement
[DataSourceProperty]
public RefinementVM Refinement { get; set; }
Property Value
RefinementText
[DataSourceProperty]
public string RefinementText { get; set; }
Property Value
RefiningHint
[DataSourceProperty]
public HintViewModel RefiningHint { get; set; }
Property Value
ResetCameraHint
[DataSourceProperty]
public HintViewModel ResetCameraHint { get; set; }
Property Value
SelectItemToRefineText
[DataSourceProperty]
public string SelectItemToRefineText { get; set; }
Property Value
SelectItemToSmeltText
[DataSourceProperty]
public string SelectItemToSmeltText { get; set; }
Property Value
Smelting
[DataSourceProperty]
public SmeltingVM Smelting { get; set; }
Property Value
SmeltingHint
[DataSourceProperty]
public HintViewModel SmeltingHint { get; set; }
Property Value
SmeltingText
[DataSourceProperty]
public string SmeltingText { get; set; }
Property Value
TutorialNotification
[DataSourceProperty]
public ElementNotificationVM TutorialNotification { get; set; }
Property Value
WeaponDesign
[DataSourceProperty]
public WeaponDesignVM WeaponDesign { get; set; }
Property Value
Methods
AddCameraControlInputKey(GameAxisKey)
public void AddCameraControlInputKey(GameAxisKey gameAxisKey)
Parameters
gameAxisKey
GameAxisKey
AddCameraControlInputKey(GameKey)
public void AddCameraControlInputKey(GameKey gameKey)
Parameters
gameKey
GameKey
AddCameraControlInputKey(HotKey)
public void AddCameraControlInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
ExecuteCancel()
public void ExecuteCancel()
ExecuteConfirm()
public (bool isConfirmSuccessful, bool isMainActionExecuted) ExecuteConfirm()
Returns
ExecuteMainAction()
public void ExecuteMainAction()
ExecuteResetCamera()
public void ExecuteResetCamera()
ExecuteSwitchToCrafting()
public void ExecuteSwitchToCrafting()
ExecuteSwitchToRefinement()
public void ExecuteSwitchToRefinement()
ExecuteSwitchToSmelting()
public void ExecuteSwitchToSmelting()
OnCraftingLogicRefreshed(Crafting)
public void OnCraftingLogicRefreshed(Crafting newCraftingLogic)
Parameters
newCraftingLogic
Crafting
OnFinalize()
public override void OnFinalize()
RefreshValues()
public override void RefreshValues()
SetConfirmInputKey(HotKey)
public void SetConfirmInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetCurrentDesignManually(CraftingTemplate, (CraftingPiece, int)[])
public void SetCurrentDesignManually(CraftingTemplate craftingTemplate, (CraftingPiece, int)[] pieces)
Parameters
craftingTemplate
CraftingTemplatepieces
(CraftingPiece, int)[]
SetExitInputKey(HotKey)
public void SetExitInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetNextTabInputKey(HotKey)
public void SetNextTabInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
SetPreviousTabInputKey(HotKey)
public void SetPreviousTabInputKey(HotKey hotKey)
Parameters
hotKey
HotKey
UpdateCraftingHero(CraftingAvailableHeroItemVM)
public void UpdateCraftingHero(CraftingAvailableHeroItemVM newHero)
Parameters
newHero
CraftingAvailableHeroItemVM
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).