aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneEvents.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneEvents.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
index 4f0ffc7..e62a8f8 100644
--- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
@@ -60,6 +60,14 @@ namespace OpenSim.Region.Environment.Scenes
60 60
61 public event RemoveScript OnRemoveScript; 61 public event RemoveScript OnRemoveScript;
62 62
63 public delegate void SceneGroupMoved(LLUUID groupID, LLVector3 delta);
64
65 public event SceneGroupMoved OnSceneGroupMove;
66
67 public delegate void SceneGroupGrabed(LLUUID groupID, LLVector3 offset);
68
69 public event SceneGroupGrabed OnSceneGroupGrab;
70
63 public void TriggerPermissionError(LLUUID user, string reason) 71 public void TriggerPermissionError(LLUUID user, string reason)
64 { 72 {
65 if (OnPermissionError != null) 73 if (OnPermissionError != null)
@@ -153,5 +161,21 @@ namespace OpenSim.Region.Environment.Scenes
153 OnRemoveScript(localID, itemID); 161 OnRemoveScript(localID, itemID);
154 } 162 }
155 } 163 }
164
165 public void TriggerGroupMove(LLUUID groupID, LLVector3 delta)
166 {
167 if (OnSceneGroupMove != null)
168 {
169 OnSceneGroupMove(groupID, delta);
170 }
171 }
172
173 public void TriggerGroupGrab(LLUUID groupID, LLVector3 offset)
174 {
175 if (OnSceneGroupGrab != null)
176 {
177 OnSceneGroupGrab(groupID, offset);
178 }
179 }
156 } 180 }
157} \ No newline at end of file 181} \ No newline at end of file