Server.Network.DisplayProfile.DisplayProfile C# (CSharp) Méthode

DisplayProfile() public méthode

public DisplayProfile ( bool realSerial, Mobile m, string header, string body, string footer ) : System
realSerial bool
m Mobile
header string
body string
footer string
Résultat System
        public DisplayProfile( bool realSerial, Mobile m, string header, string body, string footer )
            : base(0xB8)
        {
            if ( header == null )
                header = "";

            if ( body == null )
                body = "";

            if ( footer == null )
                footer = "";

            EnsureCapacity( 12 + header.Length + (footer.Length * 2) + (body.Length * 2) );

            m_Stream.Write( (int) (realSerial ? m.Serial : Serial.Zero) );
            m_Stream.WriteAsciiNull( header );
            m_Stream.WriteBigUniNull( footer );
            m_Stream.WriteBigUniNull( body );
        }
DisplayProfile