diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/TextureDownloadModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs new file mode 100644 index 0000000..a92566d --- /dev/null +++ b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | |||
@@ -0,0 +1,49 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using OpenSim.Framework.Interfaces; | ||
6 | using OpenSim.Region.Environment.Scenes; | ||
7 | using OpenSim.Region.Environment.Interfaces; | ||
8 | |||
9 | namespace OpenSim.Region.Environment.Modules | ||
10 | { | ||
11 | public class TextureDownloadModule :IRegionModule | ||
12 | { | ||
13 | private Scene m_scene; | ||
14 | |||
15 | public TextureDownloadModule() | ||
16 | { | ||
17 | |||
18 | } | ||
19 | |||
20 | public void Initialise(Scene scene) | ||
21 | { | ||
22 | m_scene = scene; | ||
23 | m_scene.EventManager.OnNewClient += NewClient; | ||
24 | } | ||
25 | |||
26 | public void PostInitialise() | ||
27 | { | ||
28 | |||
29 | } | ||
30 | |||
31 | public void CloseDown() | ||
32 | { | ||
33 | } | ||
34 | |||
35 | public string GetName() | ||
36 | { | ||
37 | return "TextureDownloadModule"; | ||
38 | } | ||
39 | |||
40 | public void NewClient(IClientAPI client) | ||
41 | { | ||
42 | } | ||
43 | |||
44 | public void TextureAssetCallback(LLUUID texture, byte[] data) | ||
45 | { | ||
46 | |||
47 | } | ||
48 | } | ||
49 | } | ||