aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-05-01 16:35:00 +0000
committerAdam Frisby2008-05-01 16:35:00 +0000
commit13526097f24b7a8ad63b1d482c44b44397fa055f (patch)
tree7a82c20ed7c63e2aea5ad3863325e37f64e1cbea /OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
parent* Breaking all the code, breaking all the code..! (diff)
downloadopensim-SC-13526097f24b7a8ad63b1d482c44b44397fa055f.zip
opensim-SC-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.gz
opensim-SC-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.bz2
opensim-SC-13526097f24b7a8ad63b1d482c44b44397fa055f.tar.xz
* Spring cleaning on Region.Environment.
* Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
index 4b1b56a..a37ce53 100644
--- a/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
+++ b/OpenSim/Region/Environment/Scenes/Scripting/NullScriptHost.cs
@@ -33,7 +33,9 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
33{ 33{
34 public class NullScriptHost : IScriptHost 34 public class NullScriptHost : IScriptHost
35 { 35 {
36 private LLVector3 m_pos = new LLVector3(128, 128, 30); 36 private readonly LLVector3 m_pos = new LLVector3(128, 128, 30);
37
38 #region IScriptHost Members
37 39
38 public string Name 40 public string Name
39 { 41 {
@@ -83,5 +85,7 @@ namespace OpenSim.Region.Environment.Scenes.Scripting
83 { 85 {
84 Console.WriteLine("Tried to SetText [{0}] on NullScriptHost", text); 86 Console.WriteLine("Tried to SetText [{0}] on NullScriptHost", text);
85 } 87 }
88
89 #endregion
86 } 90 }
87} 91} \ No newline at end of file