aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs
diff options
context:
space:
mode:
authorlbsa712007-10-30 09:05:31 +0000
committerlbsa712007-10-30 09:05:31 +0000
commit67e12b95ea7b68f4904a7484d77ecfd787d16d0c (patch)
tree20b00d24c8a7617017960432ec044852e3ad5fa9 /OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs
parent* Deleted .user file (diff)
downloadopensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.zip
opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.gz
opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.bz2
opensim-SC_OLD-67e12b95ea7b68f4904a7484d77ecfd787d16d0c.tar.xz
* Optimized usings
* Shortened type references * Removed redundant 'this' qualifier
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs11
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs
index 39dc878..9384efa 100644
--- a/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs
+++ b/OpenSim/Region/ExtensionsScriptModule/ScriptAPI.cs
@@ -27,24 +27,21 @@
27*/ 27*/
28 28
29using System; 29using System;
30using System.Collections.Generic; 30using OpenSim.Region.Environment.Scenes;
31using System.Text;
32using Key = libsecondlife.LLUUID; 31using Key = libsecondlife.LLUUID;
33using Rotation = libsecondlife.LLQuaternion; 32using Rotation = libsecondlife.LLQuaternion;
34using Vector = libsecondlife.LLVector3; 33using Vector = libsecondlife.LLVector3;
35using LSLList = System.Collections.Generic.List<string>; 34using LSLList = System.Collections.Generic.List<string>;
36 35
37 36
38using OpenSim.Region.Environment.Scenes;
39
40namespace OpenSim.Region.ExtensionsScriptModule 37namespace OpenSim.Region.ExtensionsScriptModule
41{ 38{
42 // This class is to be used for engines which may not be able to access the Scene directly. 39 // This class is to be used for engines which may not be able to access the Scene directly.
43 // Scene access is preffered, but obviously not possible on some non-.NET languages. 40 // Scene access is preffered, but obviously not possible on some non-.NET languages.
44 public class ScriptAPI 41 public class ScriptAPI
45 { 42 {
46 Scene scene; 43 private Scene scene;
47 ScriptInterpretedAPI interpretedAPI; 44 private ScriptInterpretedAPI interpretedAPI;
48 45
49 public ScriptAPI(Scene world, Key taskID) 46 public ScriptAPI(Scene world, Key taskID)
50 { 47 {
@@ -57,4 +54,4 @@ namespace OpenSim.Region.ExtensionsScriptModule
57 return null; 54 return null;
58 } 55 }
59 } 56 }
60} 57} \ No newline at end of file