send CompoundDataNotify on Login;fix spelling mistakes. (#1869)

This commit is contained in:
dragon
2022-10-17 18:14:06 +08:00
committed by GitHub
Unverified
parent 84d02370df
commit b5f356ce4f
6 changed files with 39 additions and 13 deletions
@@ -10,11 +10,11 @@ import java.util.List;
import java.util.Set;
public class PacketGetCompoundDataRsp extends BasePacket {
public PacketGetCompoundDataRsp(Set<Integer> unlockedCompounds, List<CompoundQueueData> compundQueueData) {
public PacketGetCompoundDataRsp(Set<Integer> unlockedCompounds, List<CompoundQueueData> compoundQueueData) {
super(PacketOpcodes.GetCompoundDataRsp);
var proto = GetCompoundDataRsp.newBuilder()
.addAllUnlockCompoundList(unlockedCompounds)
.addAllCompoundQueDataList(compundQueueData)
.addAllCompoundQueDataList(compoundQueueData)
.setRetcode(Retcode.RET_SUCC_VALUE)
.build();
setData(proto);