aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneEvents.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneEvents.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
index 694c548..9c8c62b 100644
--- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs
@@ -42,6 +42,10 @@ namespace OpenSim.Region.Environment.Scenes
42 42
43 public event OnFrameDelegate OnFrame; 43 public event OnFrameDelegate OnFrame;
44 44
45 public delegate void ClientMovement(ScenePresence client);
46
47 public event ClientMovement OnClientMovement;
48
45 public delegate void OnBackupDelegate(IRegionDataStore datastore); 49 public delegate void OnBackupDelegate(IRegionDataStore datastore);
46 50
47 public event OnBackupDelegate OnBackup; 51 public event OnBackupDelegate OnBackup;
@@ -110,6 +114,13 @@ namespace OpenSim.Region.Environment.Scenes
110 114
111 public event AvatarEnteringNewParcel OnAvatarEnteringNewParcel; 115 public event AvatarEnteringNewParcel OnAvatarEnteringNewParcel;
112 116
117
118 public void TriggerOnClientMovement(ScenePresence avatar)
119 {
120 if(OnClientMovement != null)
121 OnClientMovement(avatar);
122 }
123
113 public void TriggerPermissionError(LLUUID user, string reason) 124 public void TriggerPermissionError(LLUUID user, string reason)
114 { 125 {
115 if (OnPermissionError != null) 126 if (OnPermissionError != null)