mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
More plumbing on agent states
This commit is contained in:
@@ -174,6 +174,12 @@ namespace OpenSim.Server.Handlers.Simulation
|
||||
resp["reason"] = OSD.FromString(reason);
|
||||
resp["version"] = OSD.FromString(version);
|
||||
|
||||
OSDArray featuresWanted = new OSDArray();
|
||||
foreach (UUID feature in features)
|
||||
featuresWanted.Add(OSD.FromString(feature.ToString()));
|
||||
|
||||
resp["features"] = featuresWanted;
|
||||
|
||||
// We must preserve defaults here, otherwise a false "success" will not be put into the JSON map!
|
||||
responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user