back_recharge
parent
a8a013ec5c
commit
d4dc257d0e
|
@ -42,7 +42,7 @@ public class NettyClient {
|
|||
|
||||
PlayerInfoProto.SignInRequest.Builder builder = PlayerInfoProto.SignInRequest.newBuilder().setDayIndex(1203);
|
||||
|
||||
ChatProto.ChatUserV3 userFrom = ChatProto.ChatUserV3.newBuilder().build();
|
||||
/*ChatProto.ChatUserV3 userFrom = ChatProto.ChatUserV3.newBuilder().build();
|
||||
ChatProto.ChatV3 chat = ChatProto.ChatV3.newBuilder().setFrom(userFrom).build();
|
||||
byte[] bytes = wrappedBuffer((short) 100, chat.toByteArray());
|
||||
|
||||
|
@ -51,7 +51,7 @@ public class NettyClient {
|
|||
handler.sendRequest_jieling(bytes);
|
||||
System.out.println(11111);
|
||||
TimeUnit.SECONDS.sleep(3);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
////------------------------------------------测试类型-------------------------------------------------------
|
||||
|
@ -305,7 +305,7 @@ public class NettyClient {
|
|||
return PlayerInfoProto.WorkShopEquipCreateRequest.newBuilder().setEquipTid(equipTid).build();
|
||||
}
|
||||
|
||||
public static byte[] wrappedBuffer(short gameId, byte[] content) {
|
||||
/* public static byte[] wrappedBuffer(short gameId, byte[] content) {
|
||||
int length = PackageConstant.GAMEID_LEN+PackageConstant.CONTENT_LEN+content.length;
|
||||
byte[] bytes = new byte[length];
|
||||
int pos = 0;
|
||||
|
@ -322,6 +322,6 @@ public class NettyClient {
|
|||
// LOGGER.info("wrappedBuffer uid=>{} sendbyte=>{}", uid, bytes1.length);
|
||||
// }
|
||||
return bytes;
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue