mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Rename CM files to LS
This commit is contained in:
committed by
Melanie
parent
ad87bab271
commit
7c4cf46bac
@@ -48,44 +48,44 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
{
|
||||
public partial class ScriptBaseClass : MarshalByRefObject
|
||||
{
|
||||
public ICM_Api m_CM_Functions;
|
||||
public ILS_Api m_LS_Functions;
|
||||
|
||||
public void ApiTypeCM(IScriptApi api)
|
||||
public void ApiTypeLS(IScriptApi api)
|
||||
{
|
||||
if (!(api is ICM_Api))
|
||||
if (!(api is ILS_Api))
|
||||
return;
|
||||
|
||||
m_CM_Functions = (ICM_Api)api;
|
||||
m_LS_Functions = (ILS_Api)api;
|
||||
}
|
||||
|
||||
public LSL_List lsGetWindlightScene(LSL_List rules)
|
||||
{
|
||||
return m_CM_Functions.lsGetWindlightScene(rules);
|
||||
return m_LS_Functions.lsGetWindlightScene(rules);
|
||||
}
|
||||
|
||||
public int lsSetWindlightScene(LSL_List rules)
|
||||
{
|
||||
return m_CM_Functions.lsSetWindlightScene(rules);
|
||||
return m_LS_Functions.lsSetWindlightScene(rules);
|
||||
}
|
||||
|
||||
public int lsSetWindlightSceneTargeted(LSL_List rules, key target)
|
||||
{
|
||||
return m_CM_Functions.lsSetWindlightSceneTargeted(rules, target);
|
||||
return m_LS_Functions.lsSetWindlightSceneTargeted(rules, target);
|
||||
}
|
||||
|
||||
public LSL_List cmGetWindlightScene(LSL_List rules)
|
||||
{
|
||||
return m_CM_Functions.lsGetWindlightScene(rules);
|
||||
return m_LS_Functions.lsGetWindlightScene(rules);
|
||||
}
|
||||
|
||||
public int cmSetWindlightScene(LSL_List rules)
|
||||
{
|
||||
return m_CM_Functions.lsSetWindlightScene(rules);
|
||||
return m_LS_Functions.lsSetWindlightScene(rules);
|
||||
}
|
||||
|
||||
public int cmSetWindlightSceneTargeted(LSL_List rules, key target)
|
||||
{
|
||||
return m_CM_Functions.lsSetWindlightSceneTargeted(rules, target);
|
||||
return m_LS_Functions.lsSetWindlightSceneTargeted(rules, target);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user