mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:54:14 +08:00
Add new protocol definitions
This commit is contained in:
+22
-22
@@ -19,17 +19,17 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @return A list containing the monsterIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getMonsterIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @return The count of monsterIdList.
|
||||
*/
|
||||
int getMonsterIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The monsterIdList at the given index.
|
||||
*/
|
||||
@@ -37,8 +37,8 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 250
|
||||
* Obf: OBHEAMNHHEB
|
||||
* CmdId: 26127
|
||||
* Obf: IIMFPCEHEMP
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AddSeenMonsterNotify}
|
||||
@@ -87,7 +87,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 120: {
|
||||
case 56: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
monsterIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -95,7 +95,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
monsterIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
case 58: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -143,10 +143,10 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.AddSeenMonsterNotifyOuterClass.AddSeenMonsterNotify.class, emu.grasscutter.net.proto.AddSeenMonsterNotifyOuterClass.AddSeenMonsterNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int MONSTER_ID_LIST_FIELD_NUMBER = 15;
|
||||
public static final int MONSTER_ID_LIST_FIELD_NUMBER = 7;
|
||||
private com.google.protobuf.Internal.IntList monsterIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @return A list containing the monsterIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -155,14 +155,14 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
return monsterIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @return The count of monsterIdList.
|
||||
*/
|
||||
public int getMonsterIdListCount() {
|
||||
return monsterIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The monsterIdList at the given index.
|
||||
*/
|
||||
@@ -187,7 +187,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (getMonsterIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(122);
|
||||
output.writeUInt32NoTag(58);
|
||||
output.writeUInt32NoTag(monsterIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < monsterIdList_.size(); i++) {
|
||||
@@ -345,8 +345,8 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 250
|
||||
* Obf: OBHEAMNHHEB
|
||||
* CmdId: 26127
|
||||
* Obf: IIMFPCEHEMP
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AddSeenMonsterNotify}
|
||||
@@ -516,7 +516,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @return A list containing the monsterIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -525,14 +525,14 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(monsterIdList_) : monsterIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @return The count of monsterIdList.
|
||||
*/
|
||||
public int getMonsterIdListCount() {
|
||||
return monsterIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The monsterIdList at the given index.
|
||||
*/
|
||||
@@ -540,7 +540,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
return monsterIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The monsterIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -553,7 +553,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @param value The monsterIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -564,7 +564,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @param values The monsterIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -577,7 +577,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 monster_id_list = 15;</code>
|
||||
* <code>repeated uint32 monster_id_list = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearMonsterIdList() {
|
||||
@@ -654,7 +654,7 @@ public final class AddSeenMonsterNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\032AddSeenMonsterNotify.proto\"/\n\024AddSeenM" +
|
||||
"onsterNotify\022\027\n\017monster_id_list\030\017 \003(\rB\033\n" +
|
||||
"onsterNotify\022\027\n\017monster_id_list\030\007 \003(\rB\033\n" +
|
||||
"\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user