Upgrades gumps to allow netstate specific compilation/appends. (#7)

This commit is contained in:
Kamron Batman 2018-02-21 20:30:45 -08:00 • committed by GitHub
parent d8ed7c1da9
commit 5d61205240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 69 additions and 71 deletions

View file

@ -211,7 +211,7 @@ namespace Server.Gumps
m_Type = GumpHtmlLocalizedType.Args;
}
public override string Compile()
public override string Compile( NetState ns )
{
switch ( m_Type )
{
@ -230,7 +230,7 @@ namespace Server.Gumps
private static byte[] m_LayoutNameColor = Gump.StringToBuffer( "xmfhtmlgumpcolor" );
private static byte[] m_LayoutNameArgs = Gump.StringToBuffer( "xmfhtmltok" );
public override void AppendTo( IGumpWriter disp )
public override void AppendTo( NetState ns, IGumpWriter disp )
{
switch ( m_Type )
{