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
DeploymentPointsiegeMachine
SiegeWeapondeploymentCamera
CameraonSelectSiegeMachine
Action<DeploymentSiegeMachineVM>onHoverSiegeMachine
Action<DeploymentPoint>isSelected
bool
Fields
Machine
public SiegeEngineType Machine
Field Value
MachineType
public Type MachineType
Field Value
SiegeWeapon
public SiegeWeapon SiegeWeapon
Field Value
Properties
BreachedText
[DataSourceProperty]
public string BreachedText { get; set; }
Property Value
DeploymentPoint
public DeploymentPoint DeploymentPoint { get; }
Property Value
IsInFront
public bool IsInFront { get; set; }
Property Value
IsInside
public bool IsInside { get; set; }
Property Value
IsPlayerGeneral
[DataSourceProperty]
public bool IsPlayerGeneral { get; set; }
Property Value
IsSelected
[DataSourceProperty]
public bool IsSelected { get; set; }
Property Value
MachineClass
[DataSourceProperty]
public string MachineClass { get; set; }
Property Value
Position
public Vec2 Position { get; set; }
Property Value
RemainingCount
[DataSourceProperty]
public int RemainingCount { get; set; }
Property Value
Type
[DataSourceProperty]
public int Type { get; set; }
Property Value
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).