mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-08 21:43:51 +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
+327
-214
@@ -19,69 +19,59 @@ public final class GetSceneAreaRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
int getSceneId();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @return A list containing the areaIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getAreaIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @return The count of areaIdList.
|
||||
*/
|
||||
int getAreaIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The areaIdList at the given index.
|
||||
*/
|
||||
int getAreaIdList(int index);
|
||||
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
|
||||
/**
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo>
|
||||
getCityInfoListList();
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo getCityInfoList(int index);
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
int getCityInfoListCount();
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
java.util.List<? extends emu.grasscutter.net.proto.CityInfoOuterClass.CityInfoOrBuilder>
|
||||
getCityInfoListOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfoOrBuilder getCityInfoListOrBuilder(
|
||||
int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 sceneId = 2;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
int getSceneId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 244;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetSceneAreaRsp}
|
||||
*/
|
||||
public static final class GetSceneAreaRsp extends
|
||||
@@ -129,26 +119,17 @@ public final class GetSceneAreaRspOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
case 16: {
|
||||
|
||||
sceneId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
cityInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo>();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
cityInfoList_.add(
|
||||
input.readMessage(emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.parser(), extensionRegistry));
|
||||
case 48: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
case 88: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
areaIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -156,7 +137,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
areaIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
case 90: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -169,6 +150,15 @@ public final class GetSceneAreaRspOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 114: {
|
||||
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
cityInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo>();
|
||||
mutable_bitField0_ |= 0x00000002;
|
||||
}
|
||||
cityInfoList_.add(
|
||||
input.readMessage(emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -184,12 +174,12 @@ public final class GetSceneAreaRspOuterClass {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
cityInfoList_ = java.util.Collections.unmodifiableList(cityInfoList_);
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
areaIdList_.makeImmutable(); // C
|
||||
}
|
||||
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
||||
cityInfoList_ = java.util.Collections.unmodifiableList(cityInfoList_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
@@ -207,32 +197,141 @@ public final class GetSceneAreaRspOuterClass {
|
||||
emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp.class, emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SCENE_ID_FIELD_NUMBER = 8;
|
||||
private int sceneId_;
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* @return The sceneId.
|
||||
* Protobuf enum {@code GetSceneAreaRsp.GGJHHIPJNMJ}
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSceneId() {
|
||||
return sceneId_;
|
||||
public enum GGJHHIPJNMJ
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 225;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 225),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final GGJHHIPJNMJ DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 225;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 225;
|
||||
/**
|
||||
* <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 GGJHHIPJNMJ 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 GGJHHIPJNMJ forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 225: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GGJHHIPJNMJ>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GGJHHIPJNMJ> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GGJHHIPJNMJ>() {
|
||||
public GGJHHIPJNMJ findValueByNumber(int number) {
|
||||
return GGJHHIPJNMJ.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.GetSceneAreaRspOuterClass.GetSceneAreaRsp.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final GGJHHIPJNMJ[] VALUES = getStaticValuesArray();
|
||||
private static GGJHHIPJNMJ[] getStaticValuesArray() {
|
||||
return new GGJHHIPJNMJ[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
|
||||
};
|
||||
}
|
||||
public static GGJHHIPJNMJ 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 GGJHHIPJNMJ(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:GetSceneAreaRsp.GGJHHIPJNMJ)
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 1;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int AREA_ID_LIST_FIELD_NUMBER = 15;
|
||||
public static final int AREAIDLIST_FIELD_NUMBER = 11;
|
||||
private com.google.protobuf.Internal.IntList areaIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @return A list containing the areaIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -241,14 +340,14 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return areaIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @return The count of areaIdList.
|
||||
*/
|
||||
public int getAreaIdListCount() {
|
||||
return areaIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The areaIdList at the given index.
|
||||
*/
|
||||
@@ -257,17 +356,28 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
private int areaIdListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int CITY_INFO_LIST_FIELD_NUMBER = 9;
|
||||
public static final int RETCODE_FIELD_NUMBER = 6;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
|
||||
public static final int CITYINFOLIST_FIELD_NUMBER = 14;
|
||||
private java.util.List<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo> cityInfoList_;
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo> getCityInfoListList() {
|
||||
return cityInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.CityInfoOuterClass.CityInfoOrBuilder>
|
||||
@@ -275,21 +385,21 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return cityInfoList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCityInfoListCount() {
|
||||
return cityInfoList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo getCityInfoList(int index) {
|
||||
return cityInfoList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfoOrBuilder getCityInfoListOrBuilder(
|
||||
@@ -297,6 +407,17 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return cityInfoList_.get(index);
|
||||
}
|
||||
|
||||
public static final int SCENEID_FIELD_NUMBER = 2;
|
||||
private int sceneId_;
|
||||
/**
|
||||
* <code>uint32 sceneId = 2;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSceneId() {
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -312,22 +433,22 @@ public final class GetSceneAreaRspOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(1, retcode_);
|
||||
}
|
||||
if (sceneId_ != 0) {
|
||||
output.writeUInt32(8, sceneId_);
|
||||
output.writeUInt32(2, sceneId_);
|
||||
}
|
||||
for (int i = 0; i < cityInfoList_.size(); i++) {
|
||||
output.writeMessage(9, cityInfoList_.get(i));
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(6, retcode_);
|
||||
}
|
||||
if (getAreaIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(122);
|
||||
output.writeUInt32NoTag(90);
|
||||
output.writeUInt32NoTag(areaIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < areaIdList_.size(); i++) {
|
||||
output.writeUInt32NoTag(areaIdList_.getInt(i));
|
||||
}
|
||||
for (int i = 0; i < cityInfoList_.size(); i++) {
|
||||
output.writeMessage(14, cityInfoList_.get(i));
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -337,17 +458,13 @@ public final class GetSceneAreaRspOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(1, retcode_);
|
||||
}
|
||||
if (sceneId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, sceneId_);
|
||||
.computeUInt32Size(2, sceneId_);
|
||||
}
|
||||
for (int i = 0; i < cityInfoList_.size(); i++) {
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(9, cityInfoList_.get(i));
|
||||
.computeInt32Size(6, retcode_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
@@ -363,6 +480,10 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
areaIdListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
for (int i = 0; i < cityInfoList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(14, cityInfoList_.get(i));
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -378,14 +499,14 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp other = (emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp) obj;
|
||||
|
||||
if (getSceneId()
|
||||
!= other.getSceneId()) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!getAreaIdListList()
|
||||
.equals(other.getAreaIdListList())) return false;
|
||||
if (getRetcode()
|
||||
!= other.getRetcode()) return false;
|
||||
if (!getCityInfoListList()
|
||||
.equals(other.getCityInfoListList())) return false;
|
||||
if (getSceneId()
|
||||
!= other.getSceneId()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -397,18 +518,18 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSceneId();
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
if (getAreaIdListCount() > 0) {
|
||||
hash = (37 * hash) + AREA_ID_LIST_FIELD_NUMBER;
|
||||
hash = (37 * hash) + AREAIDLIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getAreaIdListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRetcode();
|
||||
if (getCityInfoListCount() > 0) {
|
||||
hash = (37 * hash) + CITY_INFO_LIST_FIELD_NUMBER;
|
||||
hash = (37 * hash) + CITYINFOLIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getCityInfoListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + SCENEID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSceneId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -505,16 +626,6 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 244;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetSceneAreaRsp}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -553,18 +664,18 @@ public final class GetSceneAreaRspOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
sceneId_ = 0;
|
||||
|
||||
retcode_ = 0;
|
||||
|
||||
areaIdList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
retcode_ = 0;
|
||||
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
cityInfoList_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
} else {
|
||||
cityInfoListBuilder_.clear();
|
||||
}
|
||||
sceneId_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -592,13 +703,12 @@ public final class GetSceneAreaRspOuterClass {
|
||||
public emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp buildPartial() {
|
||||
emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp result = new emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.sceneId_ = sceneId_;
|
||||
result.retcode_ = retcode_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
areaIdList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.areaIdList_ = areaIdList_;
|
||||
result.retcode_ = retcode_;
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000002) != 0)) {
|
||||
cityInfoList_ = java.util.Collections.unmodifiableList(cityInfoList_);
|
||||
@@ -608,6 +718,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
} else {
|
||||
result.cityInfoList_ = cityInfoListBuilder_.build();
|
||||
}
|
||||
result.sceneId_ = sceneId_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -656,12 +767,6 @@ public final class GetSceneAreaRspOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp other) {
|
||||
if (other == emu.grasscutter.net.proto.GetSceneAreaRspOuterClass.GetSceneAreaRsp.getDefaultInstance()) return this;
|
||||
if (other.getSceneId() != 0) {
|
||||
setSceneId(other.getSceneId());
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (!other.areaIdList_.isEmpty()) {
|
||||
if (areaIdList_.isEmpty()) {
|
||||
areaIdList_ = other.areaIdList_;
|
||||
@@ -672,6 +777,9 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getRetcode() != 0) {
|
||||
setRetcode(other.getRetcode());
|
||||
}
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
if (!other.cityInfoList_.isEmpty()) {
|
||||
if (cityInfoList_.isEmpty()) {
|
||||
@@ -698,6 +806,9 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (other.getSceneId() != 0) {
|
||||
setSceneId(other.getSceneId());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -728,68 +839,6 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int sceneId_ ;
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSceneId() {
|
||||
return sceneId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* @param value The sceneId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setSceneId(int value) {
|
||||
|
||||
sceneId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSceneId() {
|
||||
|
||||
sceneId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.IntList areaIdList_ = emptyIntList();
|
||||
private void ensureAreaIdListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
@@ -798,7 +847,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @return A list containing the areaIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -807,14 +856,14 @@ public final class GetSceneAreaRspOuterClass {
|
||||
java.util.Collections.unmodifiableList(areaIdList_) : areaIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @return The count of areaIdList.
|
||||
*/
|
||||
public int getAreaIdListCount() {
|
||||
return areaIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The areaIdList at the given index.
|
||||
*/
|
||||
@@ -822,7 +871,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return areaIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The areaIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -835,7 +884,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @param value The areaIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -846,7 +895,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @param values The areaIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -859,7 +908,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 area_id_list = 15;</code>
|
||||
* <code>repeated uint32 areaIdList = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearAreaIdList() {
|
||||
@@ -869,6 +918,37 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRetcode() {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRetcode(int value) {
|
||||
|
||||
retcode_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
|
||||
retcode_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.util.List<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo> cityInfoList_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureCityInfoListIsMutable() {
|
||||
@@ -882,7 +962,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfoOrBuilder> cityInfoListBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo> getCityInfoListList() {
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
@@ -892,7 +972,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public int getCityInfoListCount() {
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
@@ -902,7 +982,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo getCityInfoList(int index) {
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
@@ -912,7 +992,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder setCityInfoList(
|
||||
int index, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo value) {
|
||||
@@ -929,7 +1009,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder setCityInfoList(
|
||||
int index, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder builderForValue) {
|
||||
@@ -943,7 +1023,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder addCityInfoList(emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo value) {
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
@@ -959,7 +1039,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder addCityInfoList(
|
||||
int index, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo value) {
|
||||
@@ -976,7 +1056,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder addCityInfoList(
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder builderForValue) {
|
||||
@@ -990,7 +1070,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder addCityInfoList(
|
||||
int index, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder builderForValue) {
|
||||
@@ -1004,7 +1084,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder addAllCityInfoList(
|
||||
java.lang.Iterable<? extends emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo> values) {
|
||||
@@ -1019,7 +1099,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder clearCityInfoList() {
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
@@ -1032,7 +1112,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public Builder removeCityInfoList(int index) {
|
||||
if (cityInfoListBuilder_ == null) {
|
||||
@@ -1045,14 +1125,14 @@ public final class GetSceneAreaRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder getCityInfoListBuilder(
|
||||
int index) {
|
||||
return getCityInfoListFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfoOrBuilder getCityInfoListOrBuilder(
|
||||
int index) {
|
||||
@@ -1062,7 +1142,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.CityInfoOuterClass.CityInfoOrBuilder>
|
||||
getCityInfoListOrBuilderList() {
|
||||
@@ -1073,14 +1153,14 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder addCityInfoListBuilder() {
|
||||
return getCityInfoListFieldBuilder().addBuilder(
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder addCityInfoListBuilder(
|
||||
int index) {
|
||||
@@ -1088,7 +1168,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
index, emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .CityInfo city_info_list = 9;</code>
|
||||
* <code>repeated .CityInfo cityInfoList = 14;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.CityInfoOuterClass.CityInfo.Builder>
|
||||
getCityInfoListBuilderList() {
|
||||
@@ -1108,6 +1188,37 @@ public final class GetSceneAreaRspOuterClass {
|
||||
}
|
||||
return cityInfoListBuilder_;
|
||||
}
|
||||
|
||||
private int sceneId_ ;
|
||||
/**
|
||||
* <code>uint32 sceneId = 2;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getSceneId() {
|
||||
return sceneId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 sceneId = 2;</code>
|
||||
* @param value The sceneId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setSceneId(int value) {
|
||||
|
||||
sceneId_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 sceneId = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSceneId() {
|
||||
|
||||
sceneId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -1176,10 +1287,12 @@ public final class GetSceneAreaRspOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\025GetSceneAreaRsp.proto\032\016CityInfo.proto\"" +
|
||||
"m\n\017GetSceneAreaRsp\022\020\n\010scene_id\030\010 \001(\r\022\017\n\007" +
|
||||
"retcode\030\001 \001(\005\022\024\n\014area_id_list\030\017 \003(\r\022!\n\016c" +
|
||||
"ity_info_list\030\t \003(\0132\t.CityInfoB\033\n\031emu.gr" +
|
||||
"asscutter.net.protob\006proto3"
|
||||
"\271\001\n\017GetSceneAreaRsp\022\022\n\nareaIdList\030\013 \003(\r\022" +
|
||||
"\017\n\007retcode\030\006 \001(\005\022\037\n\014cityInfoList\030\016 \003(\0132\t" +
|
||||
".CityInfo\022\017\n\007sceneId\030\002 \001(\r\"O\n\013GGJHHIPJNM" +
|
||||
"J\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\341\001\022\017\n\013DCDNILF" +
|
||||
"DFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu.grass" +
|
||||
"cutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -1191,7 +1304,7 @@ public final class GetSceneAreaRspOuterClass {
|
||||
internal_static_GetSceneAreaRsp_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_GetSceneAreaRsp_descriptor,
|
||||
new java.lang.String[] { "SceneId", "Retcode", "AreaIdList", "CityInfoList", });
|
||||
new java.lang.String[] { "AreaIdList", "Retcode", "CityInfoList", "SceneId", });
|
||||
emu.grasscutter.net.proto.CityInfoOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user