feat: set friend enter home option (#1860)

This commit is contained in:
hamusuke
2022-10-16 00:58:45 +09:00
committed by GitHub
Unverified
parent a4747abfc9
commit 610a364b9a
9 changed files with 1207 additions and 3 deletions
@@ -27,4 +27,15 @@ public class PacketTryEnterHomeRsp extends BasePacket {
this.setData(proto);
}
public PacketTryEnterHomeRsp(int retCode, int uid) {
super(PacketOpcodes.TryEnterHomeRsp);
TryEnterHomeRspOuterClass.TryEnterHomeRsp proto = TryEnterHomeRspOuterClass.TryEnterHomeRsp.newBuilder()
.setRetcode(retCode)
.setTargetUid(uid)
.build();
this.setData(proto);
}
}