예제 #1
0
    public void TestRegister()
    {
        CMsgAccountRegistRequest obj = new CMsgAccountRegistRequest();

        obj.account  = "c";
        obj.password = "******";

        int msgno = 10003;

        PacketStream ps = ClientCommon.msgpack(msgno, obj);

        mNetworkManager.Send(ps);
    }
예제 #2
0
    public void TestLogin()
    {
        CMsgAccountLoginRequest obj = new CMsgAccountLoginRequest();

        obj.account  = "b";
        obj.password = "******";

        int msgno = 10001;

        PacketStream ps = ClientCommon.msgpack(msgno, obj);

        mNetworkManager.Send(ps);
    }