Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -265,7 +265,7 @@ namespace Server.Items
|
|||
set{ m_TimeOfDeath = value; }
|
||||
}
|
||||
|
||||
public override bool DisplayWeight { get { return false; } }
|
||||
public override bool DisplayWeight => false;
|
||||
|
||||
public HairInfo Hair { get { return m_Hair; } }
|
||||
public FacialHairInfo FacialHair { get { return m_FacialHair; } }
|
||||
|
|
@ -528,7 +528,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
// Why was this public?
|
||||
// public override bool IsPublicContainer{ get{ return true; } }
|
||||
// public override bool IsPublicContainer => true;
|
||||
|
||||
public Corpse( Mobile owner, List<Item> equipItems ) : this( owner, null, null, equipItems )
|
||||
{
|
||||
|
|
@ -1209,7 +1209,7 @@ namespace Server.Items
|
|||
return false;
|
||||
}
|
||||
|
||||
public override bool DisplaysContent{ get{ return false; } }
|
||||
public override bool DisplaysContent => false;
|
||||
|
||||
public override void AddNameProperty( ObjectPropertyList list )
|
||||
{
|
||||
|
|
@ -1302,4 +1302,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
// Do not display (x items, y stones)
|
||||
public override bool DisplaysContent{ get{ return false; } }
|
||||
public override bool DisplaysContent => false;
|
||||
|
||||
public override void AddNameProperty( ObjectPropertyList list )
|
||||
{
|
||||
|
|
@ -112,4 +112,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue