Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -47,9 +47,9 @@ namespace Server.Items
piece.Location = new Point3D( x, y, 0 );
}
public override bool DisplaysContent{ get{ return false; } } // Do not display (x items, y stones)
public override bool DisplaysContent => false; // Do not display (x items, y stones)
public override bool IsDecoContainer{ get{ return false; } }
public override bool IsDecoContainer => false;
public BaseBoard( Serial serial ) : base( serial )
{
@ -166,4 +166,4 @@ namespace Server.Items
}
}
}
}
}

View file

@ -13,7 +13,7 @@ namespace Server.Items
set { m_Board = value; }
}
public override bool IsVirtualItem{ get{ return true; } }
public override bool IsVirtualItem => true;
public BasePiece( int itemID, BaseBoard board ) : base( itemID )
{
@ -80,7 +80,7 @@ namespace Server.Items
}
}
public override bool CanTarget{ get{ return false; } }
public override bool CanTarget => false;
public override bool DropToMobile( Mobile from, Mobile target, Point3D p )
{
@ -102,4 +102,4 @@ namespace Server.Items
return -1;
}
}
}
}