Table of Contents

Class DeploymentSiegeMachineVM

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

Constructors

DeploymentSiegeMachineVM(DeploymentPoint, SiegeWeapon, Camera, Action<DeploymentSiegeMachineVM>, Action<DeploymentPoint>, bool)

public DeploymentSiegeMachineVM(DeploymentPoint selectedDeploymentPoint, SiegeWeapon siegeMachine, Camera deploymentCamera, Action<DeploymentSiegeMachineVM> onSelectSiegeMachine, Action<DeploymentPoint> onHoverSiegeMachine, bool isSelected)

Parameters

selectedDeploymentPoint DeploymentPoint
siegeMachine SiegeWeapon
deploymentCamera Camera
onSelectSiegeMachine Action<DeploymentSiegeMachineVM>
onHoverSiegeMachine Action<DeploymentPoint>
isSelected bool

Fields

Machine

public SiegeEngineType Machine

Field Value

SiegeEngineType

MachineType

public Type MachineType

Field Value

Type

SiegeWeapon

public SiegeWeapon SiegeWeapon

Field Value

SiegeWeapon

Properties

BreachedText

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

Property Value

string

DeploymentPoint

public DeploymentPoint DeploymentPoint { get; }

Property Value

DeploymentPoint

IsInFront

public bool IsInFront { get; set; }

Property Value

bool

IsInside

public bool IsInside { get; set; }

Property Value

bool

IsPlayerGeneral

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

Property Value

bool

IsSelected

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

Property Value

bool

MachineClass

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

Property Value

string

Position

public Vec2 Position { get; set; }

Property Value

Vec2

RemainingCount

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

Property Value

int

Type

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

Property Value

int

Methods

CalculatePosition()

public void CalculatePosition()

ExecuteAction()

public void ExecuteAction()

ExecuteFocusBegin()

public void ExecuteFocusBegin()

ExecuteFocusEnd()

public void ExecuteFocusEnd()

RefreshPosition()

public void RefreshPosition()

RefreshValues()

public override void RefreshValues()

RefreshWithDeployedWeapon()

public void RefreshWithDeployedWeapon()

Update()

public void Update()

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