mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 18:39:54 +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
+307
-194
@@ -19,50 +19,40 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 param = 15;</code>
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @return A list containing the entityList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getEntityListList();
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
int getEntityListCount();
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The entityList at the given index.
|
||||
*/
|
||||
int getEntityList(int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 param = 10;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
int getParam();
|
||||
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @return The enum numeric value on the wire for disappearType.
|
||||
*/
|
||||
int getDisappearTypeValue();
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @return The disappearType.
|
||||
*/
|
||||
emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType getDisappearType();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @return A list containing the entityList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getEntityListList();
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
int getEntityListCount();
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The entityList at the given index.
|
||||
*/
|
||||
int getEntityList(int index);
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 261;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneEntityDisappearNotify}
|
||||
*/
|
||||
public static final class SceneEntityDisappearNotify extends
|
||||
@@ -75,8 +65,8 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
super(builder);
|
||||
}
|
||||
private SceneEntityDisappearNotify() {
|
||||
disappearType_ = 0;
|
||||
entityList_ = emptyIntList();
|
||||
disappearType_ = 0;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -110,12 +100,17 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 96: {
|
||||
case 56: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
disappearType_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
|
||||
param_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
entityList_ = newIntList();
|
||||
@@ -137,11 +132,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 120: {
|
||||
|
||||
param_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -177,40 +167,141 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify.class, emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int PARAM_FIELD_NUMBER = 15;
|
||||
private int param_;
|
||||
/**
|
||||
* <code>uint32 param = 15;</code>
|
||||
* @return The param.
|
||||
* Protobuf enum {@code SceneEntityDisappearNotify.JBIJGLIONLH}
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getParam() {
|
||||
return param_;
|
||||
public enum JBIJGLIONLH
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 280;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 280),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final JBIJGLIONLH DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 280;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 280;
|
||||
/**
|
||||
* <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 JBIJGLIONLH 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 JBIJGLIONLH forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 280: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<JBIJGLIONLH>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
JBIJGLIONLH> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<JBIJGLIONLH>() {
|
||||
public JBIJGLIONLH findValueByNumber(int number) {
|
||||
return JBIJGLIONLH.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.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final JBIJGLIONLH[] VALUES = getStaticValuesArray();
|
||||
private static JBIJGLIONLH[] getStaticValuesArray() {
|
||||
return new JBIJGLIONLH[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
|
||||
};
|
||||
}
|
||||
public static JBIJGLIONLH 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 JBIJGLIONLH(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:SceneEntityDisappearNotify.JBIJGLIONLH)
|
||||
}
|
||||
|
||||
public static final int DISAPPEAR_TYPE_FIELD_NUMBER = 12;
|
||||
private int disappearType_;
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* @return The enum numeric value on the wire for disappearType.
|
||||
*/
|
||||
@java.lang.Override public int getDisappearTypeValue() {
|
||||
return disappearType_;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* @return The disappearType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType getDisappearType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType result = emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.valueOf(disappearType_);
|
||||
return result == null ? emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
public static final int ENTITY_LIST_FIELD_NUMBER = 13;
|
||||
public static final int ENTITYLIST_FIELD_NUMBER = 13;
|
||||
private com.google.protobuf.Internal.IntList entityList_;
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @return A list containing the entityList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -219,14 +310,14 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return entityList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
public int getEntityListCount() {
|
||||
return entityList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The entityList at the given index.
|
||||
*/
|
||||
@@ -235,6 +326,36 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
private int entityListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int PARAM_FIELD_NUMBER = 10;
|
||||
private int param_;
|
||||
/**
|
||||
* <code>uint32 param = 10;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getParam() {
|
||||
return param_;
|
||||
}
|
||||
|
||||
public static final int DISAPPEARTYPE_FIELD_NUMBER = 7;
|
||||
private int disappearType_;
|
||||
/**
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @return The enum numeric value on the wire for disappearType.
|
||||
*/
|
||||
@java.lang.Override public int getDisappearTypeValue() {
|
||||
return disappearType_;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @return The disappearType.
|
||||
*/
|
||||
@java.lang.Override public emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType getDisappearType() {
|
||||
@SuppressWarnings("deprecation")
|
||||
emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType result = emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.valueOf(disappearType_);
|
||||
return result == null ? emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.UNRECOGNIZED : result;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -251,7 +372,10 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (disappearType_ != emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.VISION_TYPE_NONE.getNumber()) {
|
||||
output.writeEnum(12, disappearType_);
|
||||
output.writeEnum(7, disappearType_);
|
||||
}
|
||||
if (param_ != 0) {
|
||||
output.writeUInt32(10, param_);
|
||||
}
|
||||
if (getEntityListList().size() > 0) {
|
||||
output.writeUInt32NoTag(106);
|
||||
@@ -260,9 +384,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
for (int i = 0; i < entityList_.size(); i++) {
|
||||
output.writeUInt32NoTag(entityList_.getInt(i));
|
||||
}
|
||||
if (param_ != 0) {
|
||||
output.writeUInt32(15, param_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -274,7 +395,11 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
size = 0;
|
||||
if (disappearType_ != emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.VISION_TYPE_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(12, disappearType_);
|
||||
.computeEnumSize(7, disappearType_);
|
||||
}
|
||||
if (param_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, param_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
@@ -290,10 +415,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
entityListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (param_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, param_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -309,11 +430,11 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify other = (emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify) obj;
|
||||
|
||||
if (!getEntityListList()
|
||||
.equals(other.getEntityListList())) return false;
|
||||
if (getParam()
|
||||
!= other.getParam()) return false;
|
||||
if (disappearType_ != other.disappearType_) return false;
|
||||
if (!getEntityListList()
|
||||
.equals(other.getEntityListList())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -325,14 +446,14 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + PARAM_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getParam();
|
||||
hash = (37 * hash) + DISAPPEAR_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + disappearType_;
|
||||
if (getEntityListCount() > 0) {
|
||||
hash = (37 * hash) + ENTITY_LIST_FIELD_NUMBER;
|
||||
hash = (37 * hash) + ENTITYLIST_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getEntityListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + PARAM_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getParam();
|
||||
hash = (37 * hash) + DISAPPEARTYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + disappearType_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -429,16 +550,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 261;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneEntityDisappearNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -476,12 +587,12 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
entityList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
param_ = 0;
|
||||
|
||||
disappearType_ = 0;
|
||||
|
||||
entityList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -509,13 +620,13 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
public emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify result = new emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.param_ = param_;
|
||||
result.disappearType_ = disappearType_;
|
||||
if (((bitField0_ & 0x00000001) != 0)) {
|
||||
entityList_.makeImmutable();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.entityList_ = entityList_;
|
||||
result.param_ = param_;
|
||||
result.disappearType_ = disappearType_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -564,12 +675,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.SceneEntityDisappearNotifyOuterClass.SceneEntityDisappearNotify.getDefaultInstance()) return this;
|
||||
if (other.getParam() != 0) {
|
||||
setParam(other.getParam());
|
||||
}
|
||||
if (other.disappearType_ != 0) {
|
||||
setDisappearTypeValue(other.getDisappearTypeValue());
|
||||
}
|
||||
if (!other.entityList_.isEmpty()) {
|
||||
if (entityList_.isEmpty()) {
|
||||
entityList_ = other.entityList_;
|
||||
@@ -580,6 +685,12 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.getParam() != 0) {
|
||||
setParam(other.getParam());
|
||||
}
|
||||
if (other.disappearType_ != 0) {
|
||||
setDisappearTypeValue(other.getDisappearTypeValue());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -610,9 +721,88 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private com.google.protobuf.Internal.IntList entityList_ = emptyIntList();
|
||||
private void ensureEntityListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
entityList_ = mutableCopy(entityList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @return A list containing the entityList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getEntityListList() {
|
||||
return ((bitField0_ & 0x00000001) != 0) ?
|
||||
java.util.Collections.unmodifiableList(entityList_) : entityList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
public int getEntityListCount() {
|
||||
return entityList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The entityList at the given index.
|
||||
*/
|
||||
public int getEntityList(int index) {
|
||||
return entityList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The entityList to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setEntityList(
|
||||
int index, int value) {
|
||||
ensureEntityListIsMutable();
|
||||
entityList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @param value The entityList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addEntityList(int value) {
|
||||
ensureEntityListIsMutable();
|
||||
entityList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @param values The entityList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllEntityList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureEntityListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, entityList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entityList = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearEntityList() {
|
||||
entityList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int param_ ;
|
||||
/**
|
||||
* <code>uint32 param = 15;</code>
|
||||
* <code>uint32 param = 10;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -620,7 +810,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return param_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 15;</code>
|
||||
* <code>uint32 param = 10;</code>
|
||||
* @param value The param to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -631,7 +821,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 15;</code>
|
||||
* <code>uint32 param = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearParam() {
|
||||
@@ -643,14 +833,14 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
|
||||
private int disappearType_ = 0;
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @return The enum numeric value on the wire for disappearType.
|
||||
*/
|
||||
@java.lang.Override public int getDisappearTypeValue() {
|
||||
return disappearType_;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @param value The enum numeric value on the wire for disappearType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -661,7 +851,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @return The disappearType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -671,7 +861,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return result == null ? emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @param value The disappearType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -685,7 +875,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* <code>.VisionType disappearType = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDisappearType() {
|
||||
@@ -694,85 +884,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.Internal.IntList entityList_ = emptyIntList();
|
||||
private void ensureEntityListIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
entityList_ = mutableCopy(entityList_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @return A list containing the entityList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getEntityListList() {
|
||||
return ((bitField0_ & 0x00000001) != 0) ?
|
||||
java.util.Collections.unmodifiableList(entityList_) : entityList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
public int getEntityListCount() {
|
||||
return entityList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The entityList at the given index.
|
||||
*/
|
||||
public int getEntityList(int index) {
|
||||
return entityList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The entityList to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setEntityList(
|
||||
int index, int value) {
|
||||
ensureEntityListIsMutable();
|
||||
entityList_.setInt(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @param value The entityList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addEntityList(int value) {
|
||||
ensureEntityListIsMutable();
|
||||
entityList_.addInt(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @param values The entityList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder addAllEntityList(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureEntityListIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
values, entityList_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearEntityList() {
|
||||
entityList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -841,9 +952,11 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n SceneEntityDisappearNotify.proto\032\020Visi" +
|
||||
"onType.proto\"e\n\032SceneEntityDisappearNoti" +
|
||||
"fy\022\r\n\005param\030\017 \001(\r\022#\n\016disappear_type\030\014 \001(" +
|
||||
"\0162\013.VisionType\022\023\n\013entity_list\030\r \003(\rB\033\n\031e" +
|
||||
"onType.proto\"\264\001\n\032SceneEntityDisappearNot" +
|
||||
"ify\022\022\n\nentityList\030\r \003(\r\022\r\n\005param\030\n \001(\r\022\"" +
|
||||
"\n\rdisappearType\030\007 \001(\0162\013.VisionType\"O\n\013JB" +
|
||||
"IJGLIONLH\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ\020\230\002\022\017\n" +
|
||||
"\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031e" +
|
||||
"mu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -856,7 +969,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
internal_static_SceneEntityDisappearNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_SceneEntityDisappearNotify_descriptor,
|
||||
new java.lang.String[] { "Param", "DisappearType", "EntityList", });
|
||||
new java.lang.String[] { "EntityList", "Param", "DisappearType", });
|
||||
emu.grasscutter.net.proto.VisionTypeOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user