Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Replaced<Power, MilitaryBranch, Result, Error>

Result of an order execution. It is used when the original order is replaced.

Type parameters

  • Power

  • MilitaryBranch

  • Result

  • Error

Hierarchy

  • Replaced

Implements

Index

Constructors

constructor

  • new Replaced(target: Order<Power, MilitaryBranch>, invalidReason: Error, replacedBy: Order<Power, MilitaryBranch>, result: Result): Replaced
  • Parameters

    • target: Order<Power, MilitaryBranch>

      The target order.

    • invalidReason: Error

      The reason why the target is replaced

    • replacedBy: Order<Power, MilitaryBranch>

      The order that replaces the target.

    • result: Result

      The result of the target.

    Returns Replaced

Properties

invalidReason

invalidReason: Error

The reason why the target is replaced

replacedBy

replacedBy: Order<Power, MilitaryBranch>

The order that replaces the target.

result

result: Result

The result of the target.

target

target: Order<Power, MilitaryBranch>

The target order.

Generated using TypeDoc