Adds missing gump components. (#111)
This commit is contained in:
parent
18b7cee52a
commit
c116dff3e8
25 changed files with 531 additions and 1045 deletions
|
|
@ -25,22 +25,17 @@ namespace Server.Gumps
|
|||
public class GumpItemProperty : GumpEntry
|
||||
{
|
||||
private static readonly byte[] m_LayoutName = Gump.StringToBuffer("itemproperty");
|
||||
private uint m_Serial;
|
||||
|
||||
public GumpItemProperty(uint serial) => m_Serial = serial;
|
||||
public GumpItemProperty(uint serial) => Serial = serial;
|
||||
|
||||
public uint Serial
|
||||
{
|
||||
get => m_Serial;
|
||||
set => Delta(ref m_Serial, value);
|
||||
}
|
||||
public uint Serial { get; set; }
|
||||
|
||||
public override string Compile(NetState ns) => $"{{ itemproperty {m_Serial} }}";
|
||||
public override string Compile(NetState ns) => $"{{ itemproperty {Serial} }}";
|
||||
|
||||
public override void AppendTo(NetState ns, IGumpWriter disp)
|
||||
{
|
||||
disp.AppendLayout(m_LayoutName);
|
||||
disp.AppendLayout(m_Serial);
|
||||
disp.AppendLayout(Serial);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue