Class BarterItemVM
- Assembly
- TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class BarterItemVM : EncyclopediaLinkVM, IViewModel, INotifyPropertyChanged
- Inheritance
-
BarterItemVM
- Implements
- Inherited Members
Constructors
BarterItemVM(Barterable, BarterTransferEventDelegate, Action, bool)
public BarterItemVM(Barterable barterable, BarterItemVM.BarterTransferEventDelegate OnTransfer, Action onAmountChange, bool isFixed = false)
Parameters
barterable
BarterableOnTransfer
BarterItemVM.BarterTransferEventDelegateonAmountChange
ActionisFixed
bool
Fields
Barterable
public Barterable Barterable
Field Value
IsEntireStackModifierActive
public static bool IsEntireStackModifierActive
Field Value
IsFiveStackModifierActive
public static bool IsFiveStackModifierActive
Field Value
_isOffered
public bool _isOffered
Field Value
Properties
BarterableType
[DataSourceProperty]
public string BarterableType { get; set; }
Property Value
CurrentOfferedAmount
[DataSourceProperty]
public int CurrentOfferedAmount { get; set; }
Property Value
CurrentOfferedAmountText
[DataSourceProperty]
public string CurrentOfferedAmountText { get; set; }
Property Value
FiefFileName
[DataSourceProperty]
public string FiefFileName { get; set; }
Property Value
HasVisualIdentifier
[DataSourceProperty]
public bool HasVisualIdentifier { get; set; }
Property Value
IsItemTransferrable
[DataSourceProperty]
public bool IsItemTransferrable { get; set; }
Property Value
IsMultiple
[DataSourceProperty]
public bool IsMultiple { get; set; }
Property Value
IsOffered
[DataSourceProperty]
public bool IsOffered { get; set; }
Property Value
IsSelectorActive
[DataSourceProperty]
public bool IsSelectorActive { get; set; }
Property Value
ItemLbl
[DataSourceProperty]
public string ItemLbl { get; set; }
Property Value
TotalItemCount
[DataSourceProperty]
public int TotalItemCount { get; set; }
Property Value
TotalItemCountText
[DataSourceProperty]
public string TotalItemCountText { get; set; }
Property Value
VisualIdentifier
[DataSourceProperty]
public ImageIdentifierVM VisualIdentifier { get; set; }
Property Value
Methods
ExecuteAction()
public void ExecuteAction()
ExecuteAddOffered()
public void ExecuteAddOffered()
ExecuteRemoveOffered()
public void ExecuteRemoveOffered()
RefreshCompabilityWithItem(BarterItemVM, bool)
public void RefreshCompabilityWithItem(BarterItemVM item, bool isItemGotOffered)
Parameters
item
BarterItemVMisItemGotOffered
bool
RefreshValues()
public override void RefreshValues()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).