diff options
author | Adam Frisby | 2009-04-09 13:22:27 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-09 13:22:27 +0000 |
commit | 98eda9ebdb168957725c0476abc12cca4dcccd88 (patch) | |
tree | 7a9caf22991a9e8eef1f171b8be3382bd5e0e3c7 /OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs | |
parent | * Limits MRM scripting to Region Master Avatar only. (diff) | |
download | opensim-SC-98eda9ebdb168957725c0476abc12cca4dcccd88.zip opensim-SC-98eda9ebdb168957725c0476abc12cca4dcccd88.tar.gz opensim-SC-98eda9ebdb168957725c0476abc12cca4dcccd88.tar.bz2 opensim-SC-98eda9ebdb168957725c0476abc12cca4dcccd88.tar.xz |
* Adds World.OnNewUser += delegate(IWorld sender, NewUserEventArgs e);
* This event fires when a new avatar is created within the Scene. (Internally corresponds to EventManager.OnNewPresence)
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs index e7d9024..acb569f 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs | |||
@@ -29,6 +29,13 @@ using System; | |||
29 | 29 | ||
30 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 30 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
31 | { | 31 | { |
32 | public class NewUserEventArgs : EventArgs | ||
33 | { | ||
34 | public IAvatar Avatar; | ||
35 | } | ||
36 | |||
37 | public delegate void OnNewUserDelegate(IWorld sender, NewUserEventArgs e); | ||
38 | |||
32 | public class ChatEventArgs : EventArgs | 39 | public class ChatEventArgs : EventArgs |
33 | { | 40 | { |
34 | public string Text; | 41 | public string Text; |
@@ -45,5 +52,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
45 | IHeightmap Terrain { get; } | 52 | IHeightmap Terrain { get; } |
46 | 53 | ||
47 | event OnChatDelegate OnChat; | 54 | event OnChatDelegate OnChat; |
55 | event OnNewUserDelegate OnNewUser; | ||
48 | } | 56 | } |
49 | } | 57 | } |