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:
yeyeye
2023-02-19 11:18:27 +08:00
committed by GitHub
Unverified
parent 39b4aa1387
commit 71a1e31d37
1191 changed files with 459994 additions and 172995 deletions
@@ -19,34 +19,24 @@ public final class ResinChangeNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 cur_buy_count = 11;</code>
* @return The curBuyCount.
* <code>uint32 curValue = 12;</code>
* @return The curValue.
*/
int getCurBuyCount();
int getCurValue();
/**
* <code>uint32 next_add_timestamp = 13;</code>
* <code>uint32 nextAddTimestamp = 4;</code>
* @return The nextAddTimestamp.
*/
int getNextAddTimestamp();
/**
* <code>uint32 cur_value = 10;</code>
* @return The curValue.
* <code>uint32 curBuyCount = 5;</code>
* @return The curBuyCount.
*/
int getCurValue();
int getCurBuyCount();
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 611;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code ResinChangeNotify}
*/
public static final class ResinChangeNotify extends
@@ -91,19 +81,19 @@ public final class ResinChangeNotifyOuterClass {
case 0:
done = true;
break;
case 80: {
case 32: {
curValue_ = input.readUInt32();
nextAddTimestamp_ = input.readUInt32();
break;
}
case 88: {
case 40: {
curBuyCount_ = input.readUInt32();
break;
}
case 104: {
case 96: {
nextAddTimestamp_ = input.readUInt32();
curValue_ = input.readUInt32();
break;
}
default: {
@@ -138,21 +128,152 @@ public final class ResinChangeNotifyOuterClass {
emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.class, emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.Builder.class);
}
public static final int CUR_BUY_COUNT_FIELD_NUMBER = 11;
private int curBuyCount_;
/**
* <code>uint32 cur_buy_count = 11;</code>
* @return The curBuyCount.
* Protobuf enum {@code ResinChangeNotify.AJMGAALGPGO}
*/
@java.lang.Override
public int getCurBuyCount() {
return curBuyCount_;
public enum AJMGAALGPGO
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 694;</code>
*/
PEPPOHPHJOJ(1, 694),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final AJMGAALGPGO DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 694;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 694;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
public static final int NNBKOLMPOEA_VALUE = 1;
public final int getNumber() {
if (index == -1) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AJMGAALGPGO valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AJMGAALGPGO forNumber(int value) {
switch (value) {
case 0: return NONE;
case 694: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AJMGAALGPGO>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AJMGAALGPGO> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AJMGAALGPGO>() {
public AJMGAALGPGO findValueByNumber(int number) {
return AJMGAALGPGO.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (index == -1) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.getDescriptor().getEnumTypes().get(0);
}
private static final AJMGAALGPGO[] VALUES = getStaticValuesArray();
private static AJMGAALGPGO[] getStaticValuesArray() {
return new AJMGAALGPGO[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static AJMGAALGPGO valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private AJMGAALGPGO(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ResinChangeNotify.AJMGAALGPGO)
}
public static final int NEXT_ADD_TIMESTAMP_FIELD_NUMBER = 13;
public static final int CURVALUE_FIELD_NUMBER = 12;
private int curValue_;
/**
* <code>uint32 curValue = 12;</code>
* @return The curValue.
*/
@java.lang.Override
public int getCurValue() {
return curValue_;
}
public static final int NEXTADDTIMESTAMP_FIELD_NUMBER = 4;
private int nextAddTimestamp_;
/**
* <code>uint32 next_add_timestamp = 13;</code>
* <code>uint32 nextAddTimestamp = 4;</code>
* @return The nextAddTimestamp.
*/
@java.lang.Override
@@ -160,15 +281,15 @@ public final class ResinChangeNotifyOuterClass {
return nextAddTimestamp_;
}
public static final int CUR_VALUE_FIELD_NUMBER = 10;
private int curValue_;
public static final int CURBUYCOUNT_FIELD_NUMBER = 5;
private int curBuyCount_;
/**
* <code>uint32 cur_value = 10;</code>
* @return The curValue.
* <code>uint32 curBuyCount = 5;</code>
* @return The curBuyCount.
*/
@java.lang.Override
public int getCurValue() {
return curValue_;
public int getCurBuyCount() {
return curBuyCount_;
}
private byte memoizedIsInitialized = -1;
@@ -185,14 +306,14 @@ public final class ResinChangeNotifyOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (curValue_ != 0) {
output.writeUInt32(10, curValue_);
if (nextAddTimestamp_ != 0) {
output.writeUInt32(4, nextAddTimestamp_);
}
if (curBuyCount_ != 0) {
output.writeUInt32(11, curBuyCount_);
output.writeUInt32(5, curBuyCount_);
}
if (nextAddTimestamp_ != 0) {
output.writeUInt32(13, nextAddTimestamp_);
if (curValue_ != 0) {
output.writeUInt32(12, curValue_);
}
unknownFields.writeTo(output);
}
@@ -203,17 +324,17 @@ public final class ResinChangeNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (curValue_ != 0) {
if (nextAddTimestamp_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, curValue_);
.computeUInt32Size(4, nextAddTimestamp_);
}
if (curBuyCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, curBuyCount_);
.computeUInt32Size(5, curBuyCount_);
}
if (nextAddTimestamp_ != 0) {
if (curValue_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, nextAddTimestamp_);
.computeUInt32Size(12, curValue_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -230,12 +351,12 @@ public final class ResinChangeNotifyOuterClass {
}
emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify other = (emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify) obj;
if (getCurBuyCount()
!= other.getCurBuyCount()) return false;
if (getNextAddTimestamp()
!= other.getNextAddTimestamp()) return false;
if (getCurValue()
!= other.getCurValue()) return false;
if (getNextAddTimestamp()
!= other.getNextAddTimestamp()) return false;
if (getCurBuyCount()
!= other.getCurBuyCount()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -247,12 +368,12 @@ public final class ResinChangeNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CUR_BUY_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCurBuyCount();
hash = (37 * hash) + NEXT_ADD_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getNextAddTimestamp();
hash = (37 * hash) + CUR_VALUE_FIELD_NUMBER;
hash = (37 * hash) + CURVALUE_FIELD_NUMBER;
hash = (53 * hash) + getCurValue();
hash = (37 * hash) + NEXTADDTIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getNextAddTimestamp();
hash = (37 * hash) + CURBUYCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getCurBuyCount();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -349,16 +470,6 @@ public final class ResinChangeNotifyOuterClass {
return builder;
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 611;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* }
* </pre>
*
* Protobuf type {@code ResinChangeNotify}
*/
public static final class Builder extends
@@ -396,11 +507,11 @@ public final class ResinChangeNotifyOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
curBuyCount_ = 0;
curValue_ = 0;
nextAddTimestamp_ = 0;
curValue_ = 0;
curBuyCount_ = 0;
return this;
}
@@ -428,9 +539,9 @@ public final class ResinChangeNotifyOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify buildPartial() {
emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify result = new emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify(this);
result.curBuyCount_ = curBuyCount_;
result.nextAddTimestamp_ = nextAddTimestamp_;
result.curValue_ = curValue_;
result.nextAddTimestamp_ = nextAddTimestamp_;
result.curBuyCount_ = curBuyCount_;
onBuilt();
return result;
}
@@ -479,14 +590,14 @@ public final class ResinChangeNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify other) {
if (other == emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.getDefaultInstance()) return this;
if (other.getCurBuyCount() != 0) {
setCurBuyCount(other.getCurBuyCount());
if (other.getCurValue() != 0) {
setCurValue(other.getCurValue());
}
if (other.getNextAddTimestamp() != 0) {
setNextAddTimestamp(other.getNextAddTimestamp());
}
if (other.getCurValue() != 0) {
setCurValue(other.getCurValue());
if (other.getCurBuyCount() != 0) {
setCurBuyCount(other.getCurBuyCount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -517,71 +628,9 @@ public final class ResinChangeNotifyOuterClass {
return this;
}
private int curBuyCount_ ;
/**
* <code>uint32 cur_buy_count = 11;</code>
* @return The curBuyCount.
*/
@java.lang.Override
public int getCurBuyCount() {
return curBuyCount_;
}
/**
* <code>uint32 cur_buy_count = 11;</code>
* @param value The curBuyCount to set.
* @return This builder for chaining.
*/
public Builder setCurBuyCount(int value) {
curBuyCount_ = value;
onChanged();
return this;
}
/**
* <code>uint32 cur_buy_count = 11;</code>
* @return This builder for chaining.
*/
public Builder clearCurBuyCount() {
curBuyCount_ = 0;
onChanged();
return this;
}
private int nextAddTimestamp_ ;
/**
* <code>uint32 next_add_timestamp = 13;</code>
* @return The nextAddTimestamp.
*/
@java.lang.Override
public int getNextAddTimestamp() {
return nextAddTimestamp_;
}
/**
* <code>uint32 next_add_timestamp = 13;</code>
* @param value The nextAddTimestamp to set.
* @return This builder for chaining.
*/
public Builder setNextAddTimestamp(int value) {
nextAddTimestamp_ = value;
onChanged();
return this;
}
/**
* <code>uint32 next_add_timestamp = 13;</code>
* @return This builder for chaining.
*/
public Builder clearNextAddTimestamp() {
nextAddTimestamp_ = 0;
onChanged();
return this;
}
private int curValue_ ;
/**
* <code>uint32 cur_value = 10;</code>
* <code>uint32 curValue = 12;</code>
* @return The curValue.
*/
@java.lang.Override
@@ -589,7 +638,7 @@ public final class ResinChangeNotifyOuterClass {
return curValue_;
}
/**
* <code>uint32 cur_value = 10;</code>
* <code>uint32 curValue = 12;</code>
* @param value The curValue to set.
* @return This builder for chaining.
*/
@@ -600,7 +649,7 @@ public final class ResinChangeNotifyOuterClass {
return this;
}
/**
* <code>uint32 cur_value = 10;</code>
* <code>uint32 curValue = 12;</code>
* @return This builder for chaining.
*/
public Builder clearCurValue() {
@@ -609,6 +658,68 @@ public final class ResinChangeNotifyOuterClass {
onChanged();
return this;
}
private int nextAddTimestamp_ ;
/**
* <code>uint32 nextAddTimestamp = 4;</code>
* @return The nextAddTimestamp.
*/
@java.lang.Override
public int getNextAddTimestamp() {
return nextAddTimestamp_;
}
/**
* <code>uint32 nextAddTimestamp = 4;</code>
* @param value The nextAddTimestamp to set.
* @return This builder for chaining.
*/
public Builder setNextAddTimestamp(int value) {
nextAddTimestamp_ = value;
onChanged();
return this;
}
/**
* <code>uint32 nextAddTimestamp = 4;</code>
* @return This builder for chaining.
*/
public Builder clearNextAddTimestamp() {
nextAddTimestamp_ = 0;
onChanged();
return this;
}
private int curBuyCount_ ;
/**
* <code>uint32 curBuyCount = 5;</code>
* @return The curBuyCount.
*/
@java.lang.Override
public int getCurBuyCount() {
return curBuyCount_;
}
/**
* <code>uint32 curBuyCount = 5;</code>
* @param value The curBuyCount to set.
* @return This builder for chaining.
*/
public Builder setCurBuyCount(int value) {
curBuyCount_ = value;
onChanged();
return this;
}
/**
* <code>uint32 curBuyCount = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCurBuyCount() {
curBuyCount_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -676,10 +787,12 @@ public final class ResinChangeNotifyOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027ResinChangeNotify.proto\"Y\n\021ResinChange" +
"Notify\022\025\n\rcur_buy_count\030\013 \001(\r\022\032\n\022next_ad" +
"d_timestamp\030\r \001(\r\022\021\n\tcur_value\030\n \001(\rB\033\n\031" +
"emu.grasscutter.net.protob\006proto3"
"\n\027ResinChangeNotify.proto\"\245\001\n\021ResinChang" +
"eNotify\022\020\n\010curValue\030\014 \001(\r\022\030\n\020nextAddTime" +
"stamp\030\004 \001(\r\022\023\n\013curBuyCount\030\005 \001(\r\"O\n\013AJMG" +
"AALGPGO\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\266\005\022\017\n\013D" +
"CDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -690,7 +803,7 @@ public final class ResinChangeNotifyOuterClass {
internal_static_ResinChangeNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ResinChangeNotify_descriptor,
new java.lang.String[] { "CurBuyCount", "NextAddTimestamp", "CurValue", });
new java.lang.String[] { "CurValue", "NextAddTimestamp", "CurBuyCount", });
}
// @@protoc_insertion_point(outer_class_scope)