aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Terrain/ITerrainModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Terrain/ITerrainModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Terrain/ITerrainModule.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/ITerrainModule.cs b/OpenSim/Region/Environment/Modules/World/Terrain/ITerrainModule.cs
index 6ab2372..e255515 100644
--- a/OpenSim/Region/Environment/Modules/World/Terrain/ITerrainModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Terrain/ITerrainModule.cs
@@ -25,12 +25,33 @@
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.IO;
29
28namespace OpenSim.Region.Environment.Modules.World.Terrain 30namespace OpenSim.Region.Environment.Modules.World.Terrain
29{ 31{
30 public interface ITerrainModule 32 public interface ITerrainModule
31 { 33 {
32 void LoadFromFile(string filename); 34 void LoadFromFile(string filename);
33 void SaveToFile(string filename); 35 void SaveToFile(string filename);
36
37 /// <summary>
38 /// Load a terrain from a stream.
39 /// </summary>
40 /// <param name="filename">
41 /// Only required here to identify the image type. Not otherwise used in the loading itself.
42 /// </param>
43 /// <param name="stream"></param>
44 void LoadFromStream(string filename, Stream stream);
45
46 /// <summary>
47 /// Save a terrain to a stream.
48 /// </summary>
49 /// <param name="filename">
50 /// Only required here to identify the image type. Not otherwise used in the saving itself.
51 /// </param>
52 /// <param name="stream"></param>
53 void SaveToStream(string filename, Stream stream);
54
34 void InstallPlugin(string name, ITerrainEffect plug); 55 void InstallPlugin(string name, ITerrainEffect plug);
35 } 56 }
36} 57}