Add support for v3.5.0 (#2090)

* Fix Dvalin battle

See https://github.com/Anime-Game-Servers/Grasscutter-Quests/pull/25.

This is entirely untested and there's a 99% chance it's broken, I'm just submitting it as a draft PR so that I don't forget about its existence.

Co-Authored-By: mjolsic <21289772+mjolsic@users.noreply.github.com>

* Update protos

* 3.4 protos

* Fix

Now builds successfully, don't have the time to check if I should have specified true instead of false for withChildQuests, or if this functions as intended.

* Change from false to true

Per what smileoflove has been told on Discord

* 3.5

* Remove the Dvalin crap from this PR

Git is so confusing

* Update version

* Apply README changes from `origin/development`

* Remove unnecessary debugging information

---------

Co-authored-by: mjolsic <21289772+mjolsic@users.noreply.github.com>
Co-authored-by: KingRainbow44 <kobedo11@gmail.com>
This commit is contained in:
Colleiflower
2023-03-31 19:13:32 +00:00
committed by GitHub
Unverified
parent 922f7bca51
commit 516e5975e1
1383 changed files with 167226 additions and 586936 deletions
@@ -19,36 +19,41 @@ public final class SyncTeamEntityNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>uint32 scene_id = 6;</code>
* @return The sceneId.
*/
int getSceneId();
/**
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
java.util.List<emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo>
getTeamEntityInfoListList();
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo getTeamEntityInfoList(int index);
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
int getTeamEntityInfoListCount();
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
java.util.List<? extends emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfoOrBuilder>
getTeamEntityInfoListOrBuilderList();
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfoOrBuilder getTeamEntityInfoListOrBuilder(
int index);
/**
* <code>uint32 sceneId = 5;</code>
* @return The sceneId.
*/
int getSceneId();
}
/**
* <pre>
* Name: GHJLPNCDIHF
* CmdId: 393
* </pre>
*
* Protobuf type {@code SyncTeamEntityNotify}
*/
public static final class SyncTeamEntityNotify extends
@@ -95,12 +100,7 @@ public final class SyncTeamEntityNotifyOuterClass {
case 0:
done = true;
break;
case 40: {
sceneId_ = input.readUInt32();
break;
}
case 114: {
case 42: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
teamEntityInfoList_ = new java.util.ArrayList<emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo>();
mutable_bitField0_ |= 0x00000001;
@@ -109,6 +109,11 @@ public final class SyncTeamEntityNotifyOuterClass {
input.readMessage(emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.parser(), extensionRegistry));
break;
}
case 48: {
sceneId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -144,148 +149,28 @@ public final class SyncTeamEntityNotifyOuterClass {
emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify.class, emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify.Builder.class);
}
public static final int SCENE_ID_FIELD_NUMBER = 6;
private int sceneId_;
/**
* Protobuf enum {@code SyncTeamEntityNotify.BGFILLLPAFC}
* <code>uint32 scene_id = 6;</code>
* @return The sceneId.
*/
public enum BGFILLLPAFC
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 327;</code>
*/
PEPPOHPHJOJ(1, 327),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final BGFILLLPAFC DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 327;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 327;
/**
* <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 BGFILLLPAFC 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 BGFILLLPAFC forNumber(int value) {
switch (value) {
case 0: return NONE;
case 327: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<BGFILLLPAFC>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BGFILLLPAFC> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<BGFILLLPAFC>() {
public BGFILLLPAFC findValueByNumber(int number) {
return BGFILLLPAFC.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.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify.getDescriptor().getEnumTypes().get(0);
}
private static final BGFILLLPAFC[] VALUES = getStaticValuesArray();
private static BGFILLLPAFC[] getStaticValuesArray() {
return new BGFILLLPAFC[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static BGFILLLPAFC 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 BGFILLLPAFC(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:SyncTeamEntityNotify.BGFILLLPAFC)
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
public static final int TEAMENTITYINFOLIST_FIELD_NUMBER = 14;
public static final int TEAM_ENTITY_INFO_LIST_FIELD_NUMBER = 5;
private java.util.List<emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo> teamEntityInfoList_;
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo> getTeamEntityInfoListList() {
return teamEntityInfoList_;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
@java.lang.Override
public java.util.List<? extends emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfoOrBuilder>
@@ -293,21 +178,21 @@ public final class SyncTeamEntityNotifyOuterClass {
return teamEntityInfoList_;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
@java.lang.Override
public int getTeamEntityInfoListCount() {
return teamEntityInfoList_.size();
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo getTeamEntityInfoList(int index) {
return teamEntityInfoList_.get(index);
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfoOrBuilder getTeamEntityInfoListOrBuilder(
@@ -315,17 +200,6 @@ public final class SyncTeamEntityNotifyOuterClass {
return teamEntityInfoList_.get(index);
}
public static final int SCENEID_FIELD_NUMBER = 5;
private int sceneId_;
/**
* <code>uint32 sceneId = 5;</code>
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -340,11 +214,11 @@ public final class SyncTeamEntityNotifyOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sceneId_ != 0) {
output.writeUInt32(5, sceneId_);
}
for (int i = 0; i < teamEntityInfoList_.size(); i++) {
output.writeMessage(14, teamEntityInfoList_.get(i));
output.writeMessage(5, teamEntityInfoList_.get(i));
}
if (sceneId_ != 0) {
output.writeUInt32(6, sceneId_);
}
unknownFields.writeTo(output);
}
@@ -355,13 +229,13 @@ public final class SyncTeamEntityNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, sceneId_);
}
for (int i = 0; i < teamEntityInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, teamEntityInfoList_.get(i));
.computeMessageSize(5, teamEntityInfoList_.get(i));
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, sceneId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -378,10 +252,10 @@ public final class SyncTeamEntityNotifyOuterClass {
}
emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify other = (emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify) obj;
if (!getTeamEntityInfoListList()
.equals(other.getTeamEntityInfoListList())) return false;
if (getSceneId()
!= other.getSceneId()) return false;
if (!getTeamEntityInfoListList()
.equals(other.getTeamEntityInfoListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -393,12 +267,12 @@ public final class SyncTeamEntityNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
if (getTeamEntityInfoListCount() > 0) {
hash = (37 * hash) + TEAMENTITYINFOLIST_FIELD_NUMBER;
hash = (37 * hash) + TEAM_ENTITY_INFO_LIST_FIELD_NUMBER;
hash = (53 * hash) + getTeamEntityInfoListList().hashCode();
}
hash = (37 * hash) + SCENEID_FIELD_NUMBER;
hash = (53 * hash) + getSceneId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -495,6 +369,11 @@ public final class SyncTeamEntityNotifyOuterClass {
return builder;
}
/**
* <pre>
* Name: GHJLPNCDIHF
* CmdId: 393
* </pre>
*
* Protobuf type {@code SyncTeamEntityNotify}
*/
public static final class Builder extends
@@ -533,14 +412,14 @@ public final class SyncTeamEntityNotifyOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
sceneId_ = 0;
if (teamEntityInfoListBuilder_ == null) {
teamEntityInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
teamEntityInfoListBuilder_.clear();
}
sceneId_ = 0;
return this;
}
@@ -568,6 +447,7 @@ public final class SyncTeamEntityNotifyOuterClass {
public emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify buildPartial() {
emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify result = new emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify(this);
int from_bitField0_ = bitField0_;
result.sceneId_ = sceneId_;
if (teamEntityInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
teamEntityInfoList_ = java.util.Collections.unmodifiableList(teamEntityInfoList_);
@@ -577,7 +457,6 @@ public final class SyncTeamEntityNotifyOuterClass {
} else {
result.teamEntityInfoList_ = teamEntityInfoListBuilder_.build();
}
result.sceneId_ = sceneId_;
onBuilt();
return result;
}
@@ -626,6 +505,9 @@ public final class SyncTeamEntityNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify other) {
if (other == emu.grasscutter.net.proto.SyncTeamEntityNotifyOuterClass.SyncTeamEntityNotify.getDefaultInstance()) return this;
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
if (teamEntityInfoListBuilder_ == null) {
if (!other.teamEntityInfoList_.isEmpty()) {
if (teamEntityInfoList_.isEmpty()) {
@@ -652,9 +534,6 @@ public final class SyncTeamEntityNotifyOuterClass {
}
}
}
if (other.getSceneId() != 0) {
setSceneId(other.getSceneId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -685,6 +564,37 @@ public final class SyncTeamEntityNotifyOuterClass {
}
private int bitField0_;
private int sceneId_ ;
/**
* <code>uint32 scene_id = 6;</code>
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
/**
* <code>uint32 scene_id = 6;</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 = 6;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
sceneId_ = 0;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo> teamEntityInfoList_ =
java.util.Collections.emptyList();
private void ensureTeamEntityInfoListIsMutable() {
@@ -698,7 +608,7 @@ public final class SyncTeamEntityNotifyOuterClass {
emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo, emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder, emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfoOrBuilder> teamEntityInfoListBuilder_;
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public java.util.List<emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo> getTeamEntityInfoListList() {
if (teamEntityInfoListBuilder_ == null) {
@@ -708,7 +618,7 @@ public final class SyncTeamEntityNotifyOuterClass {
}
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public int getTeamEntityInfoListCount() {
if (teamEntityInfoListBuilder_ == null) {
@@ -718,7 +628,7 @@ public final class SyncTeamEntityNotifyOuterClass {
}
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo getTeamEntityInfoList(int index) {
if (teamEntityInfoListBuilder_ == null) {
@@ -728,7 +638,7 @@ public final class SyncTeamEntityNotifyOuterClass {
}
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder setTeamEntityInfoList(
int index, emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo value) {
@@ -745,7 +655,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder setTeamEntityInfoList(
int index, emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder builderForValue) {
@@ -759,7 +669,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder addTeamEntityInfoList(emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo value) {
if (teamEntityInfoListBuilder_ == null) {
@@ -775,7 +685,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder addTeamEntityInfoList(
int index, emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo value) {
@@ -792,7 +702,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder addTeamEntityInfoList(
emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder builderForValue) {
@@ -806,7 +716,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder addTeamEntityInfoList(
int index, emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder builderForValue) {
@@ -820,7 +730,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder addAllTeamEntityInfoList(
java.lang.Iterable<? extends emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo> values) {
@@ -835,7 +745,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder clearTeamEntityInfoList() {
if (teamEntityInfoListBuilder_ == null) {
@@ -848,7 +758,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public Builder removeTeamEntityInfoList(int index) {
if (teamEntityInfoListBuilder_ == null) {
@@ -861,14 +771,14 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder getTeamEntityInfoListBuilder(
int index) {
return getTeamEntityInfoListFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfoOrBuilder getTeamEntityInfoListOrBuilder(
int index) {
@@ -878,7 +788,7 @@ public final class SyncTeamEntityNotifyOuterClass {
}
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public java.util.List<? extends emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfoOrBuilder>
getTeamEntityInfoListOrBuilderList() {
@@ -889,14 +799,14 @@ public final class SyncTeamEntityNotifyOuterClass {
}
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder addTeamEntityInfoListBuilder() {
return getTeamEntityInfoListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.getDefaultInstance());
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder addTeamEntityInfoListBuilder(
int index) {
@@ -904,7 +814,7 @@ public final class SyncTeamEntityNotifyOuterClass {
index, emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.getDefaultInstance());
}
/**
* <code>repeated .TeamEntityInfo teamEntityInfoList = 14;</code>
* <code>repeated .TeamEntityInfo team_entity_info_list = 5;</code>
*/
public java.util.List<emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.Builder>
getTeamEntityInfoListBuilderList() {
@@ -924,37 +834,6 @@ public final class SyncTeamEntityNotifyOuterClass {
}
return teamEntityInfoListBuilder_;
}
private int sceneId_ ;
/**
* <code>uint32 sceneId = 5;</code>
* @return The sceneId.
*/
@java.lang.Override
public int getSceneId() {
return sceneId_;
}
/**
* <code>uint32 sceneId = 5;</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 = 5;</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) {
@@ -1023,12 +902,10 @@ public final class SyncTeamEntityNotifyOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\032SyncTeamEntityNotify.proto\032\024TeamEntity" +
"Info.proto\"\245\001\n\024SyncTeamEntityNotify\022+\n\022t" +
"eamEntityInfoList\030\016 \003(\0132\017.TeamEntityInfo" +
"\022\017\n\007sceneId\030\005 \001(\r\"O\n\013BGFILLLPAFC\022\010\n\004NONE" +
"\020\000\022\020\n\013PEPPOHPHJOJ\020\307\002\022\017\n\013DCDNILFDFLB\020\000\022\017\n" +
"\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu.grasscutter.ne" +
"t.protob\006proto3"
"Info.proto\"X\n\024SyncTeamEntityNotify\022\020\n\010sc" +
"ene_id\030\006 \001(\r\022.\n\025team_entity_info_list\030\005 " +
"\003(\0132\017.TeamEntityInfoB\033\n\031emu.grasscutter." +
"net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -1040,7 +917,7 @@ public final class SyncTeamEntityNotifyOuterClass {
internal_static_SyncTeamEntityNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_SyncTeamEntityNotify_descriptor,
new java.lang.String[] { "TeamEntityInfoList", "SceneId", });
new java.lang.String[] { "SceneId", "TeamEntityInfoList", });
emu.grasscutter.net.proto.TeamEntityInfoOuterClass.getDescriptor();
}