screeps-api
    Preparing search index...

    Interface Structure

    The base prototype object of all structures.

    https://docs.screeps.com/api/#Structure

    interface Structure {
        _id: string;
        _isDisabled: boolean;
        effects?: { [index: number]: Effect } | null;
        name?: string;
        room: string;
        type: StructureType;
        x: number;
        y: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _id: string
    _isDisabled: boolean
    effects?: { [index: number]: Effect } | null

    Temporary effects that are active on this object

    name?: string
    room: string
    x: number
    y: number