CleanupPlanPlacementTemplate

class CleanupPlanPlacementTemplate(val slotContentMap: Map<ItemSlot, ItemSortChoice>, val itemAmountConstraintProvider: (ItemFacet) -> MutableList<ItemConstraintInfo>, val isGreedy: Boolean, val forbiddenSlots: Set<ItemSlot>, val forbiddenSlotsToFill: Set<ItemSlot>)

Constructors

Link copied to clipboard
constructor(slotContentMap: Map<ItemSlot, ItemSortChoice>, itemAmountConstraintProvider: (ItemFacet) -> MutableList<ItemConstraintInfo>, isGreedy: Boolean, forbiddenSlots: Set<ItemSlot>, forbiddenSlotsToFill: Set<ItemSlot>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

If false, slots which also contains items of that category, those items are not replaced with other items.

Link copied to clipboard

A function which provides constraint groups for each item category and the number which the item counts against the given constraint. More info on how constraints work at ItemNumberConstraintGroup.

Link copied to clipboard

Contains requests for each slot (e.g. Slot 1 -> SWORD, Slot 8 -> BLOCK, etc.)