diff options
author | Melanie | 2009-12-22 15:37:24 +0000 |
---|---|---|
committer | Melanie | 2009-12-22 15:37:24 +0000 |
commit | 73491cceed9518105140ce5ae6925ab76f57d853 (patch) | |
tree | 03b2648ac6fc138a2ef3b038bc4a308d6f46179c /OpenSim/Region | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Remove an insterface member that was never used (diff) | |
download | opensim-SC_OLD-73491cceed9518105140ce5ae6925ab76f57d853.zip opensim-SC_OLD-73491cceed9518105140ce5ae6925ab76f57d853.tar.gz opensim-SC_OLD-73491cceed9518105140ce5ae6925ab76f57d853.tar.bz2 opensim-SC_OLD-73491cceed9518105140ce5ae6925ab76f57d853.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs index 02d1511..25ec92d 100644 --- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs | |||
@@ -76,7 +76,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces | |||
76 | 76 | ||
77 | void SetScriptState(UUID itemID, bool state); | 77 | void SetScriptState(UUID itemID, bool state); |
78 | bool GetScriptState(UUID itemID); | 78 | bool GetScriptState(UUID itemID); |
79 | void SetState(UUID itemID, string newState); | ||
80 | void ApiResetScript(UUID itemID); | 79 | void ApiResetScript(UUID itemID); |
81 | void ResetScript(UUID itemID); | 80 | void ResetScript(UUID itemID); |
82 | IConfig Config { get; } | 81 | IConfig Config { get; } |
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index fd12741..ac3dc13 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -1264,22 +1264,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1264 | return UUID.Zero; | 1264 | return UUID.Zero; |
1265 | } | 1265 | } |
1266 | 1266 | ||
1267 | [DebuggerNonUserCode] | ||
1268 | public void SetState(UUID itemID, string newState) | ||
1269 | { | ||
1270 | IScriptInstance instance = GetInstance(itemID); | ||
1271 | if (instance == null) | ||
1272 | return; | ||
1273 | instance.SetState(newState); | ||
1274 | } | ||
1275 | public string GetState(UUID itemID) | ||
1276 | { | ||
1277 | IScriptInstance instance = GetInstance(itemID); | ||
1278 | if (instance == null) | ||
1279 | return "default"; | ||
1280 | return instance.State; | ||
1281 | } | ||
1282 | |||
1283 | public int GetStartParameter(UUID itemID) | 1267 | public int GetStartParameter(UUID itemID) |
1284 | { | 1268 | { |
1285 | IScriptInstance instance = GetInstance(itemID); | 1269 | IScriptInstance instance = GetInstance(itemID); |