mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 18:13:35 +08:00
Add new protocol definitions
This commit is contained in:
+22
-22
@@ -19,17 +19,17 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @return A list containing the refreshCardList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getRefreshCardListList();
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @return The count of refreshCardList.
|
||||
*/
|
||||
int getRefreshCardListCount();
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The refreshCardList at the given index.
|
||||
*/
|
||||
@@ -37,8 +37,8 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 8349
|
||||
* Obf: MALPBDIDFOB
|
||||
* CmdId: 8823
|
||||
* Obf: EKEPBDJDBIJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code RefreshRogueDiaryCardReq}
|
||||
@@ -87,7 +87,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
case 96: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
refreshCardList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -95,7 +95,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
refreshCardList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
case 98: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -143,10 +143,10 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
emu.grasscutter.net.proto.RefreshRogueDiaryCardReqOuterClass.RefreshRogueDiaryCardReq.class, emu.grasscutter.net.proto.RefreshRogueDiaryCardReqOuterClass.RefreshRogueDiaryCardReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int REFRESH_CARD_LIST_FIELD_NUMBER = 2;
|
||||
public static final int REFRESH_CARD_LIST_FIELD_NUMBER = 12;
|
||||
private com.google.protobuf.Internal.IntList refreshCardList_;
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @return A list containing the refreshCardList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -155,14 +155,14 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
return refreshCardList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @return The count of refreshCardList.
|
||||
*/
|
||||
public int getRefreshCardListCount() {
|
||||
return refreshCardList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The refreshCardList at the given index.
|
||||
*/
|
||||
@@ -187,7 +187,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (getRefreshCardListList().size() > 0) {
|
||||
output.writeUInt32NoTag(18);
|
||||
output.writeUInt32NoTag(98);
|
||||
output.writeUInt32NoTag(refreshCardListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < refreshCardList_.size(); i++) {
|
||||
@@ -345,8 +345,8 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 8349
|
||||
* Obf: MALPBDIDFOB
|
||||
* CmdId: 8823
|
||||
* Obf: EKEPBDJDBIJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code RefreshRogueDiaryCardReq}
|
||||
@@ -516,7 +516,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @return A list containing the refreshCardList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -525,14 +525,14 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
java.util.Collections.unmodifiableList(refreshCardList_) : refreshCardList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @return The count of refreshCardList.
|
||||
*/
|
||||
public int getRefreshCardListCount() {
|
||||
return refreshCardList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The refreshCardList at the given index.
|
||||
*/
|
||||
@@ -540,7 +540,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
return refreshCardList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The refreshCardList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -553,7 +553,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @param value The refreshCardList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -564,7 +564,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @param values The refreshCardList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -577,7 +577,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 refresh_card_list = 2;</code>
|
||||
* <code>repeated uint32 refresh_card_list = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRefreshCardList() {
|
||||
@@ -655,7 +655,7 @@ public final class RefreshRogueDiaryCardReqOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\036RefreshRogueDiaryCardReq.proto\"5\n\030Refr" +
|
||||
"eshRogueDiaryCardReq\022\031\n\021refresh_card_lis" +
|
||||
"t\030\002 \003(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"t\030\014 \003(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"oto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user