mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 12:14:01 +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:
+228
-228
@@ -25,49 +25,49 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
boolean getIsOpen();
|
||||
|
||||
/**
|
||||
* <code>uint32 open_time = 15;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
int getOpenTime();
|
||||
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 11;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
boolean getIsFirstPassRewardTaken();
|
||||
|
||||
/**
|
||||
* <code>uint32 score = 2;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
int getScore();
|
||||
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 5;</code>
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
int getDungeonIndex();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>uint32 score = 5;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
int getScore();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getLastConditionIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return The count of lastConditionIdList.
|
||||
*/
|
||||
int getLastConditionIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
int getLastConditionIdList(int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 open_time = 13;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
int getOpenTime();
|
||||
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
boolean getIsFirstPassRewardTaken();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: DDAGBEPBBEP
|
||||
* Obf: OOAOCDJBACD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChannellerSlabLoopDungeonInfo}
|
||||
@@ -118,12 +118,12 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
break;
|
||||
case 16: {
|
||||
|
||||
score_ = input.readUInt32();
|
||||
dungeonIndex_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
|
||||
dungeonIndex_ = input.readUInt32();
|
||||
score_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
@@ -131,7 +131,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
isOpen_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 72: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
lastConditionIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -139,7 +139,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
lastConditionIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 82: {
|
||||
case 74: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -152,14 +152,14 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
case 104: {
|
||||
|
||||
isFirstPassRewardTaken_ = input.readBool();
|
||||
openTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
|
||||
openTime_ = input.readUInt32();
|
||||
isFirstPassRewardTaken_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -208,43 +208,10 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return isOpen_;
|
||||
}
|
||||
|
||||
public static final int OPEN_TIME_FIELD_NUMBER = 15;
|
||||
private int openTime_;
|
||||
/**
|
||||
* <code>uint32 open_time = 15;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getOpenTime() {
|
||||
return openTime_;
|
||||
}
|
||||
|
||||
public static final int IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER = 11;
|
||||
private boolean isFirstPassRewardTaken_;
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 11;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsFirstPassRewardTaken() {
|
||||
return isFirstPassRewardTaken_;
|
||||
}
|
||||
|
||||
public static final int SCORE_FIELD_NUMBER = 2;
|
||||
private int score_;
|
||||
/**
|
||||
* <code>uint32 score = 2;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getScore() {
|
||||
return score_;
|
||||
}
|
||||
|
||||
public static final int DUNGEON_INDEX_FIELD_NUMBER = 5;
|
||||
public static final int DUNGEON_INDEX_FIELD_NUMBER = 2;
|
||||
private int dungeonIndex_;
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 5;</code>
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -252,10 +219,21 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return dungeonIndex_;
|
||||
}
|
||||
|
||||
public static final int LAST_CONDITION_ID_LIST_FIELD_NUMBER = 10;
|
||||
public static final int SCORE_FIELD_NUMBER = 5;
|
||||
private int score_;
|
||||
/**
|
||||
* <code>uint32 score = 5;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getScore() {
|
||||
return score_;
|
||||
}
|
||||
|
||||
public static final int LAST_CONDITION_ID_LIST_FIELD_NUMBER = 9;
|
||||
private com.google.protobuf.Internal.IntList lastConditionIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -264,14 +242,14 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return lastConditionIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return The count of lastConditionIdList.
|
||||
*/
|
||||
public int getLastConditionIdListCount() {
|
||||
return lastConditionIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
@@ -280,6 +258,28 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
private int lastConditionIdListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int OPEN_TIME_FIELD_NUMBER = 13;
|
||||
private int openTime_;
|
||||
/**
|
||||
* <code>uint32 open_time = 13;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getOpenTime() {
|
||||
return openTime_;
|
||||
}
|
||||
|
||||
public static final int IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER = 15;
|
||||
private boolean isFirstPassRewardTaken_;
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsFirstPassRewardTaken() {
|
||||
return isFirstPassRewardTaken_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -295,27 +295,27 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (score_ != 0) {
|
||||
output.writeUInt32(2, score_);
|
||||
}
|
||||
if (dungeonIndex_ != 0) {
|
||||
output.writeUInt32(5, dungeonIndex_);
|
||||
output.writeUInt32(2, dungeonIndex_);
|
||||
}
|
||||
if (score_ != 0) {
|
||||
output.writeUInt32(5, score_);
|
||||
}
|
||||
if (isOpen_ != false) {
|
||||
output.writeBool(8, isOpen_);
|
||||
}
|
||||
if (getLastConditionIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(82);
|
||||
output.writeUInt32NoTag(74);
|
||||
output.writeUInt32NoTag(lastConditionIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < lastConditionIdList_.size(); i++) {
|
||||
output.writeUInt32NoTag(lastConditionIdList_.getInt(i));
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
output.writeBool(11, isFirstPassRewardTaken_);
|
||||
}
|
||||
if (openTime_ != 0) {
|
||||
output.writeUInt32(15, openTime_);
|
||||
output.writeUInt32(13, openTime_);
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
output.writeBool(15, isFirstPassRewardTaken_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -326,13 +326,13 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (score_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, score_);
|
||||
}
|
||||
if (dungeonIndex_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, dungeonIndex_);
|
||||
.computeUInt32Size(2, dungeonIndex_);
|
||||
}
|
||||
if (score_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, score_);
|
||||
}
|
||||
if (isOpen_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
@@ -352,13 +352,13 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
lastConditionIdListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(11, isFirstPassRewardTaken_);
|
||||
}
|
||||
if (openTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, openTime_);
|
||||
.computeUInt32Size(13, openTime_);
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(15, isFirstPassRewardTaken_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -377,16 +377,16 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
|
||||
if (getIsOpen()
|
||||
!= other.getIsOpen()) return false;
|
||||
if (getDungeonIndex()
|
||||
!= other.getDungeonIndex()) return false;
|
||||
if (getScore()
|
||||
!= other.getScore()) return false;
|
||||
if (!getLastConditionIdListList()
|
||||
.equals(other.getLastConditionIdListList())) return false;
|
||||
if (getOpenTime()
|
||||
!= other.getOpenTime()) return false;
|
||||
if (getIsFirstPassRewardTaken()
|
||||
!= other.getIsFirstPassRewardTaken()) return false;
|
||||
if (getScore()
|
||||
!= other.getScore()) return false;
|
||||
if (getDungeonIndex()
|
||||
!= other.getDungeonIndex()) return false;
|
||||
if (!getLastConditionIdListList()
|
||||
.equals(other.getLastConditionIdListList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -401,19 +401,19 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsOpen());
|
||||
hash = (37 * hash) + DUNGEON_INDEX_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDungeonIndex();
|
||||
hash = (37 * hash) + SCORE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getScore();
|
||||
if (getLastConditionIdListCount() > 0) {
|
||||
hash = (37 * hash) + LAST_CONDITION_ID_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getLastConditionIdListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + OPEN_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getOpenTime();
|
||||
hash = (37 * hash) + IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsFirstPassRewardTaken());
|
||||
hash = (37 * hash) + SCORE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getScore();
|
||||
hash = (37 * hash) + DUNGEON_INDEX_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDungeonIndex();
|
||||
if (getLastConditionIdListCount() > 0) {
|
||||
hash = (37 * hash) + LAST_CONDITION_ID_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getLastConditionIdListList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -511,7 +511,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: DDAGBEPBBEP
|
||||
* Obf: OOAOCDJBACD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChannellerSlabLoopDungeonInfo}
|
||||
@@ -553,16 +553,16 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
super.clear();
|
||||
isOpen_ = false;
|
||||
|
||||
dungeonIndex_ = 0;
|
||||
|
||||
score_ = 0;
|
||||
|
||||
lastConditionIdList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
openTime_ = 0;
|
||||
|
||||
isFirstPassRewardTaken_ = false;
|
||||
|
||||
score_ = 0;
|
||||
|
||||
dungeonIndex_ = 0;
|
||||
|
||||
lastConditionIdList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -591,15 +591,15 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo result = new emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.isOpen_ = isOpen_;
|
||||
result.openTime_ = openTime_;
|
||||
result.isFirstPassRewardTaken_ = isFirstPassRewardTaken_;
|
||||
result.score_ = score_;
|
||||
result.dungeonIndex_ = dungeonIndex_;
|
||||
result.score_ = score_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
lastConditionIdList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.lastConditionIdList_ = lastConditionIdList_;
|
||||
result.openTime_ = openTime_;
|
||||
result.isFirstPassRewardTaken_ = isFirstPassRewardTaken_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -651,18 +651,12 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
if (other.getIsOpen() != false) {
|
||||
setIsOpen(other.getIsOpen());
|
||||
}
|
||||
if (other.getOpenTime() != 0) {
|
||||
setOpenTime(other.getOpenTime());
|
||||
}
|
||||
if (other.getIsFirstPassRewardTaken() != false) {
|
||||
setIsFirstPassRewardTaken(other.getIsFirstPassRewardTaken());
|
||||
if (other.getDungeonIndex() != 0) {
|
||||
setDungeonIndex(other.getDungeonIndex());
|
||||
}
|
||||
if (other.getScore() != 0) {
|
||||
setScore(other.getScore());
|
||||
}
|
||||
if (other.getDungeonIndex() != 0) {
|
||||
setDungeonIndex(other.getDungeonIndex());
|
||||
}
|
||||
if (!other.lastConditionIdList_.isEmpty()) {
|
||||
if (lastConditionIdList_.isEmpty()) {
|
||||
lastConditionIdList_ = other.lastConditionIdList_;
|
||||
@@ -673,6 +667,12 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getOpenTime() != 0) {
|
||||
setOpenTime(other.getOpenTime());
|
||||
}
|
||||
if (other.getIsFirstPassRewardTaken() != false) {
|
||||
setIsFirstPassRewardTaken(other.getIsFirstPassRewardTaken());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -734,102 +734,9 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int openTime_ ;
|
||||
/**
|
||||
* <code>uint32 open_time = 15;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getOpenTime() {
|
||||
return openTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 open_time = 15;</code>
|
||||
* @param value The openTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOpenTime(int value) {
|
||||
|
||||
openTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 open_time = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOpenTime() {
|
||||
|
||||
openTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isFirstPassRewardTaken_ ;
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 11;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsFirstPassRewardTaken() {
|
||||
return isFirstPassRewardTaken_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 11;</code>
|
||||
* @param value The isFirstPassRewardTaken to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsFirstPassRewardTaken(boolean value) {
|
||||
|
||||
isFirstPassRewardTaken_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsFirstPassRewardTaken() {
|
||||
|
||||
isFirstPassRewardTaken_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int score_ ;
|
||||
/**
|
||||
* <code>uint32 score = 2;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getScore() {
|
||||
return score_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 score = 2;</code>
|
||||
* @param value The score to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setScore(int value) {
|
||||
|
||||
score_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 score = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearScore() {
|
||||
|
||||
score_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int dungeonIndex_ ;
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 5;</code>
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -837,7 +744,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return dungeonIndex_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 5;</code>
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @param value The dungeonIndex to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -848,7 +755,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 5;</code>
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDungeonIndex() {
|
||||
@@ -858,6 +765,37 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int score_ ;
|
||||
/**
|
||||
* <code>uint32 score = 5;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getScore() {
|
||||
return score_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 score = 5;</code>
|
||||
* @param value The score to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setScore(int value) {
|
||||
|
||||
score_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 score = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearScore() {
|
||||
|
||||
score_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.IntList lastConditionIdList_ = emptyIntList();
|
||||
private void ensureLastConditionIdListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
@@ -866,7 +804,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -875,14 +813,14 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
java.util.Collections.unmodifiableList(lastConditionIdList_) : lastConditionIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return The count of lastConditionIdList.
|
||||
*/
|
||||
public int getLastConditionIdListCount() {
|
||||
return lastConditionIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
@@ -890,7 +828,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return lastConditionIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The lastConditionIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -903,7 +841,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param value The lastConditionIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -914,7 +852,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param values The lastConditionIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -927,7 +865,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 10;</code>
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLastConditionIdList() {
|
||||
@@ -936,6 +874,68 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int openTime_ ;
|
||||
/**
|
||||
* <code>uint32 open_time = 13;</code>
|
||||
* @return The openTime.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getOpenTime() {
|
||||
return openTime_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 open_time = 13;</code>
|
||||
* @param value The openTime to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setOpenTime(int value) {
|
||||
|
||||
openTime_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 open_time = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearOpenTime() {
|
||||
|
||||
openTime_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isFirstPassRewardTaken_ ;
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsFirstPassRewardTaken() {
|
||||
return isFirstPassRewardTaken_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* @param value The isFirstPassRewardTaken to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsFirstPassRewardTaken(boolean value) {
|
||||
|
||||
isFirstPassRewardTaken_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsFirstPassRewardTaken() {
|
||||
|
||||
isFirstPassRewardTaken_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -1005,10 +1005,10 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n#ChannellerSlabLoopDungeonInfo.proto\"\255\001" +
|
||||
"\n\035ChannellerSlabLoopDungeonInfo\022\017\n\007is_op" +
|
||||
"en\030\010 \001(\010\022\021\n\topen_time\030\017 \001(\r\022\"\n\032is_first_" +
|
||||
"pass_reward_taken\030\013 \001(\010\022\r\n\005score\030\002 \001(\r\022\025" +
|
||||
"\n\rdungeon_index\030\005 \001(\r\022\036\n\026last_condition_" +
|
||||
"id_list\030\n \003(\rB\033\n\031emu.grasscutter.net.pro" +
|
||||
"en\030\010 \001(\010\022\025\n\rdungeon_index\030\002 \001(\r\022\r\n\005score" +
|
||||
"\030\005 \001(\r\022\036\n\026last_condition_id_list\030\t \003(\r\022\021" +
|
||||
"\n\topen_time\030\r \001(\r\022\"\n\032is_first_pass_rewar" +
|
||||
"d_taken\030\017 \001(\010B\033\n\031emu.grasscutter.net.pro" +
|
||||
"tob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -1020,7 +1020,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
internal_static_ChannellerSlabLoopDungeonInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ChannellerSlabLoopDungeonInfo_descriptor,
|
||||
new java.lang.String[] { "IsOpen", "OpenTime", "IsFirstPassRewardTaken", "Score", "DungeonIndex", "LastConditionIdList", });
|
||||
new java.lang.String[] { "IsOpen", "DungeonIndex", "Score", "LastConditionIdList", "OpenTime", "IsFirstPassRewardTaken", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user