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,35 +19,35 @@ public final class PrivateChatReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 target_uid = 5;</code>
* <code>uint32 targetUid = 11;</code>
* @return The targetUid.
*/
int getTargetUid();
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return Whether the text field is set.
*/
boolean hasText();
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return The text.
*/
java.lang.String getText();
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @return Whether the icon field is set.
*/
boolean hasIcon();
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @return The icon.
*/
int getIcon();
@@ -56,14 +56,14 @@ public final class PrivateChatReqOuterClass {
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 5029;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
*enum MFGNPEHDMAI {
*option allow_alias = true;
*NONE = 0;
*PEPPOHPHJOJ = 4955;
*DCDNILFDFLB = 0;
*NNBKOLMPOEA = 1;
*EAJIABGAOCI = 1;
*}
* </pre>
*
* Protobuf type {@code PrivateChatReq}
@@ -110,20 +110,20 @@ public final class PrivateChatReqOuterClass {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
contentCase_ = 1;
content_ = s;
case 72: {
contentCase_ = 9;
content_ = input.readUInt32();
break;
}
case 40: {
case 88: {
targetUid_ = input.readUInt32();
break;
}
case 104: {
contentCase_ = 13;
content_ = input.readUInt32();
case 122: {
java.lang.String s = input.readStringRequireUtf8();
contentCase_ = 15;
content_ = s;
break;
}
default: {
@@ -163,8 +163,8 @@ public final class PrivateChatReqOuterClass {
public enum ContentCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TEXT(1),
ICON(13),
TEXT(15),
ICON(9),
CONTENT_NOT_SET(0);
private final int value;
private ContentCase(int value) {
@@ -182,8 +182,8 @@ public final class PrivateChatReqOuterClass {
public static ContentCase forNumber(int value) {
switch (value) {
case 1: return TEXT;
case 13: return ICON;
case 15: return TEXT;
case 9: return ICON;
case 0: return CONTENT_NOT_SET;
default: return null;
}
@@ -199,10 +199,10 @@ public final class PrivateChatReqOuterClass {
contentCase_);
}
public static final int TARGET_UID_FIELD_NUMBER = 5;
public static final int TARGETUID_FIELD_NUMBER = 11;
private int targetUid_;
/**
* <code>uint32 target_uid = 5;</code>
* <code>uint32 targetUid = 11;</code>
* @return The targetUid.
*/
@java.lang.Override
@@ -210,21 +210,21 @@ public final class PrivateChatReqOuterClass {
return targetUid_;
}
public static final int TEXT_FIELD_NUMBER = 1;
public static final int TEXT_FIELD_NUMBER = 15;
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return Whether the text field is set.
*/
public boolean hasText() {
return contentCase_ == 1;
return contentCase_ == 15;
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = "";
if (contentCase_ == 1) {
if (contentCase_ == 15) {
ref = content_;
}
if (ref instanceof java.lang.String) {
@@ -233,27 +233,27 @@ public final class PrivateChatReqOuterClass {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (contentCase_ == 1) {
if (contentCase_ == 15) {
content_ = s;
}
return s;
}
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = "";
if (contentCase_ == 1) {
if (contentCase_ == 15) {
ref = content_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (contentCase_ == 1) {
if (contentCase_ == 15) {
content_ = b;
}
return b;
@@ -262,22 +262,22 @@ public final class PrivateChatReqOuterClass {
}
}
public static final int ICON_FIELD_NUMBER = 13;
public static final int ICON_FIELD_NUMBER = 9;
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @return Whether the icon field is set.
*/
@java.lang.Override
public boolean hasIcon() {
return contentCase_ == 13;
return contentCase_ == 9;
}
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @return The icon.
*/
@java.lang.Override
public int getIcon() {
if (contentCase_ == 13) {
if (contentCase_ == 9) {
return (java.lang.Integer) content_;
}
return 0;
@@ -297,15 +297,15 @@ public final class PrivateChatReqOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (contentCase_ == 1) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, content_);
if (contentCase_ == 9) {
output.writeUInt32(
9, (int)((java.lang.Integer) content_));
}
if (targetUid_ != 0) {
output.writeUInt32(5, targetUid_);
output.writeUInt32(11, targetUid_);
}
if (contentCase_ == 13) {
output.writeUInt32(
13, (int)((java.lang.Integer) content_));
if (contentCase_ == 15) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, content_);
}
unknownFields.writeTo(output);
}
@@ -316,17 +316,17 @@ public final class PrivateChatReqOuterClass {
if (size != -1) return size;
size = 0;
if (contentCase_ == 1) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, content_);
if (contentCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
9, (int)((java.lang.Integer) content_));
}
if (targetUid_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, targetUid_);
.computeUInt32Size(11, targetUid_);
}
if (contentCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
13, (int)((java.lang.Integer) content_));
if (contentCase_ == 15) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, content_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -347,11 +347,11 @@ public final class PrivateChatReqOuterClass {
!= other.getTargetUid()) return false;
if (!getContentCase().equals(other.getContentCase())) return false;
switch (contentCase_) {
case 1:
case 15:
if (!getText()
.equals(other.getText())) return false;
break;
case 13:
case 9:
if (getIcon()
!= other.getIcon()) return false;
break;
@@ -369,14 +369,14 @@ public final class PrivateChatReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TARGET_UID_FIELD_NUMBER;
hash = (37 * hash) + TARGETUID_FIELD_NUMBER;
hash = (53 * hash) + getTargetUid();
switch (contentCase_) {
case 1:
case 15:
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
break;
case 13:
case 9:
hash = (37 * hash) + ICON_FIELD_NUMBER;
hash = (53 * hash) + getIcon();
break;
@@ -480,14 +480,14 @@ public final class PrivateChatReqOuterClass {
}
/**
* <pre>
* enum CmdId {
* option allow_alias = true;
* NONE = 0;
* CMD_ID = 5029;
* ENET_CHANNEL_ID = 0;
* ENET_IS_RELIABLE = 1;
* IS_ALLOW_CLIENT = 1;
* }
*enum MFGNPEHDMAI {
*option allow_alias = true;
*NONE = 0;
*PEPPOHPHJOJ = 4955;
*DCDNILFDFLB = 0;
*NNBKOLMPOEA = 1;
*EAJIABGAOCI = 1;
*}
* </pre>
*
* Protobuf type {@code PrivateChatReq}
@@ -558,10 +558,10 @@ public final class PrivateChatReqOuterClass {
public emu.grasscutter.net.proto.PrivateChatReqOuterClass.PrivateChatReq buildPartial() {
emu.grasscutter.net.proto.PrivateChatReqOuterClass.PrivateChatReq result = new emu.grasscutter.net.proto.PrivateChatReqOuterClass.PrivateChatReq(this);
result.targetUid_ = targetUid_;
if (contentCase_ == 1) {
if (contentCase_ == 15) {
result.content_ = content_;
}
if (contentCase_ == 13) {
if (contentCase_ == 9) {
result.content_ = content_;
}
result.contentCase_ = contentCase_;
@@ -618,7 +618,7 @@ public final class PrivateChatReqOuterClass {
}
switch (other.getContentCase()) {
case TEXT: {
contentCase_ = 1;
contentCase_ = 15;
content_ = other.content_;
onChanged();
break;
@@ -677,7 +677,7 @@ public final class PrivateChatReqOuterClass {
private int targetUid_ ;
/**
* <code>uint32 target_uid = 5;</code>
* <code>uint32 targetUid = 11;</code>
* @return The targetUid.
*/
@java.lang.Override
@@ -685,7 +685,7 @@ public final class PrivateChatReqOuterClass {
return targetUid_;
}
/**
* <code>uint32 target_uid = 5;</code>
* <code>uint32 targetUid = 11;</code>
* @param value The targetUid to set.
* @return This builder for chaining.
*/
@@ -696,7 +696,7 @@ public final class PrivateChatReqOuterClass {
return this;
}
/**
* <code>uint32 target_uid = 5;</code>
* <code>uint32 targetUid = 11;</code>
* @return This builder for chaining.
*/
public Builder clearTargetUid() {
@@ -707,28 +707,28 @@ public final class PrivateChatReqOuterClass {
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return Whether the text field is set.
*/
@java.lang.Override
public boolean hasText() {
return contentCase_ == 1;
return contentCase_ == 15;
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = "";
if (contentCase_ == 1) {
if (contentCase_ == 15) {
ref = content_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (contentCase_ == 1) {
if (contentCase_ == 15) {
content_ = s;
}
return s;
@@ -737,21 +737,21 @@ public final class PrivateChatReqOuterClass {
}
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = "";
if (contentCase_ == 1) {
if (contentCase_ == 15) {
ref = content_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (contentCase_ == 1) {
if (contentCase_ == 15) {
content_ = b;
}
return b;
@@ -760,7 +760,7 @@ public final class PrivateChatReqOuterClass {
}
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @param value The text to set.
* @return This builder for chaining.
*/
@@ -769,17 +769,17 @@ public final class PrivateChatReqOuterClass {
if (value == null) {
throw new NullPointerException();
}
contentCase_ = 1;
contentCase_ = 15;
content_ = value;
onChanged();
return this;
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @return This builder for chaining.
*/
public Builder clearText() {
if (contentCase_ == 1) {
if (contentCase_ == 15) {
contentCase_ = 0;
content_ = null;
onChanged();
@@ -787,7 +787,7 @@ public final class PrivateChatReqOuterClass {
return this;
}
/**
* <code>string text = 1;</code>
* <code>string text = 15;</code>
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
@@ -797,46 +797,46 @@ public final class PrivateChatReqOuterClass {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
contentCase_ = 1;
contentCase_ = 15;
content_ = value;
onChanged();
return this;
}
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @return Whether the icon field is set.
*/
public boolean hasIcon() {
return contentCase_ == 13;
return contentCase_ == 9;
}
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @return The icon.
*/
public int getIcon() {
if (contentCase_ == 13) {
if (contentCase_ == 9) {
return (java.lang.Integer) content_;
}
return 0;
}
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @param value The icon to set.
* @return This builder for chaining.
*/
public Builder setIcon(int value) {
contentCase_ = 13;
contentCase_ = 9;
content_ = value;
onChanged();
return this;
}
/**
* <code>uint32 icon = 13;</code>
* <code>uint32 icon = 9;</code>
* @return This builder for chaining.
*/
public Builder clearIcon() {
if (contentCase_ == 13) {
if (contentCase_ == 9) {
contentCase_ = 0;
content_ = null;
onChanged();
@@ -910,10 +910,10 @@ public final class PrivateChatReqOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\024PrivateChatReq.proto\"O\n\016PrivateChatReq" +
"\022\022\n\ntarget_uid\030\005 \001(\r\022\016\n\004text\030\001 \001(\tH\000\022\016\n\004" +
"icon\030\r \001(\rH\000B\t\n\007contentB\033\n\031emu.grasscutt" +
"er.net.protob\006proto3"
"\n\024PrivateChatReq.proto\"N\n\016PrivateChatReq" +
"\022\021\n\ttargetUid\030\013 \001(\r\022\016\n\004text\030\017 \001(\tH\000\022\016\n\004i" +
"con\030\t \001(\rH\000B\t\n\007contentB\033\n\031emu.grasscutte" +
"r.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,