screeps-api
    Preparing search index...

    Interface UserMemorySegmentGetResponse

    GET /api/user/memory-segment response

    interface UserMemorySegmentGetResponse {
        data: string | (string | null)[] | null;
        ok: 1;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    data: string | (string | null)[] | null

    The contents of the requested RawMemory.segments.

    If a single segment ID is specified, returns the contents of that segment as a string.

    If multiple segment IDs are specified, returns the contents of each requested segment as a string array. The order of segment data in this array matches the order of the segment IDs array from the request.

    null will be returned instead of a string for any uninitialized segment.

    ok: 1

    An API success response always contains { ok: 1 }