aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs
index b35b57d..e7d9024 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/IWorld.cs
@@ -25,13 +25,25 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
29
28namespace OpenSim.Region.OptionalModules.Scripting.Minimodule 30namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
29{ 31{
32 public class ChatEventArgs : EventArgs
33 {
34 public string Text;
35 public IEntity Sender;
36 }
37
38 public delegate void OnChatDelegate(IWorld sender, ChatEventArgs e);
39
30 public interface IWorld 40 public interface IWorld
31 { 41 {
32 IObjectAccessor Objects { get; } 42 IObjectAccessor Objects { get; }
33 IAvatar[] Avatars { get; } 43 IAvatar[] Avatars { get; }
34 IParcel[] Parcels { get; } 44 IParcel[] Parcels { get; }
35 IHeightmap Terrain { get; } 45 IHeightmap Terrain { get; }
46
47 event OnChatDelegate OnChat;
36 } 48 }
37} 49}