aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorMelanie2010-06-11 17:46:29 +0100
committerMelanie2010-06-11 17:46:29 +0100
commitaa2f5bdd77b6694b5fd4547a881f339f4679933e (patch)
tree664a8658067f6f9c0e0c3e9befd1f79aba733293 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentRemove cmGetAvatarList() (diff)
parentRename CM files to LS (diff)
downloadopensim-SC-aa2f5bdd77b6694b5fd4547a881f339f4679933e.zip
opensim-SC-aa2f5bdd77b6694b5fd4547a881f339f4679933e.tar.gz
opensim-SC-aa2f5bdd77b6694b5fd4547a881f339f4679933e.tar.bz2
opensim-SC-aa2f5bdd77b6694b5fd4547a881f339f4679933e.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LS_Stub.cs (renamed from OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs)29
1 files changed, 22 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LS_Stub.cs
index c0edaae..8280ca5 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/CM_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LS_Stub.cs
@@ -48,29 +48,44 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
48{ 48{
49 public partial class ScriptBaseClass : MarshalByRefObject 49 public partial class ScriptBaseClass : MarshalByRefObject
50 { 50 {
51 public ICM_Api m_CM_Functions; 51 public ILS_Api m_LS_Functions;
52 52
53 public void ApiTypeCM(IScriptApi api) 53 public void ApiTypeLS(IScriptApi api)
54 { 54 {
55 if (!(api is ICM_Api)) 55 if (!(api is ILS_Api))
56 return; 56 return;
57 57
58 m_CM_Functions = (ICM_Api)api; 58 m_LS_Functions = (ILS_Api)api;
59 }
60
61 public LSL_List lsGetWindlightScene(LSL_List rules)
62 {
63 return m_LS_Functions.lsGetWindlightScene(rules);
64 }
65
66 public int lsSetWindlightScene(LSL_List rules)
67 {
68 return m_LS_Functions.lsSetWindlightScene(rules);
69 }
70
71 public int lsSetWindlightSceneTargeted(LSL_List rules, key target)
72 {
73 return m_LS_Functions.lsSetWindlightSceneTargeted(rules, target);
59 } 74 }
60 75
61 public LSL_List cmGetWindlightScene(LSL_List rules) 76 public LSL_List cmGetWindlightScene(LSL_List rules)
62 { 77 {
63 return m_CM_Functions.cmGetWindlightScene(rules); 78 return m_LS_Functions.lsGetWindlightScene(rules);
64 } 79 }
65 80
66 public int cmSetWindlightScene(LSL_List rules) 81 public int cmSetWindlightScene(LSL_List rules)
67 { 82 {
68 return m_CM_Functions.cmSetWindlightScene(rules); 83 return m_LS_Functions.lsSetWindlightScene(rules);
69 } 84 }
70 85
71 public int cmSetWindlightSceneTargeted(LSL_List rules, key target) 86 public int cmSetWindlightSceneTargeted(LSL_List rules, key target)
72 { 87 {
73 return m_CM_Functions.cmSetWindlightSceneTargeted(rules, target); 88 return m_LS_Functions.lsSetWindlightSceneTargeted(rules, target);
74 } 89 }
75 } 90 }
76} 91}