Skip to content

IChange

Denadan edited this page Jul 12, 2018 · 1 revision

About

This interface used to queue and execute actiona during Drop Item process. Currently only actions for add and remove item implemented, but you can implement any others if need something special.

SlotChange

Base class for inventory items.

Fields

  • ChassisLocations location - affected location
  • MechLabItemSlotElement item - added or removed item

AddChange

Implement adding items. Add item and if item not Default create WorkOrder for installing it.

RemoveChange

Implement removing item. Remove item from inventory, and if it not Default return to storage/put in remove bin.

Clone this wiki locally