mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 07:13:35 +08:00
Add new protocol definitions
This commit is contained in:
+56
-56
@@ -19,25 +19,25 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster>
|
||||
getMonsterListList();
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getMonsterList(int index);
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
int getMonsterListCount();
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
java.util.List<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder>
|
||||
getMonsterListOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder getMonsterListOrBuilder(
|
||||
int index);
|
||||
@@ -49,15 +49,15 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
boolean getIsForMark();
|
||||
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
int getRetcode();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1930
|
||||
* Obf: KCOJOLFAOPO
|
||||
* CmdId: 23497
|
||||
* Obf: PBLBHKIGDKG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetInvestigationMonsterRsp}
|
||||
@@ -111,12 +111,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
isForMark_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 48: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 106: {
|
||||
case 74: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
monsterList_ = new java.util.ArrayList<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -125,6 +120,11 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
input.readMessage(emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
case 88: {
|
||||
|
||||
retcode_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -160,17 +160,17 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp.class, emu.grasscutter.net.proto.GetInvestigationMonsterRspOuterClass.GetInvestigationMonsterRsp.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MONSTER_LIST_FIELD_NUMBER = 13;
|
||||
public static final int MONSTER_LIST_FIELD_NUMBER = 9;
|
||||
private java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> monsterList_;
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> getMonsterListList() {
|
||||
return monsterList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder>
|
||||
@@ -178,21 +178,21 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return monsterList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getMonsterListCount() {
|
||||
return monsterList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getMonsterList(int index) {
|
||||
return monsterList_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder getMonsterListOrBuilder(
|
||||
@@ -211,10 +211,10 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return isForMark_;
|
||||
}
|
||||
|
||||
public static final int RETCODE_FIELD_NUMBER = 6;
|
||||
public static final int RETCODE_FIELD_NUMBER = 11;
|
||||
private int retcode_;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -239,11 +239,11 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
if (isForMark_ != false) {
|
||||
output.writeBool(1, isForMark_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(6, retcode_);
|
||||
}
|
||||
for (int i = 0; i < monsterList_.size(); i++) {
|
||||
output.writeMessage(13, monsterList_.get(i));
|
||||
output.writeMessage(9, monsterList_.get(i));
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
output.writeInt32(11, retcode_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -258,13 +258,13 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(1, isForMark_);
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(6, retcode_);
|
||||
}
|
||||
for (int i = 0; i < monsterList_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(13, monsterList_.get(i));
|
||||
.computeMessageSize(9, monsterList_.get(i));
|
||||
}
|
||||
if (retcode_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(11, retcode_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -404,8 +404,8 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1930
|
||||
* Obf: KCOJOLFAOPO
|
||||
* CmdId: 23497
|
||||
* Obf: PBLBHKIGDKG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GetInvestigationMonsterRsp}
|
||||
@@ -617,7 +617,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder> monsterListBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> getMonsterListList() {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -627,7 +627,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public int getMonsterListCount() {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -637,7 +637,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster getMonsterList(int index) {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -647,7 +647,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder setMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster value) {
|
||||
@@ -664,7 +664,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder setMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder builderForValue) {
|
||||
@@ -678,7 +678,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder addMonsterList(emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster value) {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -694,7 +694,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder addMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster value) {
|
||||
@@ -711,7 +711,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder addMonsterList(
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder builderForValue) {
|
||||
@@ -725,7 +725,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder addMonsterList(
|
||||
int index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder builderForValue) {
|
||||
@@ -739,7 +739,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder addAllMonsterList(
|
||||
java.lang.Iterable<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster> values) {
|
||||
@@ -754,7 +754,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder clearMonsterList() {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -767,7 +767,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public Builder removeMonsterList(int index) {
|
||||
if (monsterListBuilder_ == null) {
|
||||
@@ -780,14 +780,14 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder getMonsterListBuilder(
|
||||
int index) {
|
||||
return getMonsterListFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder getMonsterListOrBuilder(
|
||||
int index) {
|
||||
@@ -797,7 +797,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public java.util.List<? extends emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonsterOrBuilder>
|
||||
getMonsterListOrBuilderList() {
|
||||
@@ -808,14 +808,14 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder addMonsterListBuilder() {
|
||||
return getMonsterListFieldBuilder().addBuilder(
|
||||
emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder addMonsterListBuilder(
|
||||
int index) {
|
||||
@@ -823,7 +823,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
index, emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .InvestigationMonster monster_list = 13;</code>
|
||||
* <code>repeated .InvestigationMonster monster_list = 9;</code>
|
||||
*/
|
||||
public java.util.List<emu.grasscutter.net.proto.InvestigationMonsterOuterClass.InvestigationMonster.Builder>
|
||||
getMonsterListBuilderList() {
|
||||
@@ -877,7 +877,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
|
||||
private int retcode_ ;
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return The retcode.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -885,7 +885,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return retcode_;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @param value The retcode to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -896,7 +896,7 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int32 retcode = 6;</code>
|
||||
* <code>int32 retcode = 11;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRetcode() {
|
||||
@@ -974,9 +974,9 @@ public final class GetInvestigationMonsterRspOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n GetInvestigationMonsterRsp.proto\032\032Inve" +
|
||||
"stigationMonster.proto\"o\n\032GetInvestigati" +
|
||||
"onMonsterRsp\022+\n\014monster_list\030\r \003(\0132\025.Inv" +
|
||||
"onMonsterRsp\022+\n\014monster_list\030\t \003(\0132\025.Inv" +
|
||||
"estigationMonster\022\023\n\013is_for_mark\030\001 \001(\010\022\017" +
|
||||
"\n\007retcode\030\006 \001(\005B\033\n\031emu.grasscutter.net.p" +
|
||||
"\n\007retcode\030\013 \001(\005B\033\n\031emu.grasscutter.net.p" +
|
||||
"rotob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user