Skip to content

Latest commit

 

History

History
94 lines (79 loc) · 2.98 KB

multimap.md

File metadata and controls

94 lines (79 loc) · 2.98 KB

Multimap

Gets network details.

Get Info

Command

Key Value Comment
method "get_multi_maps_list"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "get_multi_maps_list",
    "id": 7840
}

Response

Key Example Description
id 7840 Returned ID from request
result Response to the command
max_multi_map 4 Maximum Saved maps
max_bak_map 0 Maximum backup maps
multi_map_count 3 Actual stored maps
map_info array Array of storred maps
mapFlag 0-4 Map number
length 11 ??
name anyMapname Mapname from the map
bak_maps array Array of Backup maps

Example

{
  "id": 36,
  "result": [
    {
      "max_multi_map": 4,
      "max_bak_map": 0,
      "multi_map_count": 3,
      "map_info": [
        {
          "mapFlag": 0,
          "add_time": 1619719086,
          "length": 11,
          "name": "Erdgeschoss",
          "bak_maps": []
        },
        {
          "mapFlag": 1,
          "add_time": 1619709702,
          "length": 5,
          "name": "TEST3",
          "bak_maps": []
        },
        {
          "mapFlag": 2,
          "add_time": 1619721286,
          "length": 0,
          "name": "",
          "bak_maps": []
        }
      ]
    }
  ],
  "exe_time": 100
}

load Multimap

Key Value Comment
method "load_multi_map"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "load_multi_map",
    "params": [
        [1], // Mapnumber
    ],
    "id": 7840
}