Client LuaCsForBarotrauma
NameTag.cs
1 using System.Xml.Linq;
2 
4 {
6  {
7  [InGameEditable(MaxLength = 32), Serialize("", IsPropertySaveable.No, description: "Name written on the tag.", alwaysUseInstanceValues: true)]
8  public string WrittenName { get; set; }
9 
10  public NameTag(Item item, ContentXElement element) : base(item, element)
11  {
12  AllowInGameEditing = true;
13  DrawHudWhenEquipped = true;
15  }
16  }
17 }
The base class for components holding the different functionalities of the item
NameTag(Item item, ContentXElement element)
Definition: NameTag.cs:10