mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 21:23:42 +08:00
Add new protocol definitions
This commit is contained in:
@@ -19,31 +19,31 @@ public final class GCGPVEIntentionOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @return A list containing the skillIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getSkillIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @return The count of skillIdList.
|
||||
*/
|
||||
int getSkillIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The skillIdList at the given index.
|
||||
*/
|
||||
int getSkillIdList(int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 card_guid = 6;</code>
|
||||
* <code>uint32 card_guid = 10;</code>
|
||||
* @return The cardGuid.
|
||||
*/
|
||||
int getCardGuid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: FJBFPLFPINM
|
||||
* Obf: LJLJCPMMEKG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GCGPVEIntention}
|
||||
@@ -92,12 +92,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 48: {
|
||||
|
||||
cardGuid_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 56: {
|
||||
case 40: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
skillIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -105,7 +100,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
skillIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
case 42: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -118,6 +113,11 @@ public final class GCGPVEIntentionOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
|
||||
cardGuid_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -153,10 +153,10 @@ public final class GCGPVEIntentionOuterClass {
|
||||
emu.grasscutter.net.proto.GCGPVEIntentionOuterClass.GCGPVEIntention.class, emu.grasscutter.net.proto.GCGPVEIntentionOuterClass.GCGPVEIntention.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SKILL_ID_LIST_FIELD_NUMBER = 7;
|
||||
public static final int SKILL_ID_LIST_FIELD_NUMBER = 5;
|
||||
private com.google.protobuf.Internal.IntList skillIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @return A list containing the skillIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -165,14 +165,14 @@ public final class GCGPVEIntentionOuterClass {
|
||||
return skillIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @return The count of skillIdList.
|
||||
*/
|
||||
public int getSkillIdListCount() {
|
||||
return skillIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The skillIdList at the given index.
|
||||
*/
|
||||
@@ -181,10 +181,10 @@ public final class GCGPVEIntentionOuterClass {
|
||||
}
|
||||
private int skillIdListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int CARD_GUID_FIELD_NUMBER = 6;
|
||||
public static final int CARD_GUID_FIELD_NUMBER = 10;
|
||||
private int cardGuid_;
|
||||
/**
|
||||
* <code>uint32 card_guid = 6;</code>
|
||||
* <code>uint32 card_guid = 10;</code>
|
||||
* @return The cardGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -207,16 +207,16 @@ public final class GCGPVEIntentionOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (cardGuid_ != 0) {
|
||||
output.writeUInt32(6, cardGuid_);
|
||||
}
|
||||
if (getSkillIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(58);
|
||||
output.writeUInt32NoTag(42);
|
||||
output.writeUInt32NoTag(skillIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < skillIdList_.size(); i++) {
|
||||
output.writeUInt32NoTag(skillIdList_.getInt(i));
|
||||
}
|
||||
if (cardGuid_ != 0) {
|
||||
output.writeUInt32(10, cardGuid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -226,10 +226,6 @@ public final class GCGPVEIntentionOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (cardGuid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(6, cardGuid_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < skillIdList_.size(); i++) {
|
||||
@@ -244,6 +240,10 @@ public final class GCGPVEIntentionOuterClass {
|
||||
}
|
||||
skillIdListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (cardGuid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, cardGuid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -377,7 +377,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: FJBFPLFPINM
|
||||
* Obf: LJLJCPMMEKG
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GCGPVEIntention}
|
||||
@@ -553,7 +553,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @return A list containing the skillIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -562,14 +562,14 @@ public final class GCGPVEIntentionOuterClass {
|
||||
java.util.Collections.unmodifiableList(skillIdList_) : skillIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @return The count of skillIdList.
|
||||
*/
|
||||
public int getSkillIdListCount() {
|
||||
return skillIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The skillIdList at the given index.
|
||||
*/
|
||||
@@ -577,7 +577,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
return skillIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The skillIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -590,7 +590,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @param value The skillIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -601,7 +601,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @param values The skillIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -614,7 +614,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 skill_id_list = 7;</code>
|
||||
* <code>repeated uint32 skill_id_list = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSkillIdList() {
|
||||
@@ -626,7 +626,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
|
||||
private int cardGuid_ ;
|
||||
/**
|
||||
* <code>uint32 card_guid = 6;</code>
|
||||
* <code>uint32 card_guid = 10;</code>
|
||||
* @return The cardGuid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -634,7 +634,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
return cardGuid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 card_guid = 6;</code>
|
||||
* <code>uint32 card_guid = 10;</code>
|
||||
* @param value The cardGuid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -645,7 +645,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 card_guid = 6;</code>
|
||||
* <code>uint32 card_guid = 10;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCardGuid() {
|
||||
@@ -722,7 +722,7 @@ public final class GCGPVEIntentionOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\025GCGPVEIntention.proto\";\n\017GCGPVEIntenti" +
|
||||
"on\022\025\n\rskill_id_list\030\007 \003(\r\022\021\n\tcard_guid\030\006" +
|
||||
"on\022\025\n\rskill_id_list\030\005 \003(\r\022\021\n\tcard_guid\030\n" +
|
||||
" \001(\rB\033\n\031emu.grasscutter.net.protob\006proto" +
|
||||
"3"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user