Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,37 +19,37 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 affix_list = 7;</code>
* @return A list containing the affixList.
* <code>uint32 monster_id = 15;</code>
* @return The monsterId.
*/
java.util.List<java.lang.Integer> getAffixListList();
/**
* <code>repeated uint32 affix_list = 7;</code>
* @return The count of affixList.
*/
int getAffixListCount();
/**
* <code>repeated uint32 affix_list = 7;</code>
* @param index The index of the element to return.
* @return The affixList at the given index.
*/
int getAffixList(int index);
int getMonsterId();
/**
* <code>uint32 level = 1;</code>
* <code>uint32 level = 6;</code>
* @return The level.
*/
int getLevel();
/**
* <code>uint32 monster_id = 8;</code>
* @return The monsterId.
* <code>repeated uint32 affix_list = 11;</code>
* @return A list containing the affixList.
*/
int getMonsterId();
java.util.List<java.lang.Integer> getAffixListList();
/**
* <code>repeated uint32 affix_list = 11;</code>
* @return The count of affixList.
*/
int getAffixListCount();
/**
* <code>repeated uint32 affix_list = 11;</code>
* @param index The index of the element to return.
* @return The affixList at the given index.
*/
int getAffixList(int index);
}
/**
* <pre>
* Obf: EELEHAKPGNM
* Obf: JMOBGEADKMA
* </pre>
*
* Protobuf type {@code FungusTrainingMonsterPreviewDetail}
@@ -98,12 +98,12 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
case 0:
done = true;
break;
case 8: {
case 48: {
level_ = input.readUInt32();
break;
}
case 56: {
case 88: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
affixList_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -111,7 +111,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
affixList_.addInt(input.readUInt32());
break;
}
case 58: {
case 90: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -124,7 +124,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
input.popLimit(limit);
break;
}
case 64: {
case 120: {
monsterId_ = input.readUInt32();
break;
@@ -164,10 +164,32 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.class, emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.Builder.class);
}
public static final int AFFIX_LIST_FIELD_NUMBER = 7;
public static final int MONSTER_ID_FIELD_NUMBER = 15;
private int monsterId_;
/**
* <code>uint32 monster_id = 15;</code>
* @return The monsterId.
*/
@java.lang.Override
public int getMonsterId() {
return monsterId_;
}
public static final int LEVEL_FIELD_NUMBER = 6;
private int level_;
/**
* <code>uint32 level = 6;</code>
* @return The level.
*/
@java.lang.Override
public int getLevel() {
return level_;
}
public static final int AFFIX_LIST_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.IntList affixList_;
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @return A list containing the affixList.
*/
@java.lang.Override
@@ -176,14 +198,14 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
return affixList_;
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @return The count of affixList.
*/
public int getAffixListCount() {
return affixList_.size();
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @param index The index of the element to return.
* @return The affixList at the given index.
*/
@@ -192,28 +214,6 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
private int affixListMemoizedSerializedSize = -1;
public static final int LEVEL_FIELD_NUMBER = 1;
private int level_;
/**
* <code>uint32 level = 1;</code>
* @return The level.
*/
@java.lang.Override
public int getLevel() {
return level_;
}
public static final int MONSTER_ID_FIELD_NUMBER = 8;
private int monsterId_;
/**
* <code>uint32 monster_id = 8;</code>
* @return The monsterId.
*/
@java.lang.Override
public int getMonsterId() {
return monsterId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -230,17 +230,17 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
throws java.io.IOException {
getSerializedSize();
if (level_ != 0) {
output.writeUInt32(1, level_);
output.writeUInt32(6, level_);
}
if (getAffixListList().size() > 0) {
output.writeUInt32NoTag(58);
output.writeUInt32NoTag(90);
output.writeUInt32NoTag(affixListMemoizedSerializedSize);
}
for (int i = 0; i < affixList_.size(); i++) {
output.writeUInt32NoTag(affixList_.getInt(i));
}
if (monsterId_ != 0) {
output.writeUInt32(8, monsterId_);
output.writeUInt32(15, monsterId_);
}
unknownFields.writeTo(output);
}
@@ -253,7 +253,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
size = 0;
if (level_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, level_);
.computeUInt32Size(6, level_);
}
{
int dataSize = 0;
@@ -271,7 +271,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
if (monsterId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, monsterId_);
.computeUInt32Size(15, monsterId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -288,12 +288,12 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail other = (emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail) obj;
if (!getAffixListList()
.equals(other.getAffixListList())) return false;
if (getLevel()
!= other.getLevel()) return false;
if (getMonsterId()
!= other.getMonsterId()) return false;
if (getLevel()
!= other.getLevel()) return false;
if (!getAffixListList()
.equals(other.getAffixListList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -305,14 +305,14 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MONSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getMonsterId();
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getLevel();
if (getAffixListCount() > 0) {
hash = (37 * hash) + AFFIX_LIST_FIELD_NUMBER;
hash = (53 * hash) + getAffixListList().hashCode();
}
hash = (37 * hash) + LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getLevel();
hash = (37 * hash) + MONSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getMonsterId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -410,7 +410,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
/**
* <pre>
* Obf: EELEHAKPGNM
* Obf: JMOBGEADKMA
* </pre>
*
* Protobuf type {@code FungusTrainingMonsterPreviewDetail}
@@ -450,12 +450,12 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
affixList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
level_ = 0;
monsterId_ = 0;
level_ = 0;
affixList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -483,13 +483,13 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
public emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail buildPartial() {
emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail result = new emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail(this);
int from_bitField0_ = bitField0_;
result.monsterId_ = monsterId_;
result.level_ = level_;
if (((bitField0_ & 0x00000001) != 0)) {
affixList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.affixList_ = affixList_;
result.level_ = level_;
result.monsterId_ = monsterId_;
onBuilt();
return result;
}
@@ -538,6 +538,12 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail other) {
if (other == emu.grasscutter.net.proto.FungusTrainingMonsterPreviewDetailOuterClass.FungusTrainingMonsterPreviewDetail.getDefaultInstance()) return this;
if (other.getMonsterId() != 0) {
setMonsterId(other.getMonsterId());
}
if (other.getLevel() != 0) {
setLevel(other.getLevel());
}
if (!other.affixList_.isEmpty()) {
if (affixList_.isEmpty()) {
affixList_ = other.affixList_;
@@ -548,12 +554,6 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
onChanged();
}
if (other.getLevel() != 0) {
setLevel(other.getLevel());
}
if (other.getMonsterId() != 0) {
setMonsterId(other.getMonsterId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -584,6 +584,68 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
private int bitField0_;
private int monsterId_ ;
/**
* <code>uint32 monster_id = 15;</code>
* @return The monsterId.
*/
@java.lang.Override
public int getMonsterId() {
return monsterId_;
}
/**
* <code>uint32 monster_id = 15;</code>
* @param value The monsterId to set.
* @return This builder for chaining.
*/
public Builder setMonsterId(int value) {
monsterId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 monster_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearMonsterId() {
monsterId_ = 0;
onChanged();
return this;
}
private int level_ ;
/**
* <code>uint32 level = 6;</code>
* @return The level.
*/
@java.lang.Override
public int getLevel() {
return level_;
}
/**
* <code>uint32 level = 6;</code>
* @param value The level to set.
* @return This builder for chaining.
*/
public Builder setLevel(int value) {
level_ = value;
onChanged();
return this;
}
/**
* <code>uint32 level = 6;</code>
* @return This builder for chaining.
*/
public Builder clearLevel() {
level_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList affixList_ = emptyIntList();
private void ensureAffixListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
@@ -592,7 +654,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
}
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @return A list containing the affixList.
*/
public java.util.List<java.lang.Integer>
@@ -601,14 +663,14 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
java.util.Collections.unmodifiableList(affixList_) : affixList_;
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @return The count of affixList.
*/
public int getAffixListCount() {
return affixList_.size();
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @param index The index of the element to return.
* @return The affixList at the given index.
*/
@@ -616,7 +678,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
return affixList_.getInt(index);
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @param index The index to set the value at.
* @param value The affixList to set.
* @return This builder for chaining.
@@ -629,7 +691,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
return this;
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @param value The affixList to add.
* @return This builder for chaining.
*/
@@ -640,7 +702,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
return this;
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @param values The affixList to add.
* @return This builder for chaining.
*/
@@ -653,7 +715,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
return this;
}
/**
* <code>repeated uint32 affix_list = 7;</code>
* <code>repeated uint32 affix_list = 11;</code>
* @return This builder for chaining.
*/
public Builder clearAffixList() {
@@ -662,68 +724,6 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
onChanged();
return this;
}
private int level_ ;
/**
* <code>uint32 level = 1;</code>
* @return The level.
*/
@java.lang.Override
public int getLevel() {
return level_;
}
/**
* <code>uint32 level = 1;</code>
* @param value The level to set.
* @return This builder for chaining.
*/
public Builder setLevel(int value) {
level_ = value;
onChanged();
return this;
}
/**
* <code>uint32 level = 1;</code>
* @return This builder for chaining.
*/
public Builder clearLevel() {
level_ = 0;
onChanged();
return this;
}
private int monsterId_ ;
/**
* <code>uint32 monster_id = 8;</code>
* @return The monsterId.
*/
@java.lang.Override
public int getMonsterId() {
return monsterId_;
}
/**
* <code>uint32 monster_id = 8;</code>
* @param value The monsterId to set.
* @return This builder for chaining.
*/
public Builder setMonsterId(int value) {
monsterId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 monster_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearMonsterId() {
monsterId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -793,8 +793,8 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
java.lang.String[] descriptorData = {
"\n(FungusTrainingMonsterPreviewDetail.pro" +
"to\"[\n\"FungusTrainingMonsterPreviewDetail" +
"\022\022\n\naffix_list\030\007 \003(\r\022\r\n\005level\030\001 \001(\r\022\022\n\nm" +
"onster_id\030\010 \001(\rB\033\n\031emu.grasscutter.net.p" +
"\022\022\n\nmonster_id\030\017 \001(\r\022\r\n\005level\030\006 \001(\r\022\022\n\na" +
"ffix_list\030\013 \003(\rB\033\n\031emu.grasscutter.net.p" +
"rotob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -806,7 +806,7 @@ public final class FungusTrainingMonsterPreviewDetailOuterClass {
internal_static_FungusTrainingMonsterPreviewDetail_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_FungusTrainingMonsterPreviewDetail_descriptor,
new java.lang.String[] { "AffixList", "Level", "MonsterId", });
new java.lang.String[] { "MonsterId", "Level", "AffixList", });
}
// @@protoc_insertion_point(outer_class_scope)