Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llAllowInventoryDrop C# (CSharp) Метод

llAllowInventoryDrop() публичный Метод

public llAllowInventoryDrop ( int add ) : void
add int
Результат void
        public void llAllowInventoryDrop(int add)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;


            m_host.ParentEntity.RootChild.AllowedDrop = add != 0;

            // Update the object flags
            m_host.ParentEntity.RootChild.aggregateScriptEvents();
        }
LSL_Api