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); }
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); }