mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 13:13:35 +08:00
Upgrade to REL3.7 (#2164)
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
This commit is contained in:
+144
-144
@@ -19,61 +19,61 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @return A list containing the takenRewardIndexList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getTakenRewardIndexListList();
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @return The count of takenRewardIndexList.
|
||||
*/
|
||||
int getTakenRewardIndexListCount();
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The takenRewardIndexList at the given index.
|
||||
*/
|
||||
int getTakenRewardIndexList(int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 12;</code>
|
||||
* @return The lastDifficultyId.
|
||||
*/
|
||||
int getLastDifficultyId();
|
||||
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo>
|
||||
getDailyInfoListList();
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo getDailyInfoList(int index);
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
int getDailyInfoListCount();
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
java.util.List<? extends emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfoOrBuilder>
|
||||
getDailyInfoListOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfoOrBuilder getDailyInfoListOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 cur_score = 9;</code>
|
||||
* <code>uint32 last_difficulty_id = 3;</code>
|
||||
* @return The lastDifficultyId.
|
||||
*/
|
||||
int getLastDifficultyId();
|
||||
|
||||
/**
|
||||
* <code>uint32 cur_score = 4;</code>
|
||||
* @return The curScore.
|
||||
*/
|
||||
int getCurScore();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: DJFBDONGFPG
|
||||
* Obf: GBNCPNIPIOC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code EffigyActivityDetailInfo}
|
||||
@@ -123,7 +123,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 26: {
|
||||
case 10: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
dailyInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo>();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
@@ -132,7 +132,17 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
input.readMessage(emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
case 24: {
|
||||
|
||||
lastDifficultyId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
|
||||
curScore_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
takenRewardIndexList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -140,7 +150,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
takenRewardIndexList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
case 82: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -153,16 +163,6 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
|
||||
curScore_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
|
||||
lastDifficultyId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -201,10 +201,10 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
emu.grasscutter.net.proto.EffigyActivityDetailInfoOuterClass.EffigyActivityDetailInfo.class, emu.grasscutter.net.proto.EffigyActivityDetailInfoOuterClass.EffigyActivityDetailInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TAKEN_REWARD_INDEX_LIST_FIELD_NUMBER = 6;
|
||||
public static final int TAKEN_REWARD_INDEX_LIST_FIELD_NUMBER = 10;
|
||||
private com.google.protobuf.Internal.IntList takenRewardIndexList_;
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @return A list containing the takenRewardIndexList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -213,14 +213,14 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return takenRewardIndexList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @return The count of takenRewardIndexList.
|
||||
*/
|
||||
public int getTakenRewardIndexListCount() {
|
||||
return takenRewardIndexList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The takenRewardIndexList at the given index.
|
||||
*/
|
||||
@@ -229,28 +229,17 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
private int takenRewardIndexListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int LAST_DIFFICULTY_ID_FIELD_NUMBER = 12;
|
||||
private int lastDifficultyId_;
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 12;</code>
|
||||
* @return The lastDifficultyId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLastDifficultyId() {
|
||||
return lastDifficultyId_;
|
||||
}
|
||||
|
||||
public static final int DAILY_INFO_LIST_FIELD_NUMBER = 3;
|
||||
public static final int DAILY_INFO_LIST_FIELD_NUMBER = 1;
|
||||
private java.util.List<emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo> dailyInfoList_;
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo> getDailyInfoListList() {
|
||||
return dailyInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfoOrBuilder>
|
||||
@@ -258,21 +247,21 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return dailyInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDailyInfoListCount() {
|
||||
return dailyInfoList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo getDailyInfoList(int index) {
|
||||
return dailyInfoList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfoOrBuilder getDailyInfoListOrBuilder(
|
||||
@@ -280,10 +269,21 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return dailyInfoList_.get(index);
|
||||
}
|
||||
|
||||
public static final int CUR_SCORE_FIELD_NUMBER = 9;
|
||||
public static final int LAST_DIFFICULTY_ID_FIELD_NUMBER = 3;
|
||||
private int lastDifficultyId_;
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 3;</code>
|
||||
* @return The lastDifficultyId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLastDifficultyId() {
|
||||
return lastDifficultyId_;
|
||||
}
|
||||
|
||||
public static final int CUR_SCORE_FIELD_NUMBER = 4;
|
||||
private int curScore_;
|
||||
/**
|
||||
* <code>uint32 cur_score = 9;</code>
|
||||
* <code>uint32 cur_score = 4;</code>
|
||||
* @return The curScore.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -307,21 +307,21 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
for (int i = 0; i < dailyInfoList_.size(); i++) {
|
||||
output.writeMessage(3, dailyInfoList_.get(i));
|
||||
output.writeMessage(1, dailyInfoList_.get(i));
|
||||
}
|
||||
if (lastDifficultyId_ != 0) {
|
||||
output.writeUInt32(3, lastDifficultyId_);
|
||||
}
|
||||
if (curScore_ != 0) {
|
||||
output.writeUInt32(4, curScore_);
|
||||
}
|
||||
if (getTakenRewardIndexListList().size() > 0) {
|
||||
output.writeUInt32NoTag(50);
|
||||
output.writeUInt32NoTag(82);
|
||||
output.writeUInt32NoTag(takenRewardIndexListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < takenRewardIndexList_.size(); i++) {
|
||||
output.writeUInt32NoTag(takenRewardIndexList_.getInt(i));
|
||||
}
|
||||
if (curScore_ != 0) {
|
||||
output.writeUInt32(9, curScore_);
|
||||
}
|
||||
if (lastDifficultyId_ != 0) {
|
||||
output.writeUInt32(12, lastDifficultyId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -333,7 +333,15 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
size = 0;
|
||||
for (int i = 0; i < dailyInfoList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, dailyInfoList_.get(i));
|
||||
.computeMessageSize(1, dailyInfoList_.get(i));
|
||||
}
|
||||
if (lastDifficultyId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(3, lastDifficultyId_);
|
||||
}
|
||||
if (curScore_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, curScore_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
@@ -349,14 +357,6 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
takenRewardIndexListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (curScore_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, curScore_);
|
||||
}
|
||||
if (lastDifficultyId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, lastDifficultyId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -374,10 +374,10 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
|
||||
if (!getTakenRewardIndexListList()
|
||||
.equals(other.getTakenRewardIndexListList())) return false;
|
||||
if (getLastDifficultyId()
|
||||
!= other.getLastDifficultyId()) return false;
|
||||
if (!getDailyInfoListList()
|
||||
.equals(other.getDailyInfoListList())) return false;
|
||||
if (getLastDifficultyId()
|
||||
!= other.getLastDifficultyId()) return false;
|
||||
if (getCurScore()
|
||||
!= other.getCurScore()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
@@ -395,12 +395,12 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
hash = (37 * hash) + TAKEN_REWARD_INDEX_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTakenRewardIndexListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + LAST_DIFFICULTY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getLastDifficultyId();
|
||||
if (getDailyInfoListCount() > 0) {
|
||||
hash = (37 * hash) + DAILY_INFO_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDailyInfoListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + LAST_DIFFICULTY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getLastDifficultyId();
|
||||
hash = (37 * hash) + CUR_SCORE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCurScore();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -500,7 +500,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: DJFBDONGFPG
|
||||
* Obf: GBNCPNIPIOC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code EffigyActivityDetailInfo}
|
||||
@@ -543,14 +543,14 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
super.clear();
|
||||
takenRewardIndexList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
lastDifficultyId_ = 0;
|
||||
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
dailyInfoList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
dailyInfoListBuilder_.clear();
|
||||
}
|
||||
lastDifficultyId_ = 0;
|
||||
|
||||
curScore_ = 0;
|
||||
|
||||
return this;
|
||||
@@ -585,7 +585,6 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.takenRewardIndexList_ = takenRewardIndexList_;
|
||||
result.lastDifficultyId_ = lastDifficultyId_;
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
dailyInfoList_ = java.util.Collections.unmodifiableList(dailyInfoList_);
|
||||
@@ -595,6 +594,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
} else {
|
||||
result.dailyInfoList_ = dailyInfoListBuilder_.build();
|
||||
}
|
||||
result.lastDifficultyId_ = lastDifficultyId_;
|
||||
result.curScore_ = curScore_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -654,9 +654,6 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getLastDifficultyId() != 0) {
|
||||
setLastDifficultyId(other.getLastDifficultyId());
|
||||
}
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
if (!other.dailyInfoList_.isEmpty()) {
|
||||
if (dailyInfoList_.isEmpty()) {
|
||||
@@ -683,6 +680,9 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (other.getLastDifficultyId() != 0) {
|
||||
setLastDifficultyId(other.getLastDifficultyId());
|
||||
}
|
||||
if (other.getCurScore() != 0) {
|
||||
setCurScore(other.getCurScore());
|
||||
}
|
||||
@@ -724,7 +724,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @return A list containing the takenRewardIndexList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -733,14 +733,14 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
java.util.Collections.unmodifiableList(takenRewardIndexList_) : takenRewardIndexList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @return The count of takenRewardIndexList.
|
||||
*/
|
||||
public int getTakenRewardIndexListCount() {
|
||||
return takenRewardIndexList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The takenRewardIndexList at the given index.
|
||||
*/
|
||||
@@ -748,7 +748,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return takenRewardIndexList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The takenRewardIndexList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -761,7 +761,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @param value The takenRewardIndexList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -772,7 +772,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @param values The takenRewardIndexList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -785,7 +785,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 taken_reward_index_list = 6;</code>
|
||||
* <code>repeated uint32 taken_reward_index_list = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTakenRewardIndexList() {
|
||||
@@ -795,37 +795,6 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int lastDifficultyId_ ;
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 12;</code>
|
||||
* @return The lastDifficultyId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLastDifficultyId() {
|
||||
return lastDifficultyId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 12;</code>
|
||||
* @param value The lastDifficultyId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setLastDifficultyId(int value) {
|
||||
|
||||
lastDifficultyId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLastDifficultyId() {
|
||||
|
||||
lastDifficultyId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo> dailyInfoList_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureDailyInfoListIsMutable() {
|
||||
@@ -839,7 +808,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo, emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder, emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfoOrBuilder> dailyInfoListBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo> getDailyInfoListList() {
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
@@ -849,7 +818,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public int getDailyInfoListCount() {
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
@@ -859,7 +828,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo getDailyInfoList(int index) {
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
@@ -869,7 +838,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder setDailyInfoList(
|
||||
int index, emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo value) {
|
||||
@@ -886,7 +855,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder setDailyInfoList(
|
||||
int index, emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder builderForValue) {
|
||||
@@ -900,7 +869,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder addDailyInfoList(emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo value) {
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
@@ -916,7 +885,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder addDailyInfoList(
|
||||
int index, emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo value) {
|
||||
@@ -933,7 +902,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder addDailyInfoList(
|
||||
emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder builderForValue) {
|
||||
@@ -947,7 +916,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder addDailyInfoList(
|
||||
int index, emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder builderForValue) {
|
||||
@@ -961,7 +930,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder addAllDailyInfoList(
|
||||
java.lang.Iterable<? extends emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo> values) {
|
||||
@@ -976,7 +945,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder clearDailyInfoList() {
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
@@ -989,7 +958,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public Builder removeDailyInfoList(int index) {
|
||||
if (dailyInfoListBuilder_ == null) {
|
||||
@@ -1002,14 +971,14 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder getDailyInfoListBuilder(
|
||||
int index) {
|
||||
return getDailyInfoListFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfoOrBuilder getDailyInfoListOrBuilder(
|
||||
int index) {
|
||||
@@ -1019,7 +988,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfoOrBuilder>
|
||||
getDailyInfoListOrBuilderList() {
|
||||
@@ -1030,14 +999,14 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder addDailyInfoListBuilder() {
|
||||
return getDailyInfoListFieldBuilder().addBuilder(
|
||||
emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder addDailyInfoListBuilder(
|
||||
int index) {
|
||||
@@ -1045,7 +1014,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
index, emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 3;</code>
|
||||
* <code>repeated .EffigyDailyInfo daily_info_list = 1;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.EffigyDailyInfo.Builder>
|
||||
getDailyInfoListBuilderList() {
|
||||
@@ -1066,9 +1035,40 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return dailyInfoListBuilder_;
|
||||
}
|
||||
|
||||
private int lastDifficultyId_ ;
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 3;</code>
|
||||
* @return The lastDifficultyId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getLastDifficultyId() {
|
||||
return lastDifficultyId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 3;</code>
|
||||
* @param value The lastDifficultyId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setLastDifficultyId(int value) {
|
||||
|
||||
lastDifficultyId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 last_difficulty_id = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLastDifficultyId() {
|
||||
|
||||
lastDifficultyId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int curScore_ ;
|
||||
/**
|
||||
* <code>uint32 cur_score = 9;</code>
|
||||
* <code>uint32 cur_score = 4;</code>
|
||||
* @return The curScore.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -1076,7 +1076,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return curScore_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_score = 9;</code>
|
||||
* <code>uint32 cur_score = 4;</code>
|
||||
* @param value The curScore to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -1087,7 +1087,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cur_score = 9;</code>
|
||||
* <code>uint32 cur_score = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCurScore() {
|
||||
@@ -1165,10 +1165,10 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\036EffigyActivityDetailInfo.proto\032\025Effigy" +
|
||||
"DailyInfo.proto\"\225\001\n\030EffigyActivityDetail" +
|
||||
"Info\022\037\n\027taken_reward_index_list\030\006 \003(\r\022\032\n" +
|
||||
"\022last_difficulty_id\030\014 \001(\r\022)\n\017daily_info_" +
|
||||
"list\030\003 \003(\0132\020.EffigyDailyInfo\022\021\n\tcur_scor" +
|
||||
"e\030\t \001(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"Info\022\037\n\027taken_reward_index_list\030\n \003(\r\022)\n" +
|
||||
"\017daily_info_list\030\001 \003(\0132\020.EffigyDailyInfo" +
|
||||
"\022\032\n\022last_difficulty_id\030\003 \001(\r\022\021\n\tcur_scor" +
|
||||
"e\030\004 \001(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
|
||||
"oto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -1181,7 +1181,7 @@ public final class EffigyActivityDetailInfoOuterClass {
|
||||
internal_static_EffigyActivityDetailInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_EffigyActivityDetailInfo_descriptor,
|
||||
new java.lang.String[] { "TakenRewardIndexList", "LastDifficultyId", "DailyInfoList", "CurScore", });
|
||||
new java.lang.String[] { "TakenRewardIndexList", "DailyInfoList", "LastDifficultyId", "CurScore", });
|
||||
emu.grasscutter.net.proto.EffigyDailyInfoOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user