screeps-api
    Preparing search index...

    Interface RoomMap2Event

    WebSocket event for updates to the map (appears to apply to the original map, alpha map, and minimap in the room view).

    Raw sample events:
    ["roomMap2:shardSeason/E16N7",{"w":[],"r":[],"pb":[],"p":[],"s":[[11,36]],"c":[[43,37]],"m":[[30,29]],"k":[]}]
    interface RoomMap2Event {
        data: RoomMap2EventData;
        id: string;
        path: string;
        type: "roomMap2";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    The event payload. Extensions of this interface should specify a more precise type.

    id: string

    The name of the shard or the name of the room.

    On official servers, this is set to the shard name. On unofficial servers, this is set to the room name.

    path: string

    The name of the room or an empty string

    On official servers, this is set to the room name. On unofficial servers, this is an empty string.

    type: "roomMap2"