OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
/// <summary>
/// Returns true if this part inventory contains any scripts.  False otherwise.
/// </summary>
/// <returns></returns>
Returns true if this part inventory contains any scripts.  False otherwise.
Returns true if this part inventory contains any scripts . False otherwise .
public bool ContainsScripts()
        {
            lock (m_items)
            {
                foreach (TaskInventoryItem item in m_items.Values)
                {
                    if (item.InvType == (int)InventoryType.LSL)
                    {
                        return true;
                    }
                }
            }
            return false;
        }
public bool ContainsScripts ( ) { lock ( m_items ) { foreach ( TaskInventoryItem item in m_items . Values ) { if ( item . InvType == ( int ) InventoryType . LSL ) { return true ; } } } return false ; }
Returns true if this part inventory contains any scripts.
Returns true if this part inventory contains any scripts .
None