Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransportRequestGroup

Transport request groups handle close-range prioritized resource requests, in contrast to the logistics network, which handles longer-ranged requests

Hierarchy

  • TransportRequestGroup

Index

Constructors

constructor

Properties

supply

supply: object

Type declaration

supplyByID

supplyByID: object

Type declaration

withdraw

withdraw: object

Type declaration

withdrawByID

withdrawByID: object

Type declaration

Accessors

needsSupplying

  • get needsSupplying(): boolean

needsWithdrawing

  • get needsWithdrawing(): boolean

Methods

Private getInputAmount

Private getOutputAmount

getPrioritizedClosestRequest

  • getPrioritizedClosestRequest(pos: RoomPosition, type: "supply" | "withdraw", filter?: function | undefined): TransportRequest | undefined

refresh

  • refresh(): void

requestInput

requestOutput

summarize

  • summarize(ignoreEnergy?: boolean): void

Generated using TypeDoc