mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 07:33:33 +08:00
Add new protocol definitions
This commit is contained in:
+22
-22
@@ -19,17 +19,17 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @return A list containing the combatEndTypeList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getCombatEndTypeListList();
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @return The count of combatEndTypeList.
|
||||
*/
|
||||
int getCombatEndTypeListCount();
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The combatEndTypeList at the given index.
|
||||
*/
|
||||
@@ -37,8 +37,8 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1116
|
||||
* Obf: JBBDKHBAHCP
|
||||
* CmdId: 5895
|
||||
* Obf: EFGMGJABLNJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ServerCombatEndNotify}
|
||||
@@ -87,7 +87,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 40: {
|
||||
case 8: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
combatEndTypeList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -95,7 +95,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
combatEndTypeList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
case 10: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -143,10 +143,10 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.ServerCombatEndNotifyOuterClass.ServerCombatEndNotify.class, emu.grasscutter.net.proto.ServerCombatEndNotifyOuterClass.ServerCombatEndNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int COMBAT_END_TYPE_LIST_FIELD_NUMBER = 5;
|
||||
public static final int COMBAT_END_TYPE_LIST_FIELD_NUMBER = 1;
|
||||
private com.google.protobuf.Internal.IntList combatEndTypeList_;
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @return A list containing the combatEndTypeList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -155,14 +155,14 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
return combatEndTypeList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @return The count of combatEndTypeList.
|
||||
*/
|
||||
public int getCombatEndTypeListCount() {
|
||||
return combatEndTypeList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The combatEndTypeList at the given index.
|
||||
*/
|
||||
@@ -187,7 +187,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (getCombatEndTypeListList().size() > 0) {
|
||||
output.writeUInt32NoTag(42);
|
||||
output.writeUInt32NoTag(10);
|
||||
output.writeUInt32NoTag(combatEndTypeListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < combatEndTypeList_.size(); i++) {
|
||||
@@ -345,8 +345,8 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 1116
|
||||
* Obf: JBBDKHBAHCP
|
||||
* CmdId: 5895
|
||||
* Obf: EFGMGJABLNJ
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ServerCombatEndNotify}
|
||||
@@ -516,7 +516,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @return A list containing the combatEndTypeList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -525,14 +525,14 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(combatEndTypeList_) : combatEndTypeList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @return The count of combatEndTypeList.
|
||||
*/
|
||||
public int getCombatEndTypeListCount() {
|
||||
return combatEndTypeList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The combatEndTypeList at the given index.
|
||||
*/
|
||||
@@ -540,7 +540,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
return combatEndTypeList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The combatEndTypeList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -553,7 +553,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @param value The combatEndTypeList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -564,7 +564,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @param values The combatEndTypeList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -577,7 +577,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 combat_end_type_list = 5;</code>
|
||||
* <code>repeated uint32 combat_end_type_list = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCombatEndTypeList() {
|
||||
@@ -654,7 +654,7 @@ public final class ServerCombatEndNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033ServerCombatEndNotify.proto\"5\n\025ServerC" +
|
||||
"ombatEndNotify\022\034\n\024combat_end_type_list\030\005" +
|
||||
"ombatEndNotify\022\034\n\024combat_end_type_list\030\001" +
|
||||
" \003(\rB\033\n\031emu.grasscutter.net.protob\006proto" +
|
||||
"3"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user