Server.Items.Runebook.OnDragLift C# (CSharp) Méthode

OnDragLift() public méthode

public OnDragLift ( Mobile from ) : bool
from Mobile
Résultat bool
        public override bool OnDragLift( Mobile from )
        {
            if ( from.HasGump( typeof( RunebookGump ) ) )
            {
                from.SendLocalizedMessage( 500169 ); // You cannot pick that up.
                return false;
            }

            foreach ( Mobile m in m_Openers )
                if ( IsOpen( m ) )
                    m.CloseGump( typeof( RunebookGump ) );

            m_Openers.Clear();

            return true;
        }