OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osSetParcelMediaURL C# (CSharp) Méthode

osSetParcelMediaURL() public méthode

public osSetParcelMediaURL ( string url ) : void
url string
Résultat void
        public void osSetParcelMediaURL(string url)
        {
            // What actually is the difference to the LL function?
            //
            CheckThreatLevel(ThreatLevel.VeryLow, "osSetParcelMediaURL");

            m_host.AddScriptLPS(1);

            ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition);

            if (land.LandData.OwnerID != m_host.OwnerID)
                return;

            land.SetMediaUrl(url);
        }
OSSL_Api