public void AppendLayoutNS( int val ) { string toString = val.ToString(); int bytes = System.Text.Encoding.ASCII.GetBytes( toString, 0, toString.Length, m_Buffer, 1 ); m_Stream.Write( m_Buffer, 1, bytes ); m_LayoutLength += bytes; }
public override void AppendTo(DisplayGumpFast disp) { disp.AppendLayout(m_LayoutName); disp.AppendLayout(m_X); disp.AppendLayout(m_Y); disp.AppendLayout(m_GumpID); if (m_Hue != 0) { disp.AppendLayout(m_HueEquals); disp.AppendLayoutNS(m_Hue); } }