예제 #1
0
        public void userLoginRequest(string email, string password)
        {
            Protocol.C2SLoginReq request = new Protocol.C2SLoginReq();
            if (isHash)
            {
                request.password = passwordHash;
            }
            else
            {
                request.password = GameUtil.toMD5(password);
            }
            request.email = email;

            NetworkEvent.sendPacket <Protocol.C2SLoginReq>(request);
        }
예제 #2
0
        public void userLoginRequest(string email, string password)
        {
            Protocol.C2SLoginReq request = new Protocol.C2SLoginReq();
            if (isHash)
            {
                request.password = passwordHash;
            }
            else
            {
                request.password = GameUtil.toMD5(password);
            }
            request.email = email;

            NetworkEvent.sendPacket<Protocol.C2SLoginReq>(request);
        }