mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 04:13:34 +08:00
Add support for game version 3.6 (#2110)
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
This commit is contained in:
+155
-155
@@ -19,37 +19,37 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* @return A list containing the factorList.
|
||||
* <code>uint32 entrance_id = 13;</code>
|
||||
* @return The entranceId.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getFactorListList();
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* @return The count of factorList.
|
||||
*/
|
||||
int getFactorListCount();
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The factorList at the given index.
|
||||
*/
|
||||
int getFactorList(int index);
|
||||
int getEntranceId();
|
||||
|
||||
/**
|
||||
* <code>uint32 template_id = 4;</code>
|
||||
* <code>uint32 template_id = 10;</code>
|
||||
* @return The templateId.
|
||||
*/
|
||||
int getTemplateId();
|
||||
|
||||
/**
|
||||
* <code>uint32 entrance_id = 14;</code>
|
||||
* @return The entranceId.
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @return A list containing the factorList.
|
||||
*/
|
||||
int getEntranceId();
|
||||
java.util.List<java.lang.Integer> getFactorListList();
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @return The count of factorList.
|
||||
*/
|
||||
int getFactorListCount();
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The factorList at the given index.
|
||||
*/
|
||||
int getFactorList(int index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JLADMBEDMHP
|
||||
* Name: GMGHKEODFAD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ParentQuestRandomInfo}
|
||||
@@ -99,11 +99,6 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
done = true;
|
||||
break;
|
||||
case 32: {
|
||||
|
||||
templateId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
factorList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -111,7 +106,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
factorList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
case 34: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -124,7 +119,12 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
case 80: {
|
||||
|
||||
templateId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
|
||||
entranceId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -164,10 +164,32 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.class, emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int FACTOR_LIST_FIELD_NUMBER = 9;
|
||||
public static final int ENTRANCE_ID_FIELD_NUMBER = 13;
|
||||
private int entranceId_;
|
||||
/**
|
||||
* <code>uint32 entrance_id = 13;</code>
|
||||
* @return The entranceId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getEntranceId() {
|
||||
return entranceId_;
|
||||
}
|
||||
|
||||
public static final int TEMPLATE_ID_FIELD_NUMBER = 10;
|
||||
private int templateId_;
|
||||
/**
|
||||
* <code>uint32 template_id = 10;</code>
|
||||
* @return The templateId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTemplateId() {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
public static final int FACTOR_LIST_FIELD_NUMBER = 4;
|
||||
private com.google.protobuf.Internal.IntList factorList_;
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @return A list containing the factorList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -176,14 +198,14 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
return factorList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @return The count of factorList.
|
||||
*/
|
||||
public int getFactorListCount() {
|
||||
return factorList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The factorList at the given index.
|
||||
*/
|
||||
@@ -192,28 +214,6 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
private int factorListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int TEMPLATE_ID_FIELD_NUMBER = 4;
|
||||
private int templateId_;
|
||||
/**
|
||||
* <code>uint32 template_id = 4;</code>
|
||||
* @return The templateId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTemplateId() {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
public static final int ENTRANCE_ID_FIELD_NUMBER = 14;
|
||||
private int entranceId_;
|
||||
/**
|
||||
* <code>uint32 entrance_id = 14;</code>
|
||||
* @return The entranceId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getEntranceId() {
|
||||
return entranceId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -229,18 +229,18 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (templateId_ != 0) {
|
||||
output.writeUInt32(4, templateId_);
|
||||
}
|
||||
if (getFactorListList().size() > 0) {
|
||||
output.writeUInt32NoTag(74);
|
||||
output.writeUInt32NoTag(34);
|
||||
output.writeUInt32NoTag(factorListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < factorList_.size(); i++) {
|
||||
output.writeUInt32NoTag(factorList_.getInt(i));
|
||||
}
|
||||
if (templateId_ != 0) {
|
||||
output.writeUInt32(10, templateId_);
|
||||
}
|
||||
if (entranceId_ != 0) {
|
||||
output.writeUInt32(14, entranceId_);
|
||||
output.writeUInt32(13, entranceId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -251,10 +251,6 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (templateId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, templateId_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < factorList_.size(); i++) {
|
||||
@@ -269,9 +265,13 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
factorListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (templateId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, templateId_);
|
||||
}
|
||||
if (entranceId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(14, entranceId_);
|
||||
.computeUInt32Size(13, entranceId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -288,12 +288,12 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo other = (emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo) obj;
|
||||
|
||||
if (!getFactorListList()
|
||||
.equals(other.getFactorListList())) return false;
|
||||
if (getTemplateId()
|
||||
!= other.getTemplateId()) return false;
|
||||
if (getEntranceId()
|
||||
!= other.getEntranceId()) return false;
|
||||
if (getTemplateId()
|
||||
!= other.getTemplateId()) return false;
|
||||
if (!getFactorListList()
|
||||
.equals(other.getFactorListList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -305,14 +305,14 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + ENTRANCE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getEntranceId();
|
||||
hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTemplateId();
|
||||
if (getFactorListCount() > 0) {
|
||||
hash = (37 * hash) + FACTOR_LIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getFactorListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + TEMPLATE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getTemplateId();
|
||||
hash = (37 * hash) + ENTRANCE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getEntranceId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -410,7 +410,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: JLADMBEDMHP
|
||||
* Name: GMGHKEODFAD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ParentQuestRandomInfo}
|
||||
@@ -450,12 +450,12 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
factorList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
templateId_ = 0;
|
||||
|
||||
entranceId_ = 0;
|
||||
|
||||
templateId_ = 0;
|
||||
|
||||
factorList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -483,13 +483,13 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
public emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo buildPartial() {
|
||||
emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo result = new emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.entranceId_ = entranceId_;
|
||||
result.templateId_ = templateId_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
factorList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.factorList_ = factorList_;
|
||||
result.templateId_ = templateId_;
|
||||
result.entranceId_ = entranceId_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -538,6 +538,12 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo other) {
|
||||
if (other == emu.grasscutter.net.proto.ParentQuestRandomInfoOuterClass.ParentQuestRandomInfo.getDefaultInstance()) return this;
|
||||
if (other.getEntranceId() != 0) {
|
||||
setEntranceId(other.getEntranceId());
|
||||
}
|
||||
if (other.getTemplateId() != 0) {
|
||||
setTemplateId(other.getTemplateId());
|
||||
}
|
||||
if (!other.factorList_.isEmpty()) {
|
||||
if (factorList_.isEmpty()) {
|
||||
factorList_ = other.factorList_;
|
||||
@@ -548,12 +554,6 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getTemplateId() != 0) {
|
||||
setTemplateId(other.getTemplateId());
|
||||
}
|
||||
if (other.getEntranceId() != 0) {
|
||||
setEntranceId(other.getEntranceId());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -584,6 +584,68 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int entranceId_ ;
|
||||
/**
|
||||
* <code>uint32 entrance_id = 13;</code>
|
||||
* @return The entranceId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getEntranceId() {
|
||||
return entranceId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entrance_id = 13;</code>
|
||||
* @param value The entranceId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setEntranceId(int value) {
|
||||
|
||||
entranceId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entrance_id = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearEntranceId() {
|
||||
|
||||
entranceId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int templateId_ ;
|
||||
/**
|
||||
* <code>uint32 template_id = 10;</code>
|
||||
* @return The templateId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTemplateId() {
|
||||
return templateId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 template_id = 10;</code>
|
||||
* @param value The templateId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTemplateId(int value) {
|
||||
|
||||
templateId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 template_id = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTemplateId() {
|
||||
|
||||
templateId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.IntList factorList_ = emptyIntList();
|
||||
private void ensureFactorListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
@@ -592,7 +654,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @return A list containing the factorList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -601,14 +663,14 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
java.util.Collections.unmodifiableList(factorList_) : factorList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @return The count of factorList.
|
||||
*/
|
||||
public int getFactorListCount() {
|
||||
return factorList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The factorList at the given index.
|
||||
*/
|
||||
@@ -616,7 +678,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
return factorList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The factorList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -629,7 +691,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @param value The factorList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -640,7 +702,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @param values The factorList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -653,7 +715,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 factor_list = 9;</code>
|
||||
* <code>repeated uint32 factor_list = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearFactorList() {
|
||||
@@ -662,68 +724,6 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int templateId_ ;
|
||||
/**
|
||||
* <code>uint32 template_id = 4;</code>
|
||||
* @return The templateId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTemplateId() {
|
||||
return templateId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 template_id = 4;</code>
|
||||
* @param value The templateId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setTemplateId(int value) {
|
||||
|
||||
templateId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 template_id = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTemplateId() {
|
||||
|
||||
templateId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int entranceId_ ;
|
||||
/**
|
||||
* <code>uint32 entrance_id = 14;</code>
|
||||
* @return The entranceId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getEntranceId() {
|
||||
return entranceId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entrance_id = 14;</code>
|
||||
* @param value The entranceId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setEntranceId(int value) {
|
||||
|
||||
entranceId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entrance_id = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearEntranceId() {
|
||||
|
||||
entranceId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -792,8 +792,8 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033ParentQuestRandomInfo.proto\"V\n\025ParentQ" +
|
||||
"uestRandomInfo\022\023\n\013factor_list\030\t \003(\r\022\023\n\013t" +
|
||||
"emplate_id\030\004 \001(\r\022\023\n\013entrance_id\030\016 \001(\rB\033\n" +
|
||||
"uestRandomInfo\022\023\n\013entrance_id\030\r \001(\r\022\023\n\013t" +
|
||||
"emplate_id\030\n \001(\r\022\023\n\013factor_list\030\004 \003(\rB\033\n" +
|
||||
"\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -805,7 +805,7 @@ public final class ParentQuestRandomInfoOuterClass {
|
||||
internal_static_ParentQuestRandomInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_ParentQuestRandomInfo_descriptor,
|
||||
new java.lang.String[] { "FactorList", "TemplateId", "EntranceId", });
|
||||
new java.lang.String[] { "EntranceId", "TemplateId", "FactorList", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user