aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IRegionConsole.cs
diff options
context:
space:
mode:
authorMelanie2012-08-18 22:36:48 +0200
committerMelanie2012-08-18 22:36:48 +0200
commit0a959343a58b06d68d86be4607003b1c3d83a981 (patch)
tree11d27201feab9ac963fd6b9f09f75e15ac3d7194 /OpenSim/Region/Framework/Interfaces/IRegionConsole.cs
parentFix a typo (diff)
downloadopensim-SC-0a959343a58b06d68d86be4607003b1c3d83a981.zip
opensim-SC-0a959343a58b06d68d86be4607003b1c3d83a981.tar.gz
opensim-SC-0a959343a58b06d68d86be4607003b1c3d83a981.tar.bz2
opensim-SC-0a959343a58b06d68d86be4607003b1c3d83a981.tar.xz
Make the console output from the reigon console hookable
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IRegionConsole.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IRegionConsole.cs b/OpenSim/Region/Framework/Interfaces/IRegionConsole.cs
index 4d261d6..5d5ce34 100644
--- a/OpenSim/Region/Framework/Interfaces/IRegionConsole.cs
+++ b/OpenSim/Region/Framework/Interfaces/IRegionConsole.cs
@@ -30,8 +30,12 @@ using OpenSim.Framework;
30 30
31namespace OpenSim.Region.Framework.Interfaces 31namespace OpenSim.Region.Framework.Interfaces
32{ 32{
33 public delegate void ConsoleMessage(UUID toAgentID, string message);
34
33 public interface IRegionConsole 35 public interface IRegionConsole
34 { 36 {
37 event ConsoleMessage OnConsoleMessage;
38
35 bool RunCommand(string command, UUID invokerID); 39 bool RunCommand(string command, UUID invokerID);
36 void SendConsoleOutput(UUID agentID, string message); 40 void SendConsoleOutput(UUID agentID, string message);
37 void AddCommand(string module, bool shared, string command, string help, string longhelp, CommandDelegate fn); 41 void AddCommand(string module, bool shared, string command, string help, string longhelp, CommandDelegate fn);