aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule
diff options
context:
space:
mode:
authorTeravus Ovares2008-11-10 23:56:58 +0000
committerTeravus Ovares2008-11-10 23:56:58 +0000
commitd1457001150d7af6faf2a11e59b895320c6e3e9b (patch)
treee330afa46bdbafb24ec7bd8893a9c582c6718f68 /OpenSim/Region/Examples/SimpleModule
parentfix README.txt to be 0.6 (diff)
downloadopensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.zip
opensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.gz
opensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.bz2
opensim-SC_OLD-d1457001150d7af6faf2a11e59b895320c6e3e9b.tar.xz
* Commit allows downloading of the .raw terrain from the estate tools.
* Implements the SendInitiateDownload method in IClientAPI * Uses the ITerrainModule Interface to write a terrain file to disk then uses a FileStream to read the binary file from the disk and put it in a byte array. and save to the xFer list. * It then tells the client to download the file and the client initiates an Xfer request.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
index 789d24b..66fb6d8 100644
--- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
@@ -136,6 +136,7 @@ namespace OpenSim.Region.Examples.SimpleModule
136 public event CopyInventoryItem OnCopyInventoryItem; 136 public event CopyInventoryItem OnCopyInventoryItem;
137 public event MoveInventoryItem OnMoveInventoryItem; 137 public event MoveInventoryItem OnMoveInventoryItem;
138 public event UDPAssetUploadRequest OnAssetUploadRequest; 138 public event UDPAssetUploadRequest OnAssetUploadRequest;
139 public event RequestTerrain OnRequestTerrain;
139 public event XferReceive OnXferReceive; 140 public event XferReceive OnXferReceive;
140 public event RequestXfer OnRequestXfer; 141 public event RequestXfer OnRequestXfer;
141 public event ConfirmXfer OnConfirmXfer; 142 public event ConfirmXfer OnConfirmXfer;
@@ -615,6 +616,10 @@ namespace OpenSim.Region.Examples.SimpleModule
615 { 616 {
616 } 617 }
617 618
619 public void SendInitiateDownload(string simFileName, string clientFileName)
620 {
621 }
622
618 public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec) 623 public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec)
619 { 624 {
620 } 625 }