mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 11:05:04 +08:00
Add new protocol definitions
This commit is contained in:
+353
-353
@@ -18,41 +18,6 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
// @@protoc_insertion_point(interface_extends:ChannellerSlabLoopDungeonInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>bool is_open = 8;</code>
|
||||
* @return The isOpen.
|
||||
*/
|
||||
boolean getIsOpen();
|
||||
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
int getDungeonIndex();
|
||||
|
||||
/**
|
||||
* <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 = 9;</code>
|
||||
* @return The count of lastConditionIdList.
|
||||
*/
|
||||
int getLastConditionIdListCount();
|
||||
/**
|
||||
* <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.
|
||||
@@ -60,14 +25,49 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
int getOpenTime();
|
||||
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* <code>uint32 score = 14;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
int getScore();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getLastConditionIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @return The count of lastConditionIdList.
|
||||
*/
|
||||
int getLastConditionIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
int getLastConditionIdList(int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 6;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
int getDungeonIndex();
|
||||
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 2;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
boolean getIsFirstPassRewardTaken();
|
||||
|
||||
/**
|
||||
* <code>bool is_open = 15;</code>
|
||||
* @return The isOpen.
|
||||
*/
|
||||
boolean getIsOpen();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: OOAOCDJBACD
|
||||
* Obf: CKMPMHKJFFI
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChannellerSlabLoopDungeonInfo}
|
||||
@@ -116,22 +116,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
|
||||
dungeonIndex_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
|
||||
score_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
isOpen_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
case 8: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
lastConditionIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -139,7 +124,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
lastConditionIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
case 10: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -152,14 +137,29 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
|
||||
isFirstPassRewardTaken_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
dungeonIndex_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
|
||||
openTime_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
|
||||
score_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
|
||||
isFirstPassRewardTaken_ = input.readBool();
|
||||
isOpen_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -197,67 +197,6 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo.class, emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int IS_OPEN_FIELD_NUMBER = 8;
|
||||
private boolean isOpen_;
|
||||
/**
|
||||
* <code>bool is_open = 8;</code>
|
||||
* @return The isOpen.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsOpen() {
|
||||
return isOpen_;
|
||||
}
|
||||
|
||||
public static final int DUNGEON_INDEX_FIELD_NUMBER = 2;
|
||||
private int dungeonIndex_;
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDungeonIndex() {
|
||||
return dungeonIndex_;
|
||||
}
|
||||
|
||||
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 = 9;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Integer>
|
||||
getLastConditionIdListList() {
|
||||
return lastConditionIdList_;
|
||||
}
|
||||
/**
|
||||
* <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 = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
public int getLastConditionIdList(int index) {
|
||||
return lastConditionIdList_.getInt(index);
|
||||
}
|
||||
private int lastConditionIdListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int OPEN_TIME_FIELD_NUMBER = 13;
|
||||
private int openTime_;
|
||||
/**
|
||||
@@ -269,10 +208,60 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return openTime_;
|
||||
}
|
||||
|
||||
public static final int IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER = 15;
|
||||
public static final int SCORE_FIELD_NUMBER = 14;
|
||||
private int score_;
|
||||
/**
|
||||
* <code>uint32 score = 14;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getScore() {
|
||||
return score_;
|
||||
}
|
||||
|
||||
public static final int LAST_CONDITION_ID_LIST_FIELD_NUMBER = 1;
|
||||
private com.google.protobuf.Internal.IntList lastConditionIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<java.lang.Integer>
|
||||
getLastConditionIdListList() {
|
||||
return lastConditionIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @return The count of lastConditionIdList.
|
||||
*/
|
||||
public int getLastConditionIdListCount() {
|
||||
return lastConditionIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
public int getLastConditionIdList(int index) {
|
||||
return lastConditionIdList_.getInt(index);
|
||||
}
|
||||
private int lastConditionIdListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DUNGEON_INDEX_FIELD_NUMBER = 6;
|
||||
private int dungeonIndex_;
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 6;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDungeonIndex() {
|
||||
return dungeonIndex_;
|
||||
}
|
||||
|
||||
public static final int IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER = 2;
|
||||
private boolean isFirstPassRewardTaken_;
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* <code>bool is_first_pass_reward_taken = 2;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -280,6 +269,17 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return isFirstPassRewardTaken_;
|
||||
}
|
||||
|
||||
public static final int IS_OPEN_FIELD_NUMBER = 15;
|
||||
private boolean isOpen_;
|
||||
/**
|
||||
* <code>bool is_open = 15;</code>
|
||||
* @return The isOpen.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsOpen() {
|
||||
return isOpen_;
|
||||
}
|
||||
|
||||
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 (dungeonIndex_ != 0) {
|
||||
output.writeUInt32(2, dungeonIndex_);
|
||||
}
|
||||
if (score_ != 0) {
|
||||
output.writeUInt32(5, score_);
|
||||
}
|
||||
if (isOpen_ != false) {
|
||||
output.writeBool(8, isOpen_);
|
||||
}
|
||||
if (getLastConditionIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(74);
|
||||
output.writeUInt32NoTag(10);
|
||||
output.writeUInt32NoTag(lastConditionIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < lastConditionIdList_.size(); i++) {
|
||||
output.writeUInt32NoTag(lastConditionIdList_.getInt(i));
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
output.writeBool(2, isFirstPassRewardTaken_);
|
||||
}
|
||||
if (dungeonIndex_ != 0) {
|
||||
output.writeUInt32(6, dungeonIndex_);
|
||||
}
|
||||
if (openTime_ != 0) {
|
||||
output.writeUInt32(13, openTime_);
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
output.writeBool(15, isFirstPassRewardTaken_);
|
||||
if (score_ != 0) {
|
||||
output.writeUInt32(14, score_);
|
||||
}
|
||||
if (isOpen_ != false) {
|
||||
output.writeBool(15, isOpen_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -326,18 +326,6 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (dungeonIndex_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, dungeonIndex_);
|
||||
}
|
||||
if (score_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(5, score_);
|
||||
}
|
||||
if (isOpen_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(8, isOpen_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < lastConditionIdList_.size(); i++) {
|
||||
@@ -352,13 +340,25 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
lastConditionIdListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(2, isFirstPassRewardTaken_);
|
||||
}
|
||||
if (dungeonIndex_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, dungeonIndex_);
|
||||
}
|
||||
if (openTime_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(13, openTime_);
|
||||
}
|
||||
if (isFirstPassRewardTaken_ != false) {
|
||||
if (score_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(15, isFirstPassRewardTaken_);
|
||||
.computeUInt32Size(14, score_);
|
||||
}
|
||||
if (isOpen_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(15, isOpen_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -375,18 +375,18 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo other = (emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo) obj;
|
||||
|
||||
if (getIsOpen()
|
||||
!= other.getIsOpen()) return false;
|
||||
if (getDungeonIndex()
|
||||
!= other.getDungeonIndex()) return false;
|
||||
if (getOpenTime()
|
||||
!= other.getOpenTime()) return false;
|
||||
if (getScore()
|
||||
!= other.getScore()) return false;
|
||||
if (!getLastConditionIdListList()
|
||||
.equals(other.getLastConditionIdListList())) return false;
|
||||
if (getOpenTime()
|
||||
!= other.getOpenTime()) return false;
|
||||
if (getDungeonIndex()
|
||||
!= other.getDungeonIndex()) return false;
|
||||
if (getIsFirstPassRewardTaken()
|
||||
!= other.getIsFirstPassRewardTaken()) return false;
|
||||
if (getIsOpen()
|
||||
!= other.getIsOpen()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -398,22 +398,22 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
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) + OPEN_TIME_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getOpenTime();
|
||||
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) + DUNGEON_INDEX_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getDungeonIndex();
|
||||
hash = (37 * hash) + IS_FIRST_PASS_REWARD_TAKEN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsFirstPassRewardTaken());
|
||||
hash = (37 * hash) + IS_OPEN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsOpen());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -511,7 +511,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: OOAOCDJBACD
|
||||
* Obf: CKMPMHKJFFI
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChannellerSlabLoopDungeonInfo}
|
||||
@@ -551,18 +551,18 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
isOpen_ = false;
|
||||
|
||||
dungeonIndex_ = 0;
|
||||
openTime_ = 0;
|
||||
|
||||
score_ = 0;
|
||||
|
||||
lastConditionIdList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
openTime_ = 0;
|
||||
dungeonIndex_ = 0;
|
||||
|
||||
isFirstPassRewardTaken_ = false;
|
||||
|
||||
isOpen_ = false;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -590,16 +590,16 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
public emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo buildPartial() {
|
||||
emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo result = new emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.isOpen_ = isOpen_;
|
||||
result.dungeonIndex_ = dungeonIndex_;
|
||||
result.openTime_ = openTime_;
|
||||
result.score_ = score_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
lastConditionIdList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.lastConditionIdList_ = lastConditionIdList_;
|
||||
result.openTime_ = openTime_;
|
||||
result.dungeonIndex_ = dungeonIndex_;
|
||||
result.isFirstPassRewardTaken_ = isFirstPassRewardTaken_;
|
||||
result.isOpen_ = isOpen_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -648,11 +648,8 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo other) {
|
||||
if (other == emu.grasscutter.net.proto.ChannellerSlabLoopDungeonInfoOuterClass.ChannellerSlabLoopDungeonInfo.getDefaultInstance()) return this;
|
||||
if (other.getIsOpen() != false) {
|
||||
setIsOpen(other.getIsOpen());
|
||||
}
|
||||
if (other.getDungeonIndex() != 0) {
|
||||
setDungeonIndex(other.getDungeonIndex());
|
||||
if (other.getOpenTime() != 0) {
|
||||
setOpenTime(other.getOpenTime());
|
||||
}
|
||||
if (other.getScore() != 0) {
|
||||
setScore(other.getScore());
|
||||
@@ -667,12 +664,15 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getOpenTime() != 0) {
|
||||
setOpenTime(other.getOpenTime());
|
||||
if (other.getDungeonIndex() != 0) {
|
||||
setDungeonIndex(other.getDungeonIndex());
|
||||
}
|
||||
if (other.getIsFirstPassRewardTaken() != false) {
|
||||
setIsFirstPassRewardTaken(other.getIsFirstPassRewardTaken());
|
||||
}
|
||||
if (other.getIsOpen() != false) {
|
||||
setIsOpen(other.getIsOpen());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -703,178 +703,6 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private boolean isOpen_ ;
|
||||
/**
|
||||
* <code>bool is_open = 8;</code>
|
||||
* @return The isOpen.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsOpen() {
|
||||
return isOpen_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_open = 8;</code>
|
||||
* @param value The isOpen to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsOpen(boolean value) {
|
||||
|
||||
isOpen_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_open = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsOpen() {
|
||||
|
||||
isOpen_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int dungeonIndex_ ;
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDungeonIndex() {
|
||||
return dungeonIndex_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @param value The dungeonIndex to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDungeonIndex(int value) {
|
||||
|
||||
dungeonIndex_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDungeonIndex() {
|
||||
|
||||
dungeonIndex_ = 0;
|
||||
onChanged();
|
||||
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)) {
|
||||
lastConditionIdList_ = mutableCopy(lastConditionIdList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getLastConditionIdListList() {
|
||||
return ((bitField0_ & 0x00000001) != 0) ?
|
||||
java.util.Collections.unmodifiableList(lastConditionIdList_) : lastConditionIdList_;
|
||||
}
|
||||
/**
|
||||
* <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 = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
public int getLastConditionIdList(int index) {
|
||||
return lastConditionIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <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.
|
||||
*/
|
||||
public Builder setLastConditionIdList(
|
||||
int index, int value) {
|
||||
ensureLastConditionIdListIsMutable();
|
||||
lastConditionIdList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param value The lastConditionIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addLastConditionIdList(int value) {
|
||||
ensureLastConditionIdListIsMutable();
|
||||
lastConditionIdList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @param values The lastConditionIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllLastConditionIdList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureLastConditionIdListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, lastConditionIdList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 9;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLastConditionIdList() {
|
||||
lastConditionIdList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int openTime_ ;
|
||||
/**
|
||||
* <code>uint32 open_time = 13;</code>
|
||||
@@ -906,9 +734,150 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int score_ ;
|
||||
/**
|
||||
* <code>uint32 score = 14;</code>
|
||||
* @return The score.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getScore() {
|
||||
return score_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 score = 14;</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 = 14;</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)) {
|
||||
lastConditionIdList_ = mutableCopy(lastConditionIdList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @return A list containing the lastConditionIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getLastConditionIdListList() {
|
||||
return ((bitField0_ & 0x00000001) != 0) ?
|
||||
java.util.Collections.unmodifiableList(lastConditionIdList_) : lastConditionIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @return The count of lastConditionIdList.
|
||||
*/
|
||||
public int getLastConditionIdListCount() {
|
||||
return lastConditionIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The lastConditionIdList at the given index.
|
||||
*/
|
||||
public int getLastConditionIdList(int index) {
|
||||
return lastConditionIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The lastConditionIdList to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setLastConditionIdList(
|
||||
int index, int value) {
|
||||
ensureLastConditionIdListIsMutable();
|
||||
lastConditionIdList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @param value The lastConditionIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addLastConditionIdList(int value) {
|
||||
ensureLastConditionIdListIsMutable();
|
||||
lastConditionIdList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @param values The lastConditionIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllLastConditionIdList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureLastConditionIdListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, lastConditionIdList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 last_condition_id_list = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLastConditionIdList() {
|
||||
lastConditionIdList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int dungeonIndex_ ;
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 6;</code>
|
||||
* @return The dungeonIndex.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getDungeonIndex() {
|
||||
return dungeonIndex_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 6;</code>
|
||||
* @param value The dungeonIndex to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setDungeonIndex(int value) {
|
||||
|
||||
dungeonIndex_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 dungeon_index = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDungeonIndex() {
|
||||
|
||||
dungeonIndex_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isFirstPassRewardTaken_ ;
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* <code>bool is_first_pass_reward_taken = 2;</code>
|
||||
* @return The isFirstPassRewardTaken.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -916,7 +885,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return isFirstPassRewardTaken_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* <code>bool is_first_pass_reward_taken = 2;</code>
|
||||
* @param value The isFirstPassRewardTaken to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -927,7 +896,7 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_first_pass_reward_taken = 15;</code>
|
||||
* <code>bool is_first_pass_reward_taken = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsFirstPassRewardTaken() {
|
||||
@@ -936,6 +905,37 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean isOpen_ ;
|
||||
/**
|
||||
* <code>bool is_open = 15;</code>
|
||||
* @return The isOpen.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getIsOpen() {
|
||||
return isOpen_;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_open = 15;</code>
|
||||
* @param value The isOpen to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setIsOpen(boolean value) {
|
||||
|
||||
isOpen_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool is_open = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearIsOpen() {
|
||||
|
||||
isOpen_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -1004,11 +1004,11 @@ public final class ChannellerSlabLoopDungeonInfoOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n#ChannellerSlabLoopDungeonInfo.proto\"\255\001" +
|
||||
"\n\035ChannellerSlabLoopDungeonInfo\022\017\n\007is_op" +
|
||||
"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" +
|
||||
"\n\035ChannellerSlabLoopDungeonInfo\022\021\n\topen_" +
|
||||
"time\030\r \001(\r\022\r\n\005score\030\016 \001(\r\022\036\n\026last_condit" +
|
||||
"ion_id_list\030\001 \003(\r\022\025\n\rdungeon_index\030\006 \001(\r" +
|
||||
"\022\"\n\032is_first_pass_reward_taken\030\002 \001(\010\022\017\n\007" +
|
||||
"is_open\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", "DungeonIndex", "Score", "LastConditionIdList", "OpenTime", "IsFirstPassRewardTaken", });
|
||||
new java.lang.String[] { "OpenTime", "Score", "LastConditionIdList", "DungeonIndex", "IsFirstPassRewardTaken", "IsOpen", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user