mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-04 10:24:11 +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
+182
-63
@@ -19,40 +19,29 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint64 cur_avatar_guid = 3;</code>
|
||||
* <code>uint64 curAvatarGuid = 8;</code>
|
||||
* @return The curAvatarGuid.
|
||||
*/
|
||||
long getCurAvatarGuid();
|
||||
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @return A list containing the avatarGuidList.
|
||||
*/
|
||||
java.util.List<java.lang.Long> getAvatarGuidListList();
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @return The count of avatarGuidList.
|
||||
*/
|
||||
int getAvatarGuidListCount();
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The avatarGuidList at the given index.
|
||||
*/
|
||||
long getAvatarGuidList(int index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 1645;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeMpTeamAvatarReq}
|
||||
*/
|
||||
public static final class ChangeMpTeamAvatarReq extends
|
||||
@@ -99,12 +88,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 24: {
|
||||
|
||||
curAvatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
case 16: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
avatarGuidList_ = newLongList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -112,7 +96,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
avatarGuidList_.addLong(input.readUInt64());
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
case 18: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -125,6 +109,11 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
curAvatarGuid_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -160,10 +149,149 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
emu.grasscutter.net.proto.ChangeMpTeamAvatarReqOuterClass.ChangeMpTeamAvatarReq.class, emu.grasscutter.net.proto.ChangeMpTeamAvatarReqOuterClass.ChangeMpTeamAvatarReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CUR_AVATAR_GUID_FIELD_NUMBER = 3;
|
||||
/**
|
||||
* Protobuf enum {@code ChangeMpTeamAvatarReq.AJMGCPCANMH}
|
||||
*/
|
||||
public enum AJMGCPCANMH
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 1784;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 1784),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final AJMGCPCANMH DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>EAJIABGAOCI = 1;</code>
|
||||
*/
|
||||
public static final AJMGCPCANMH EAJIABGAOCI = NNBKOLMPOEA;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 1784;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 1784;
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final int DCDNILFDFLB_VALUE = 0;
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
public static final int NNBKOLMPOEA_VALUE = 1;
|
||||
/**
|
||||
* <code>EAJIABGAOCI = 1;</code>
|
||||
*/
|
||||
public static final int EAJIABGAOCI_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 AJMGCPCANMH 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 AJMGCPCANMH forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 1784: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<AJMGCPCANMH>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
AJMGCPCANMH> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<AJMGCPCANMH>() {
|
||||
public AJMGCPCANMH findValueByNumber(int number) {
|
||||
return AJMGCPCANMH.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.ChangeMpTeamAvatarReqOuterClass.ChangeMpTeamAvatarReq.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final AJMGCPCANMH[] VALUES = getStaticValuesArray();
|
||||
private static AJMGCPCANMH[] getStaticValuesArray() {
|
||||
return new AJMGCPCANMH[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA, EAJIABGAOCI,
|
||||
};
|
||||
}
|
||||
public static AJMGCPCANMH 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 AJMGCPCANMH(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:ChangeMpTeamAvatarReq.AJMGCPCANMH)
|
||||
}
|
||||
|
||||
public static final int CURAVATARGUID_FIELD_NUMBER = 8;
|
||||
private long curAvatarGuid_;
|
||||
/**
|
||||
* <code>uint64 cur_avatar_guid = 3;</code>
|
||||
* <code>uint64 curAvatarGuid = 8;</code>
|
||||
* @return The curAvatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -171,10 +299,10 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return curAvatarGuid_;
|
||||
}
|
||||
|
||||
public static final int AVATAR_GUID_LIST_FIELD_NUMBER = 14;
|
||||
public static final int AVATARGUIDLIST_FIELD_NUMBER = 2;
|
||||
private com.google.protobuf.Internal.LongList avatarGuidList_;
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @return A list containing the avatarGuidList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -183,14 +311,14 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return avatarGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @return The count of avatarGuidList.
|
||||
*/
|
||||
public int getAvatarGuidListCount() {
|
||||
return avatarGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The avatarGuidList at the given index.
|
||||
*/
|
||||
@@ -214,16 +342,16 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (curAvatarGuid_ != 0L) {
|
||||
output.writeUInt64(3, curAvatarGuid_);
|
||||
}
|
||||
if (getAvatarGuidListList().size() > 0) {
|
||||
output.writeUInt32NoTag(114);
|
||||
output.writeUInt32NoTag(18);
|
||||
output.writeUInt32NoTag(avatarGuidListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < avatarGuidList_.size(); i++) {
|
||||
output.writeUInt64NoTag(avatarGuidList_.getLong(i));
|
||||
}
|
||||
if (curAvatarGuid_ != 0L) {
|
||||
output.writeUInt64(8, curAvatarGuid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -233,10 +361,6 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (curAvatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(3, curAvatarGuid_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < avatarGuidList_.size(); i++) {
|
||||
@@ -251,6 +375,10 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
}
|
||||
avatarGuidListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (curAvatarGuid_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(8, curAvatarGuid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -281,11 +409,11 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CUR_AVATAR_GUID_FIELD_NUMBER;
|
||||
hash = (37 * hash) + CURAVATARGUID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getCurAvatarGuid());
|
||||
if (getAvatarGuidListCount() > 0) {
|
||||
hash = (37 * hash) + AVATAR_GUID_LIST_FIELD_NUMBER;
|
||||
hash = (37 * hash) + AVATARGUIDLIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getAvatarGuidListList().hashCode();
|
||||
}
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
@@ -384,17 +512,6 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 1645;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* IS_ALLOW_CLIENT = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeMpTeamAvatarReq}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -562,7 +679,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
|
||||
private long curAvatarGuid_ ;
|
||||
/**
|
||||
* <code>uint64 cur_avatar_guid = 3;</code>
|
||||
* <code>uint64 curAvatarGuid = 8;</code>
|
||||
* @return The curAvatarGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -570,7 +687,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return curAvatarGuid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 cur_avatar_guid = 3;</code>
|
||||
* <code>uint64 curAvatarGuid = 8;</code>
|
||||
* @param value The curAvatarGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -581,7 +698,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 cur_avatar_guid = 3;</code>
|
||||
* <code>uint64 curAvatarGuid = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCurAvatarGuid() {
|
||||
@@ -599,7 +716,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @return A list containing the avatarGuidList.
|
||||
*/
|
||||
public java.util.List<java.lang.Long>
|
||||
@@ -608,14 +725,14 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
java.util.Collections.unmodifiableList(avatarGuidList_) : avatarGuidList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @return The count of avatarGuidList.
|
||||
*/
|
||||
public int getAvatarGuidListCount() {
|
||||
return avatarGuidList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The avatarGuidList at the given index.
|
||||
*/
|
||||
@@ -623,7 +740,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return avatarGuidList_.getLong(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The avatarGuidList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -636,7 +753,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @param value The avatarGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -647,7 +764,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @param values The avatarGuidList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -660,7 +777,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint64 avatar_guid_list = 14;</code>
|
||||
* <code>repeated uint64 avatarGuidList = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAvatarGuidList() {
|
||||
@@ -736,10 +853,12 @@ public final class ChangeMpTeamAvatarReqOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033ChangeMpTeamAvatarReq.proto\"J\n\025ChangeM" +
|
||||
"pTeamAvatarReq\022\027\n\017cur_avatar_guid\030\003 \001(\004\022" +
|
||||
"\030\n\020avatar_guid_list\030\016 \003(\004B\033\n\031emu.grasscu" +
|
||||
"tter.net.protob\006proto3"
|
||||
"\n\033ChangeMpTeamAvatarReq.proto\"\250\001\n\025Change" +
|
||||
"MpTeamAvatarReq\022\025\n\rcurAvatarGuid\030\010 \001(\004\022\026" +
|
||||
"\n\016avatarGuidList\030\002 \003(\004\"`\n\013AJMGCPCANMH\022\010\n" +
|
||||
"\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\370\r\022\017\n\013DCDNILFDFLB" +
|
||||
"\020\000\022\017\n\013NNBKOLMPOEA\020\001\022\017\n\013EAJIABGAOCI\020\001\032\002\020\001" +
|
||||
"B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
||||
Reference in New Issue
Block a user