Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OvermindConsole

OvermindConsole registers a number of global methods for direct use in the Screeps console

Hierarchy

  • OvermindConsole

Index

Methods

Static cancelRoomPlanner

  • cancelRoomPlanner(roomName: string): string

Static closeRoomPlanner

  • closeRoomPlanner(roomName: string): string

Static debug

  • debug(thing: object): string

Static deepCleanMemory

  • deepCleanMemory(): string

Static destroyAllBarriers

  • destroyAllBarriers(roomName: string): string

Static destroyAllHostileStructures

  • destroyAllHostileStructures(roomName: string): string

Static destroyErrantStructures

  • destroyErrantStructures(roomName: string): string

Static endRemoteDebugSession

  • endRemoteDebugSession(): string

Static help

  • help(): string

Static info

  • info(aligned?: boolean): string

Static init

  • init(): void

Static listActiveRoomPlanners

  • listActiveRoomPlanners(): string

Static listConstructionSites

  • listConstructionSites(filter?: undefined | function): string

Static listDirectives

  • listDirectives(filter?: undefined | function): string

Static listPersistentDirectives

  • listPersistentDirectives(): string

Static notifications

  • notifications(): string

Static openRoomPlanner

  • openRoomPlanner(roomName: string): string

Static print

  • print(...args: any[]): string

Static printUpdateMessage

  • printUpdateMessage(aligned?: boolean): void

Static removeAllLogisticsDirectives

  • removeAllLogisticsDirectives(): string

Static removeErrantFlags

  • removeErrantFlags(): string

Static removeFlagsByColor

  • removeFlagsByColor(color: ColorConstant, secondaryColor: ColorConstant): string
  • Parameters

    • color: ColorConstant
    • secondaryColor: ColorConstant

    Returns string

Static setMode

  • setMode(mode: operationMode): string

Static setSignature

  • setSignature(signature: string | undefined): string | undefined

Static startRemoteDebugSession

  • startRemoteDebugSession(): string

Static stopDebug

  • stopDebug(thing: object): string

Static timeit

  • timeit(callback: function, repeat?: number): string
  • Parameters

    • callback: function
        • (): any
        • Returns any

    • Default value repeat: number = 1

    Returns string

Generated using TypeDoc