Table of Contents

Class OrderSiegeMachineVM

Namespace
TaleWorlds.MountAndBlade.ViewModelCollection.Order
Assembly
TaleWorlds.MountAndBlade.ViewModelCollection.dll
public class OrderSiegeMachineVM : OrderSubjectVM, IViewModel, INotifyPropertyChanged
Inheritance
OrderSiegeMachineVM
Implements
Inherited Members

Constructors

OrderSiegeMachineVM(DeploymentPoint, Action<OrderSiegeMachineVM>, int)

public OrderSiegeMachineVM(DeploymentPoint deploymentPoint, Action<OrderSiegeMachineVM> setSelected, int keyIndex)

Parameters

deploymentPoint DeploymentPoint
setSelected Action<OrderSiegeMachineVM>
keyIndex int

Fields

MachineType

public Type MachineType

Field Value

Type

SetSelected

public Action<OrderSiegeMachineVM> SetSelected

Field Value

Action<OrderSiegeMachineVM>

Properties

CurrentHP

[DataSourceProperty]
public double CurrentHP { get; set; }

Property Value

double

DeploymentPoint

public DeploymentPoint DeploymentPoint { get; }

Property Value

DeploymentPoint

IsInside

public bool IsInside { get; set; }

Property Value

bool

IsPrimarySiegeMachine

public bool IsPrimarySiegeMachine { get; }

Property Value

bool

MachineClass

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

Property Value

string

Position

public Vec2 Position { get; set; }

Property Value

Vec2

SiegeWeapon

public SiegeWeapon SiegeWeapon { get; }

Property Value

SiegeWeapon

Methods

GetSiegeType(Type, BattleSideEnum)

public static SiegeEngineType GetSiegeType(Type t, BattleSideEnum side)

Parameters

t Type
side BattleSideEnum

Returns

SiegeEngineType

RefreshSiegeWeapon()

public void RefreshSiegeWeapon()

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