public void REQL_Login(string sId, string sPw)
    {
        if (nm.IsConnected() == false)
        {
            if (Connect() == false)
            {
                return;
            }
        }

        CommonData.REQ_LoginInfo login = new CommonData.REQ_LoginInfo();
        login.sId = sId; login.sPwd = sPw;
        jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_LOGIN);

        nm.Send(packet.MakePacket <CommonData.REQ_LoginInfo>(login));
    }
Exemplo n.º 2
0
    public void REQL_Login(string sId, string sPw)
    {
        if (nm.IsConnected() == false) { if (Connect() == false) return; }

        CommonData.REQ_LoginInfo login = new CommonData.REQ_LoginInfo();
        login.sId = sId; login.sPwd = sPw;
        jPacket packet = new jPacket(NETCODE.CommonProtocol.REQ_LOGIN);
        nm.Send(packet.MakePacket<CommonData.REQ_LoginInfo>(login));
    }