mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
committed by
UbitUmarov
parent
eeef096e94
commit
4eee476423
@@ -1979,7 +1979,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
}
|
||||
}
|
||||
|
||||
public void osSetParcelMediaURL(string url)
|
||||
public void osSetParcelMusicURL(string url)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.VeryLow, "osSetParcelMusicURL");
|
||||
|
||||
ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition);
|
||||
|
||||
land.SetMusicUrl(url);
|
||||
|
||||
}
|
||||
public void osSetParcelMediaURL(string url)
|
||||
{
|
||||
// What actually is the difference to the LL function?
|
||||
//
|
||||
@@ -6096,4 +6105,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -142,6 +142,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
void osRegionNotice(string msg);
|
||||
void osRegionNotice(LSL_Key agentID, string msg);
|
||||
bool osConsoleCommand(string Command);
|
||||
void osSetParcelMusicURL(string url);
|
||||
void osSetParcelMediaURL(string url);
|
||||
void osSetPrimFloatOnWater(int floatYN);
|
||||
void osSetParcelSIPAddress(string SIPAddress);
|
||||
|
||||
@@ -235,6 +235,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_OSSL_Functions.osConsoleCommand(Command);
|
||||
}
|
||||
|
||||
public void osSetParcelMusicURL(string url)
|
||||
{
|
||||
m_OSSL_Functions.osSetParcelMusicURL(url);
|
||||
}
|
||||
|
||||
public void osSetParcelMediaURL(string url)
|
||||
{
|
||||
m_OSSL_Functions.osSetParcelMediaURL(url);
|
||||
|
||||
Reference in New Issue
Block a user