mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 22:30:02 +08:00
update gc 3.4 (#2041)
* update 3.4 * update3.4 * update 3.4 * update 3.4 * Add files via upload * Delete SetPropCommand.java * update 3.4 area id * update version * exchange cmdid * exchange cmdid * exchange cmdid * my fault * update AiSyncInfo
This commit is contained in:
committed by
GitHub
Unverified
parent
39b4aa1387
commit
71a1e31d37
@@ -19,22 +19,22 @@ public final class CityInfoOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* <code>uint32 crystalNum = 15;</code>
|
||||
* @return The crystalNum.
|
||||
*/
|
||||
int getCrystalNum();
|
||||
|
||||
/**
|
||||
* <code>uint32 cityId = 6;</code>
|
||||
* @return The cityId.
|
||||
*/
|
||||
int getCityId();
|
||||
|
||||
/**
|
||||
* <code>uint32 level = 12;</code>
|
||||
* <code>uint32 level = 11;</code>
|
||||
* @return The level.
|
||||
*/
|
||||
int getLevel();
|
||||
|
||||
/**
|
||||
* <code>uint32 crystal_num = 2;</code>
|
||||
* @return The crystalNum.
|
||||
*/
|
||||
int getCrystalNum();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code CityInfo}
|
||||
@@ -81,21 +81,21 @@ public final class CityInfoOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 16: {
|
||||
|
||||
crystalNum_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
case 48: {
|
||||
|
||||
cityId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
case 88: {
|
||||
|
||||
level_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
|
||||
crystalNum_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -128,10 +128,21 @@ public final class CityInfoOuterClass {
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.class, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CITY_ID_FIELD_NUMBER = 9;
|
||||
public static final int CRYSTALNUM_FIELD_NUMBER = 15;
|
||||
private int crystalNum_;
|
||||
/**
|
||||
* <code>uint32 crystalNum = 15;</code>
|
||||
* @return The crystalNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCrystalNum() {
|
||||
return crystalNum_;
|
||||
}
|
||||
|
||||
public static final int CITYID_FIELD_NUMBER = 6;
|
||||
private int cityId_;
|
||||
/**
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* <code>uint32 cityId = 6;</code>
|
||||
* @return The cityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -139,10 +150,10 @@ public final class CityInfoOuterClass {
|
||||
return cityId_;
|
||||
}
|
||||
|
||||
public static final int LEVEL_FIELD_NUMBER = 12;
|
||||
public static final int LEVEL_FIELD_NUMBER = 11;
|
||||
private int level_;
|
||||
/**
|
||||
* <code>uint32 level = 12;</code>
|
||||
* <code>uint32 level = 11;</code>
|
||||
* @return The level.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -150,17 +161,6 @@ public final class CityInfoOuterClass {
|
||||
return level_;
|
||||
}
|
||||
|
||||
public static final int CRYSTAL_NUM_FIELD_NUMBER = 2;
|
||||
private int crystalNum_;
|
||||
/**
|
||||
* <code>uint32 crystal_num = 2;</code>
|
||||
* @return The crystalNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCrystalNum() {
|
||||
return crystalNum_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -175,14 +175,14 @@ public final class CityInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (crystalNum_ != 0) {
|
||||
output.writeUInt32(2, crystalNum_);
|
||||
}
|
||||
if (cityId_ != 0) {
|
||||
output.writeUInt32(9, cityId_);
|
||||
output.writeUInt32(6, cityId_);
|
||||
}
|
||||
if (level_ != 0) {
|
||||
output.writeUInt32(12, level_);
|
||||
output.writeUInt32(11, level_);
|
||||
}
|
||||
if (crystalNum_ != 0) {
|
||||
output.writeUInt32(15, crystalNum_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -193,17 +193,17 @@ public final class CityInfoOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (crystalNum_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(2, crystalNum_);
|
||||
}
|
||||
if (cityId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, cityId_);
|
||||
.computeUInt32Size(6, cityId_);
|
||||
}
|
||||
if (level_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, level_);
|
||||
.computeUInt32Size(11, level_);
|
||||
}
|
||||
if (crystalNum_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, crystalNum_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -220,12 +220,12 @@ public final class CityInfoOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo other = (emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo) obj;
|
||||
|
||||
if (getCrystalNum()
|
||||
!= other.getCrystalNum()) return false;
|
||||
if (getCityId()
|
||||
!= other.getCityId()) return false;
|
||||
if (getLevel()
|
||||
!= other.getLevel()) return false;
|
||||
if (getCrystalNum()
|
||||
!= other.getCrystalNum()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -237,12 +237,12 @@ public final class CityInfoOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CITY_ID_FIELD_NUMBER;
|
||||
hash = (37 * hash) + CRYSTALNUM_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCrystalNum();
|
||||
hash = (37 * hash) + CITYID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCityId();
|
||||
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getLevel();
|
||||
hash = (37 * hash) + CRYSTAL_NUM_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCrystalNum();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -376,12 +376,12 @@ public final class CityInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
crystalNum_ = 0;
|
||||
|
||||
cityId_ = 0;
|
||||
|
||||
level_ = 0;
|
||||
|
||||
crystalNum_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -408,9 +408,9 @@ public final class CityInfoOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo buildPartial() {
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo result = new emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo(this);
|
||||
result.crystalNum_ = crystalNum_;
|
||||
result.cityId_ = cityId_;
|
||||
result.level_ = level_;
|
||||
result.crystalNum_ = crystalNum_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -459,15 +459,15 @@ public final class CityInfoOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo other) {
|
||||
if (other == emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.getDefaultInstance()) return this;
|
||||
if (other.getCrystalNum() != 0) {
|
||||
setCrystalNum(other.getCrystalNum());
|
||||
}
|
||||
if (other.getCityId() != 0) {
|
||||
setCityId(other.getCityId());
|
||||
}
|
||||
if (other.getLevel() != 0) {
|
||||
setLevel(other.getLevel());
|
||||
}
|
||||
if (other.getCrystalNum() != 0) {
|
||||
setCrystalNum(other.getCrystalNum());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -497,9 +497,40 @@ public final class CityInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int crystalNum_ ;
|
||||
/**
|
||||
* <code>uint32 crystalNum = 15;</code>
|
||||
* @return The crystalNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCrystalNum() {
|
||||
return crystalNum_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 crystalNum = 15;</code>
|
||||
* @param value The crystalNum to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCrystalNum(int value) {
|
||||
|
||||
crystalNum_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 crystalNum = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCrystalNum() {
|
||||
|
||||
crystalNum_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int cityId_ ;
|
||||
/**
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* <code>uint32 cityId = 6;</code>
|
||||
* @return The cityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -507,7 +538,7 @@ public final class CityInfoOuterClass {
|
||||
return cityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* <code>uint32 cityId = 6;</code>
|
||||
* @param value The cityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -518,7 +549,7 @@ public final class CityInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 city_id = 9;</code>
|
||||
* <code>uint32 cityId = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCityId() {
|
||||
@@ -530,7 +561,7 @@ public final class CityInfoOuterClass {
|
||||
|
||||
private int level_ ;
|
||||
/**
|
||||
* <code>uint32 level = 12;</code>
|
||||
* <code>uint32 level = 11;</code>
|
||||
* @return The level.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -538,7 +569,7 @@ public final class CityInfoOuterClass {
|
||||
return level_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 level = 12;</code>
|
||||
* <code>uint32 level = 11;</code>
|
||||
* @param value The level to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -549,7 +580,7 @@ public final class CityInfoOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 level = 12;</code>
|
||||
* <code>uint32 level = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearLevel() {
|
||||
@@ -558,37 +589,6 @@ public final class CityInfoOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int crystalNum_ ;
|
||||
/**
|
||||
* <code>uint32 crystal_num = 2;</code>
|
||||
* @return The crystalNum.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCrystalNum() {
|
||||
return crystalNum_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 crystal_num = 2;</code>
|
||||
* @param value The crystalNum to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCrystalNum(int value) {
|
||||
|
||||
crystalNum_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 crystal_num = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCrystalNum() {
|
||||
|
||||
crystalNum_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -656,9 +656,9 @@ public final class CityInfoOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\016CityInfo.proto\"?\n\010CityInfo\022\017\n\007city_id\030" +
|
||||
"\t \001(\r\022\r\n\005level\030\014 \001(\r\022\023\n\013crystal_num\030\002 \001(" +
|
||||
"\rB\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
"\n\016CityInfo.proto\"=\n\010CityInfo\022\022\n\ncrystalN" +
|
||||
"um\030\017 \001(\r\022\016\n\006cityId\030\006 \001(\r\022\r\n\005level\030\013 \001(\rB" +
|
||||
"\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -669,7 +669,7 @@ public final class CityInfoOuterClass {
|
||||
internal_static_CityInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_CityInfo_descriptor,
|
||||
new java.lang.String[] { "CityId", "Level", "CrystalNum", });
|
||||
new java.lang.String[] { "CrystalNum", "CityId", "Level", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user