mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 22:30:02 +08:00
Update gc to 3.3 (#1981)
* replace the deprecated api * update proto * delete music game * fixed codes * fix costume switch * fix mail bug * Bump version number. * Re-add max boss chest number Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b83dbf58c
commit
92fbaa8670
+178
-172
@@ -19,45 +19,48 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 param = 6;</code>
|
||||
* <code>uint32 param = 15;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
int getParam();
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 1;</code>
|
||||
* @return A list containing the entityList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getEntityListList();
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 1;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
int getEntityListCount();
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The entityList at the given index.
|
||||
*/
|
||||
int getEntityList(int index);
|
||||
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</code>
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* @return The enum numeric value on the wire for disappearType.
|
||||
*/
|
||||
int getDisappearTypeValue();
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</code>
|
||||
* <code>.VisionType disappear_type = 12;</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>
|
||||
* CmdId: 203
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 261;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneEntityDisappearNotify}
|
||||
@@ -72,8 +75,8 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
super(builder);
|
||||
}
|
||||
private SceneEntityDisappearNotify() {
|
||||
entityList_ = emptyIntList();
|
||||
disappearType_ = 0;
|
||||
entityList_ = emptyIntList();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@@ -107,7 +110,13 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
case 96: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
disappearType_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
entityList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -115,7 +124,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
entityList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
case 106: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -128,13 +137,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
int rawValue = input.readEnum();
|
||||
|
||||
disappearType_ = rawValue;
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
case 120: {
|
||||
|
||||
param_ = input.readUInt32();
|
||||
break;
|
||||
@@ -174,10 +177,10 @@ 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 = 6;
|
||||
public static final int PARAM_FIELD_NUMBER = 15;
|
||||
private int param_;
|
||||
/**
|
||||
* <code>uint32 param = 6;</code>
|
||||
* <code>uint32 param = 15;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -185,10 +188,29 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return param_;
|
||||
}
|
||||
|
||||
public static final int ENTITY_LIST_FIELD_NUMBER = 1;
|
||||
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;
|
||||
private com.google.protobuf.Internal.IntList entityList_;
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 1;</code>
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @return A list containing the entityList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -197,14 +219,14 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return entityList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 1;</code>
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
public int getEntityListCount() {
|
||||
return entityList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 1;</code>
|
||||
* <code>repeated uint32 entity_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The entityList at the given index.
|
||||
*/
|
||||
@@ -213,25 +235,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
private int entityListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int DISAPPEAR_TYPE_FIELD_NUMBER = 2;
|
||||
private int disappearType_;
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</code>
|
||||
* @return The enum numeric value on the wire for disappearType.
|
||||
*/
|
||||
@java.lang.Override public int getDisappearTypeValue() {
|
||||
return disappearType_;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</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() {
|
||||
@@ -247,18 +250,18 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (disappearType_ != emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.VISION_TYPE_NONE.getNumber()) {
|
||||
output.writeEnum(12, disappearType_);
|
||||
}
|
||||
if (getEntityListList().size() > 0) {
|
||||
output.writeUInt32NoTag(10);
|
||||
output.writeUInt32NoTag(106);
|
||||
output.writeUInt32NoTag(entityListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < entityList_.size(); i++) {
|
||||
output.writeUInt32NoTag(entityList_.getInt(i));
|
||||
}
|
||||
if (disappearType_ != emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.VISION_TYPE_NONE.getNumber()) {
|
||||
output.writeEnum(2, disappearType_);
|
||||
}
|
||||
if (param_ != 0) {
|
||||
output.writeUInt32(6, param_);
|
||||
output.writeUInt32(15, param_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -269,6 +272,10 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (disappearType_ != emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.VISION_TYPE_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(12, disappearType_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < entityList_.size(); i++) {
|
||||
@@ -283,13 +290,9 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
entityListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (disappearType_ != emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.VISION_TYPE_NONE.getNumber()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeEnumSize(2, disappearType_);
|
||||
}
|
||||
if (param_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, param_);
|
||||
.computeUInt32Size(15, param_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -308,9 +311,9 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
|
||||
if (getParam()
|
||||
!= other.getParam()) return false;
|
||||
if (disappearType_ != other.disappearType_) return false;
|
||||
if (!getEntityListList()
|
||||
.equals(other.getEntityListList())) return false;
|
||||
if (disappearType_ != other.disappearType_) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -324,12 +327,12 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
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 = (53 * hash) + getEntityListList().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + DISAPPEAR_TYPE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + disappearType_;
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -427,10 +430,13 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 203
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* enum CmdId {
|
||||
* option allow_alias = true;
|
||||
* NONE = 0;
|
||||
* CMD_ID = 261;
|
||||
* ENET_CHANNEL_ID = 0;
|
||||
* ENET_IS_RELIABLE = 1;
|
||||
* }
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SceneEntityDisappearNotify}
|
||||
@@ -472,10 +478,10 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
super.clear();
|
||||
param_ = 0;
|
||||
|
||||
entityList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
disappearType_ = 0;
|
||||
|
||||
entityList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -504,12 +510,12 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
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.disappearType_ = disappearType_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -561,6 +567,9 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
if (other.getParam() != 0) {
|
||||
setParam(other.getParam());
|
||||
}
|
||||
if (other.disappearType_ != 0) {
|
||||
setDisappearTypeValue(other.getDisappearTypeValue());
|
||||
}
|
||||
if (!other.entityList_.isEmpty()) {
|
||||
if (entityList_.isEmpty()) {
|
||||
entityList_ = other.entityList_;
|
||||
@@ -571,9 +580,6 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
if (other.disappearType_ != 0) {
|
||||
setDisappearTypeValue(other.getDisappearTypeValue());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -606,7 +612,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
|
||||
private int param_ ;
|
||||
/**
|
||||
* <code>uint32 param = 6;</code>
|
||||
* <code>uint32 param = 15;</code>
|
||||
* @return The param.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -614,7 +620,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return param_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 6;</code>
|
||||
* <code>uint32 param = 15;</code>
|
||||
* @param value The param to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -625,7 +631,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 param = 6;</code>
|
||||
* <code>uint32 param = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearParam() {
|
||||
@@ -635,95 +641,16 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
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 = 1;</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 = 1;</code>
|
||||
* @return The count of entityList.
|
||||
*/
|
||||
public int getEntityListCount() {
|
||||
return entityList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 entity_list = 1;</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 = 1;</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 = 1;</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 = 1;</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 = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearEntityList() {
|
||||
entityList_ = emptyIntList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int disappearType_ = 0;
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</code>
|
||||
* <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 = 2;</code>
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* @param value The enum numeric value on the wire for disappearType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -734,7 +661,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</code>
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* @return The disappearType.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -744,7 +671,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return result == null ? emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType.UNRECOGNIZED : result;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</code>
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* @param value The disappearType to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -758,7 +685,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.VisionType disappear_type = 2;</code>
|
||||
* <code>.VisionType disappear_type = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDisappearType() {
|
||||
@@ -767,6 +694,85 @@ 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) {
|
||||
@@ -836,8 +842,8 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n SceneEntityDisappearNotify.proto\032\020Visi" +
|
||||
"onType.proto\"e\n\032SceneEntityDisappearNoti" +
|
||||
"fy\022\r\n\005param\030\006 \001(\r\022\023\n\013entity_list\030\001 \003(\r\022#" +
|
||||
"\n\016disappear_type\030\002 \001(\0162\013.VisionTypeB\033\n\031e" +
|
||||
"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" +
|
||||
"mu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -850,7 +856,7 @@ public final class SceneEntityDisappearNotifyOuterClass {
|
||||
internal_static_SceneEntityDisappearNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_SceneEntityDisappearNotify_descriptor,
|
||||
new java.lang.String[] { "Param", "EntityList", "DisappearType", });
|
||||
new java.lang.String[] { "Param", "DisappearType", "EntityList", });
|
||||
emu.grasscutter.net.proto.VisionTypeOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user