aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces
diff options
context:
space:
mode:
authorlbsa712007-09-19 00:30:55 +0000
committerlbsa712007-09-19 00:30:55 +0000
commit8f0b03597b0bc8ea6873af9a55495407fae1ec56 (patch)
treef9f4de38379aebf2223ad4cb10a3d9ebcfa52a4f /OpenSim/Region/Environment/Interfaces
parent* Moved SendLogoutPacket back to IClientAPI. (diff)
downloadopensim-SC_OLD-8f0b03597b0bc8ea6873af9a55495407fae1ec56.zip
opensim-SC_OLD-8f0b03597b0bc8ea6873af9a55495407fae1ec56.tar.gz
opensim-SC_OLD-8f0b03597b0bc8ea6873af9a55495407fae1ec56.tar.bz2
opensim-SC_OLD-8f0b03597b0bc8ea6873af9a55495407fae1ec56.tar.xz
* Modernized ScriptManager to new interface-based module calls.
* 'remove redundant this qualifier' ftw
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces')
-rw-r--r--OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs21
-rw-r--r--OpenSim/Region/Environment/Interfaces/IHttpRequests.cs9
-rw-r--r--OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs9
-rw-r--r--OpenSim/Region/Environment/Interfaces/IRegionModule.cs10
-rw-r--r--OpenSim/Region/Environment/Interfaces/ISimChat.cs9
-rw-r--r--OpenSim/Region/Environment/Interfaces/ITerrain.cs16
-rw-r--r--OpenSim/Region/Environment/Interfaces/IXfer.cs6
7 files changed, 32 insertions, 48 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
index 727b386..05cecf8 100644
--- a/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
+++ b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs
@@ -1,17 +1,18 @@
1using System; 1using System.IO;
2using System.Collections.Generic; 2using libsecondlife;
3using System.Text; 3
4using System.IO;
5using libsecondlife;
6
7namespace OpenSim.Region.Environment.Interfaces 4namespace OpenSim.Region.Environment.Interfaces
8{ 5{
9 public interface IDynamicTextureManager 6 public interface IDynamicTextureManager
10 { 7 {
11 void RegisterRender(string handleType, IDynamicTextureRender render); 8 void RegisterRender(string handleType, IDynamicTextureRender render);
12 void ReturnData(LLUUID id, byte[] data); 9 void ReturnData(LLUUID id, byte[] data);
13 LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams, int updateTimer); 10
14 LLUUID AddDynamicTextureData(LLUUID simID, LLUUID primID, string contentType, string data, string extraParams, int updateTimer); 11 LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams,
12 int updateTimer);
13
14 LLUUID AddDynamicTextureData(LLUUID simID, LLUUID primID, string contentType, string data, string extraParams,
15 int updateTimer);
15 } 16 }
16 17
17 public interface IDynamicTextureRender 18 public interface IDynamicTextureRender
@@ -24,4 +25,4 @@ namespace OpenSim.Region.Environment.Interfaces
24 bool AsyncConvertUrl(LLUUID id, string url, string extraParams); 25 bool AsyncConvertUrl(LLUUID id, string url, string extraParams);
25 bool AsyncConvertData(LLUUID id, string bodyData, string extraParams); 26 bool AsyncConvertData(LLUUID id, string bodyData, string extraParams);
26 } 27 }
27} 28} \ No newline at end of file
diff --git a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs
index e974e25..cb00b48 100644
--- a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs
+++ b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs
@@ -1,12 +1,9 @@
1using System; 1using libsecondlife;
2using System.Collections.Generic; 2
3using System.Text;
4using libsecondlife;
5
6namespace OpenSim.Region.Environment.Interfaces 3namespace OpenSim.Region.Environment.Interfaces
7{ 4{
8 public interface IHttpRequests 5 public interface IHttpRequests
9 { 6 {
10 LLUUID MakeHttpRequest(string url, string type, string body); 7 LLUUID MakeHttpRequest(string url, string type, string body);
11 } 8 }
12} 9} \ No newline at end of file
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
index 89a0e8c..1a00f2c 100644
--- a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
+++ b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs
@@ -26,15 +26,10 @@
26* 26*
27*/ 27*/
28 28
29using System.Collections.Generic;
29using libsecondlife; 30using libsecondlife;
30
31using OpenSim.Framework.Types;
32using OpenSim.Region;
33using OpenSim.Region.Environment;
34using OpenSim.Region.Environment.Scenes;
35using OpenSim.Region.Environment.LandManagement; 31using OpenSim.Region.Environment.LandManagement;
36 32using OpenSim.Region.Environment.Scenes;
37using System.Collections.Generic;
38 33
39namespace OpenSim.Region.Environment.Interfaces 34namespace OpenSim.Region.Environment.Interfaces
40{ 35{
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs
index 47f3d92..981b73f 100644
--- a/OpenSim/Region/Environment/Interfaces/IRegionModule.cs
+++ b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs
@@ -1,15 +1,13 @@
1using System; 1using OpenSim.Region.Environment.Scenes;
2using System.Collections.Generic; 2
3using System.Text;
4
5namespace OpenSim.Region.Environment.Interfaces 3namespace OpenSim.Region.Environment.Interfaces
6{ 4{
7 public interface IRegionModule 5 public interface IRegionModule
8 { 6 {
9 void Initialise(Scenes.Scene scene); 7 void Initialise(Scene scene);
10 void PostInitialise(); 8 void PostInitialise();
11 void CloseDown(); 9 void CloseDown();
12 string GetName(); 10 string GetName();
13 bool IsSharedModule(); 11 bool IsSharedModule();
14 } 12 }
15} 13} \ No newline at end of file
diff --git a/OpenSim/Region/Environment/Interfaces/ISimChat.cs b/OpenSim/Region/Environment/Interfaces/ISimChat.cs
index f0adabc..5aa78ab 100644
--- a/OpenSim/Region/Environment/Interfaces/ISimChat.cs
+++ b/OpenSim/Region/Environment/Interfaces/ISimChat.cs
@@ -1,12 +1,9 @@
1using System; 1using libsecondlife;
2using System.Collections.Generic; 2
3using System.Text;
4using libsecondlife;
5
6namespace OpenSim.Region.Environment.Interfaces 3namespace OpenSim.Region.Environment.Interfaces
7{ 4{
8 public interface ISimChat 5 public interface ISimChat
9 { 6 {
10 void SimChat(byte[] message, byte type, int channel, LLVector3 fromPos, string fromName, LLUUID fromAgentID); 7 void SimChat(byte[] message, byte type, int channel, LLVector3 fromPos, string fromName, LLUUID fromAgentID);
11 } 8 }
12} 9} \ No newline at end of file
diff --git a/OpenSim/Region/Environment/Interfaces/ITerrain.cs b/OpenSim/Region/Environment/Interfaces/ITerrain.cs
index 576c5b4..f9ff71a 100644
--- a/OpenSim/Region/Environment/Interfaces/ITerrain.cs
+++ b/OpenSim/Region/Environment/Interfaces/ITerrain.cs
@@ -1,16 +1,16 @@
1using System; 1using OpenSim.Framework.Interfaces;
2using System.Collections.Generic; 2
3using System.Text;
4using OpenSim.Framework.Interfaces;
5
6namespace OpenSim.Region.Environment.Interfaces 3namespace OpenSim.Region.Environment.Interfaces
7{ 4{
8 public interface ITerrain 5 public interface ITerrain
9 { 6 {
10 bool Tainted(); 7 bool Tainted();
11 bool Tainted(int x, int y); 8 bool Tainted(int x, int y);
12 void ResetTaint(); 9 void ResetTaint();
13 void ModifyTerrain(float height, float seconds, byte brushsize, byte action, float north, float west, IClientAPI remoteUser); 10
11 void ModifyTerrain(float height, float seconds, byte brushsize, byte action, float north, float west,
12 IClientAPI remoteUser);
13
14 void CheckHeightValues(); 14 void CheckHeightValues();
15 float[] GetHeights1D(); 15 float[] GetHeights1D();
16 float[,] GetHeights2D(); 16 float[,] GetHeights2D();
@@ -43,4 +43,4 @@ namespace OpenSim.Region.Environment.Interfaces
43 void ExportImage(string filename, string gradientmap); 43 void ExportImage(string filename, string gradientmap);
44 byte[] ExportJpegImage(string gradientmap); 44 byte[] ExportJpegImage(string gradientmap);
45 } 45 }
46} 46} \ No newline at end of file
diff --git a/OpenSim/Region/Environment/Interfaces/IXfer.cs b/OpenSim/Region/Environment/Interfaces/IXfer.cs
index 7482ec0..6fd4d6f 100644
--- a/OpenSim/Region/Environment/Interfaces/IXfer.cs
+++ b/OpenSim/Region/Environment/Interfaces/IXfer.cs
@@ -1,11 +1,7 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Region.Environment.Interfaces 1namespace OpenSim.Region.Environment.Interfaces
6{ 2{
7 public interface IXfer 3 public interface IXfer
8 { 4 {
9 bool AddNewFile(string fileName, byte[] data); 5 bool AddNewFile(string fileName, byte[] data);
10 } 6 }
11} 7} \ No newline at end of file