Interface ITerminalHost

All Superinterfaces:
IConfigurableObject, ISubMenuHost, IUpgradeableObject
All Known Subinterfaces:
IPortableTerminal

public interface ITerminalHost extends IUpgradeableObject, IConfigurableObject, ISubMenuHost
  • Method Details

    • getInventory

      MEStorage getInventory()
      Please note that this will only be called once when the menu is opened. If the inventory of this terminal host can change during its lifecycle, you need to return a SupplierStorage.
    • getLinkStatus

      ILinkStatus getLinkStatus()
      For hosts that do not have a fixed connection to the grid, this method is used to give feedback to the player about the current connection status.
    • getCloseHotkey

      @Nullable default @Nullable String getCloseHotkey()
      An optional hotkey used to close the terminal while its open.
      Returns:
      Hotkey id as it would be registered by Hotkeys, or null if there isn't one