Table of Contents

Class CraftingPieceVM

Namespace
TaleWorlds.CampaignSystem.ViewModelCollection.WeaponCrafting.WeaponDesign
Assembly
TaleWorlds.CampaignSystem.ViewModelCollection.dll
public class CraftingPieceVM : ViewModel, IViewModel, INotifyPropertyChanged
Inheritance
CraftingPieceVM
Implements
Inherited Members

Constructors

CraftingPieceVM()

public CraftingPieceVM()

CraftingPieceVM(Action<CraftingPieceVM>, string, WeaponDesignElement, int, int, bool)

public CraftingPieceVM(Action<CraftingPieceVM> selectWeaponPart, string templateId, WeaponDesignElement usableCraftingPiece, int pieceType, int index, bool isOpened)

Parameters

selectWeaponPart Action<CraftingPieceVM>
templateId string
usableCraftingPiece WeaponDesignElement
pieceType int
index int
isOpened bool

Fields

CraftingPiece

public WeaponDesignElement CraftingPiece

Field Value

WeaponDesignElement

Index

public int Index

Field Value

int

_imageIdentifier

public ImageIdentifierVM _imageIdentifier

Field Value

ImageIdentifierVM

_isSelected

public bool _isSelected

Field Value

bool

_pieceType

public int _pieceType

Field Value

int

_playerHasPiece

public bool _playerHasPiece

Field Value

bool

_tier

public int _tier

Field Value

int

_tierText

public string _tierText

Field Value

string

Properties

ImageIdentifier

[DataSourceProperty]
public ImageIdentifierVM ImageIdentifier { get; set; }

Property Value

ImageIdentifierVM

IsEmpty

[DataSourceProperty]
public bool IsEmpty { get; set; }

Property Value

bool

IsFilteredOut

[DataSourceProperty]
public bool IsFilteredOut { get; set; }

Property Value

bool

IsNewlyUnlocked

[DataSourceProperty]
public bool IsNewlyUnlocked { get; set; }

Property Value

bool

IsSelected

[DataSourceProperty]
public bool IsSelected { get; set; }

Property Value

bool

ItemAttributeIcons

[DataSourceProperty]
public MBBindingList<CraftingItemFlagVM> ItemAttributeIcons { get; set; }

Property Value

MBBindingList<CraftingItemFlagVM>

PieceType

[DataSourceProperty]
public int PieceType { get; set; }

Property Value

int

PlayerHasPiece

[DataSourceProperty]
public bool PlayerHasPiece { get; set; }

Property Value

bool

Tier

[DataSourceProperty]
public int Tier { get; set; }

Property Value

int

TierText

[DataSourceProperty]
public string TierText { get; set; }

Property Value

string

Methods

ExecuteCloseTooltip()

public void ExecuteCloseTooltip()

ExecuteOpenTooltip()

public void ExecuteOpenTooltip()

ExecuteSelect()

public void ExecuteSelect()

RefreshFlagIcons()

public void RefreshFlagIcons()

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