Interface IDispatchCenterCustomEquipment
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Enables the creation of custom equipment for units within a command center, which assists in the suggestion process during dispatch operations but does not influence simulation outcomes directly.
public interface IDispatchCenterCustomEquipment
Properties
Id
long Id { get; set; }
Property Value
Number
The slot number used for this equipment, ranging from 1 to 20. Each number is unique within the command center.
int Number { get; set; }
Property Value
Text
The display name of the equipment.
string Text { get; set; }
Property Value
Methods
GetCustomUnitEquipment()
Calculates the corresponding UnitEquipment enum index based on the custom number assigned.
UnitEquipment? GetCustomUnitEquipment()
Returns
- UnitEquipment?
A nullable UnitEquipment representing the custom equipment or null if the number is outside the valid range.
Exceptions
- InvalidOperationException
Thrown when the
.Number is >= 1 and <= 20