mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-13 04:43:35 +08:00
feat: set friend enter home option (#1860)
This commit is contained in:
committed by
GitHub
Unverified
parent
a4747abfc9
commit
610a364b9a
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user