Table of Contents

Class ShallowItemVM

Namespace
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.ClassLoadout
Assembly
TaleWorlds.MountAndBlade.Multiplayer.ViewModelCollection.dll
public class ShallowItemVM : ViewModel
Inheritance
ShallowItemVM

Constructors

ShallowItemVM(Action<ShallowItemVM>)

public ShallowItemVM(Action<ShallowItemVM> onSelect)

Parameters

onSelect Action<ShallowItemVM>

Properties

AlternativeUsageSelector

public SelectorVM<AlternativeUsageItemOptionVM> AlternativeUsageSelector { get; set; }

Property Value

SelectorVM<AlternativeUsageItemOptionVM>

HasAnyAlternativeUsage

public bool HasAnyAlternativeUsage { get; set; }

Property Value

bool

Icon

public ImageIdentifierVM Icon { get; set; }

Property Value

ImageIdentifierVM

IsSelected

public bool IsSelected { get; set; }

Property Value

bool

IsValid

public bool IsValid { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

PropertyList

public MBBindingList<ShallowItemPropertyVM> PropertyList { get; set; }

Property Value

MBBindingList<ShallowItemPropertyVM>

Type

public ShallowItemVM.ItemGroup Type { get; }

Property Value

ShallowItemVM.ItemGroup

TypeAsString

public string TypeAsString { get; set; }

Property Value

string

Methods

IsItemUsageApplicable(WeaponComponentData)

public static bool IsItemUsageApplicable(WeaponComponentData weapon)

Parameters

weapon WeaponComponentData

Returns

bool

OnFinalize()

public override void OnFinalize()

OnSelect()

public void OnSelect()

RefreshValues()

public override void RefreshValues()

RefreshWith(EquipmentIndex, Equipment)

public void RefreshWith(EquipmentIndex equipmentIndex, Equipment equipment)

Parameters

equipmentIndex EquipmentIndex
equipment Equipment

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).