replace RemoteParcelRequest response encoding ( runprebuild needed)

This commit is contained in:
UbitUmarov
2018-11-14 13:12:25 +00:00
parent 48854ec83d
commit a1a8b5f4a7
2 changed files with 5 additions and 46 deletions

View File

@@ -2031,11 +2031,12 @@ namespace OpenSim.Region.CoreModules.World.Land
m_log.ErrorFormat("[LAND MANAGEMENT MODULE]: Wrong type in request {0}", request);
}
LLSDRemoteParcelResponse response = new LLSDRemoteParcelResponse();
response.parcel_id = parcelID;
//m_log.DebugFormat("[LAND MANAGEMENT MODULE]: Got parcelID {0}", parcelID);
return LLSDHelpers.SerialiseLLSDReply(response);
StringBuilder sb = LLSDxmlEncode.Start();
LLSDxmlEncode.AddMap(sb);
LLSDxmlEncode.AddElem("parcel_id", parcelID,sb);
LLSDxmlEncode.AddEndMap(sb);
return LLSDxmlEncode.End(sb);
}
#endregion