Example #1
0
    public void StartUp()
    {
        LoadConfig();
        RegisterWnd();
        RegisterProto();

        m_wndMgr.OpenWindow(WndID.Login);


        XStream stream = new XStream();

        stream.WriteInt(123);
        stream.Seek(0, System.IO.SeekOrigin.Begin);
//		stream.Seek(0,System.IO.SeekOrigin.Current);
        m_protoMgr.OnProtocol(Protocol.GNP_ACCOUNT_LOGIN, stream);
    }