diff options
author | lbsa71 | 2007-09-19 00:30:55 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-19 00:30:55 +0000 |
commit | 8f0b03597b0bc8ea6873af9a55495407fae1ec56 (patch) | |
tree | f9f4de38379aebf2223ad4cb10a3d9ebcfa52a4f /OpenSim/Region/Environment/Interfaces | |
parent | * Moved SendLogoutPacket back to IClientAPI. (diff) | |
download | opensim-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')
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 @@ | |||
1 | using System; | 1 | using System.IO; |
2 | using System.Collections.Generic; | 2 | using libsecondlife; |
3 | using System.Text; | 3 | |
4 | using System.IO; | ||
5 | using libsecondlife; | ||
6 | |||
7 | namespace OpenSim.Region.Environment.Interfaces | 4 | namespace 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 @@ | |||
1 | using System; | 1 | using libsecondlife; |
2 | using System.Collections.Generic; | 2 | |
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | |||
6 | namespace OpenSim.Region.Environment.Interfaces | 3 | namespace 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 | ||
29 | using System.Collections.Generic; | ||
29 | using libsecondlife; | 30 | using libsecondlife; |
30 | |||
31 | using OpenSim.Framework.Types; | ||
32 | using OpenSim.Region; | ||
33 | using OpenSim.Region.Environment; | ||
34 | using OpenSim.Region.Environment.Scenes; | ||
35 | using OpenSim.Region.Environment.LandManagement; | 31 | using OpenSim.Region.Environment.LandManagement; |
36 | 32 | using OpenSim.Region.Environment.Scenes; | |
37 | using System.Collections.Generic; | ||
38 | 33 | ||
39 | namespace OpenSim.Region.Environment.Interfaces | 34 | namespace 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 @@ | |||
1 | using System; | 1 | using OpenSim.Region.Environment.Scenes; |
2 | using System.Collections.Generic; | 2 | |
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.Environment.Interfaces | 3 | namespace 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 @@ | |||
1 | using System; | 1 | using libsecondlife; |
2 | using System.Collections.Generic; | 2 | |
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | |||
6 | namespace OpenSim.Region.Environment.Interfaces | 3 | namespace 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 @@ | |||
1 | using System; | 1 | using OpenSim.Framework.Interfaces; |
2 | using System.Collections.Generic; | 2 | |
3 | using System.Text; | ||
4 | using OpenSim.Framework.Interfaces; | ||
5 | |||
6 | namespace OpenSim.Region.Environment.Interfaces | 3 | namespace 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.Environment.Interfaces | 1 | namespace 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 |