Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,23 +19,23 @@ public final class RefreshRogueDiaryCardRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @return A list containing the randCardList.
*/
java.util.List<java.lang.Integer> getRandCardListList();
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @return The count of randCardList.
*/
int getRandCardListCount();
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @param index The index of the element to return.
* @return The randCardList at the given index.
*/
@@ -43,8 +43,8 @@ public final class RefreshRogueDiaryCardRspOuterClass {
}
/**
* <pre>
* CmdId: 8982
* Obf: KGIHIHBJEJO
* CmdId: 2711
* Obf: HODLMPCEKJL
* </pre>
*
* Protobuf type {@code RefreshRogueDiaryCardRsp}
@@ -93,12 +93,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
case 0:
done = true;
break;
case 16: {
retcode_ = input.readInt32();
break;
}
case 56: {
case 40: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
randCardList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -106,7 +101,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
randCardList_.addInt(input.readUInt32());
break;
}
case 58: {
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -119,6 +114,11 @@ public final class RefreshRogueDiaryCardRspOuterClass {
input.popLimit(limit);
break;
}
case 88: {
retcode_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -154,10 +154,10 @@ public final class RefreshRogueDiaryCardRspOuterClass {
emu.grasscutter.net.proto.RefreshRogueDiaryCardRspOuterClass.RefreshRogueDiaryCardRsp.class, emu.grasscutter.net.proto.RefreshRogueDiaryCardRspOuterClass.RefreshRogueDiaryCardRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 2;
public static final int RETCODE_FIELD_NUMBER = 11;
private int retcode_;
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -165,10 +165,10 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return retcode_;
}
public static final int RAND_CARD_LIST_FIELD_NUMBER = 7;
public static final int RAND_CARD_LIST_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.IntList randCardList_;
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @return A list containing the randCardList.
*/
@java.lang.Override
@@ -177,14 +177,14 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return randCardList_;
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @return The count of randCardList.
*/
public int getRandCardListCount() {
return randCardList_.size();
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @param index The index of the element to return.
* @return The randCardList at the given index.
*/
@@ -208,16 +208,16 @@ public final class RefreshRogueDiaryCardRspOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (retcode_ != 0) {
output.writeInt32(2, retcode_);
}
if (getRandCardListList().size() > 0) {
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(randCardListMemoizedSerializedSize);
}
for (int i = 0; i < randCardList_.size(); i++) {
output.writeUInt32NoTag(randCardList_.getInt(i));
}
if (retcode_ != 0) {
output.writeInt32(11, retcode_);
}
unknownFields.writeTo(output);
}
@@ -227,10 +227,6 @@ public final class RefreshRogueDiaryCardRspOuterClass {
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, retcode_);
}
{
int dataSize = 0;
for (int i = 0; i < randCardList_.size(); i++) {
@@ -245,6 +241,10 @@ public final class RefreshRogueDiaryCardRspOuterClass {
}
randCardListMemoizedSerializedSize = dataSize;
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -378,8 +378,8 @@ public final class RefreshRogueDiaryCardRspOuterClass {
}
/**
* <pre>
* CmdId: 8982
* Obf: KGIHIHBJEJO
* CmdId: 2711
* Obf: HODLMPCEKJL
* </pre>
*
* Protobuf type {@code RefreshRogueDiaryCardRsp}
@@ -549,7 +549,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
private int retcode_ ;
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -557,7 +557,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 11;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -568,7 +568,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 2;</code>
* <code>int32 retcode = 11;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -586,7 +586,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
}
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @return A list containing the randCardList.
*/
public java.util.List<java.lang.Integer>
@@ -595,14 +595,14 @@ public final class RefreshRogueDiaryCardRspOuterClass {
java.util.Collections.unmodifiableList(randCardList_) : randCardList_;
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @return The count of randCardList.
*/
public int getRandCardListCount() {
return randCardList_.size();
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @param index The index of the element to return.
* @return The randCardList at the given index.
*/
@@ -610,7 +610,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return randCardList_.getInt(index);
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @param index The index to set the value at.
* @param value The randCardList to set.
* @return This builder for chaining.
@@ -623,7 +623,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return this;
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @param value The randCardList to add.
* @return This builder for chaining.
*/
@@ -634,7 +634,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return this;
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @param values The randCardList to add.
* @return This builder for chaining.
*/
@@ -647,7 +647,7 @@ public final class RefreshRogueDiaryCardRspOuterClass {
return this;
}
/**
* <code>repeated uint32 rand_card_list = 7;</code>
* <code>repeated uint32 rand_card_list = 5;</code>
* @return This builder for chaining.
*/
public Builder clearRandCardList() {
@@ -724,8 +724,8 @@ public final class RefreshRogueDiaryCardRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\036RefreshRogueDiaryCardRsp.proto\"C\n\030Refr" +
"eshRogueDiaryCardRsp\022\017\n\007retcode\030\002 \001(\005\022\026\n" +
"\016rand_card_list\030\007 \003(\rB\033\n\031emu.grasscutter" +
"eshRogueDiaryCardRsp\022\017\n\007retcode\030\013 \001(\005\022\026\n" +
"\016rand_card_list\030\005 \003(\rB\033\n\031emu.grasscutter" +
".net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor