Upgrades gumps to allow netstate specific compilation/appends. (#7)
This commit is contained in:
parent
d8ed7c1da9
commit
5d61205240
22 changed files with 69 additions and 71 deletions
|
|
@ -44,14 +44,14 @@ namespace Server.Gumps
|
|||
}
|
||||
}
|
||||
|
||||
public override string Compile()
|
||||
public override string Compile( NetState ns )
|
||||
{
|
||||
return String.Format( "{{ itemproperty {0} }}", m_Serial );
|
||||
}
|
||||
|
||||
private static byte[] m_LayoutName = Gump.StringToBuffer( "itemproperty" );
|
||||
|
||||
public override void AppendTo( IGumpWriter disp )
|
||||
public override void AppendTo( NetState ns, IGumpWriter disp )
|
||||
{
|
||||
disp.AppendLayout( m_LayoutName );
|
||||
disp.AppendLayout( m_Serial );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue