Get Grid Region Data

18 December 2014

  • Release 7.31 - added.
getgridregiondata (Commands)
TypeCorrade progressive command
Commandgetgridregiondata
DescriptionThe getgridregiondata command gets information about any grid region following the libopenmetaverse GridRegion structure.
Permissionsland
Parametersgroup, password, data
Last ChangesRelease 7.31 - added.

The getgridregiondata command gets information about any grid region following the libopenmetaverse GridRegion structure.

Command Required Parameters Required Corrade Permissions Example
getgridregiondata group, password, data land
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getgridregiondata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // get the number of agents and
            // the water height for the region
            // named "Puget Sound" and return
            "region", "Puget Sound",
            "data", wasListToCSV(
                [
                    "Agents",
                    "WaterHeight"
                ]
            ),
            // sent to URL
            "callback", wasURLEscape(URL)
        ]
    )
);

The data parameter is supplied a CSV list of fields and properties of a libopenmetaverse GridRegion structure, including any sub-structures.

Optional Parameters Possible Value Description
region The name of a region on the grid. If this parameter is not specified, Corrade assumes the current region.