diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Framework')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs index 21be82a..4833f27 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs | |||
@@ -78,6 +78,21 @@ namespace OpenSim.Region.Environment | |||
78 | return buildEvent("EnableSimulator", llsdBody); | 78 | return buildEvent("EnableSimulator", llsdBody); |
79 | } | 79 | } |
80 | 80 | ||
81 | public static OSD DisableSimulator(ulong Handle) | ||
82 | { | ||
83 | OSDMap llsdSimInfo = new OSDMap(1); | ||
84 | |||
85 | llsdSimInfo.Add("Handle", new OSDBinary(regionHandleToByteArray(Handle))); | ||
86 | |||
87 | OSDArray arr = new OSDArray(1); | ||
88 | arr.Add(llsdSimInfo); | ||
89 | |||
90 | OSDMap llsdBody = new OSDMap(1); | ||
91 | llsdBody.Add("SimulatorInfo", arr); | ||
92 | |||
93 | return buildEvent("DisableSimulator", llsdBody); | ||
94 | } | ||
95 | |||
81 | public static OSD CrossRegion(ulong Handle, Vector3 pos, Vector3 lookAt, | 96 | public static OSD CrossRegion(ulong Handle, Vector3 pos, Vector3 lookAt, |
82 | IPEndPoint newRegionExternalEndPoint, | 97 | IPEndPoint newRegionExternalEndPoint, |
83 | string capsURL, UUID AgentID, UUID SessionID) | 98 | string capsURL, UUID AgentID, UUID SessionID) |