Server.Mobiles.BaseCreature.OnDoubleClick C# (CSharp) Method

OnDoubleClick() public method

public OnDoubleClick ( Mobile from ) : void
from Mobile
return void
        public override void OnDoubleClick( Mobile from )
        {
            if ( from.AccessLevel >= AccessLevel.GameMaster && !Body.IsHuman )
            {
                Container pack = this.Backpack;

                if ( pack != null )
                    pack.DisplayTo( from );
            }

            if ( this.DeathAdderCharmable && from.CanBeHarmful( this, false ) )
            {
                DeathAdder da = Spells.Necromancy.SummonFamiliarSpell.Table[from] as DeathAdder;

                if ( da != null && !da.Deleted )
                {
                    from.SendAsciiMessage( "You charm the snake.  Select a target to attack." );
                    from.Target = new DeathAdderCharmTarget( this );
                }
            }

            base.OnDoubleClick( from );
        }
BaseCreature