mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:54:14 +08:00
Upgrade to REL3.7 (#2164)
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
This commit is contained in:
+41
-41
@@ -19,32 +19,32 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @return A list containing the delEntityIdList.
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getDelEntityIdListList();
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @return The count of delEntityIdList.
|
||||
*/
|
||||
int getDelEntityIdListCount();
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The delEntityIdList at the given index.
|
||||
*/
|
||||
int getDelEntityIdList(int index);
|
||||
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 4;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
int getSceneId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 340
|
||||
* Name: LLAEAGCDEND
|
||||
* CmdId: 369
|
||||
* Obf: IBMDDFGACLA
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DelTeamEntityNotify}
|
||||
@@ -93,7 +93,12 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
case 32: {
|
||||
|
||||
sceneId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 104: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
delEntityIdList_ = newIntList();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
@@ -101,7 +106,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
delEntityIdList_.addInt(input.readUInt32());
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
case 106: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
|
||||
@@ -114,11 +119,6 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 64: {
|
||||
|
||||
sceneId_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -154,10 +154,10 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify.class, emu.grasscutter.net.proto.DelTeamEntityNotifyOuterClass.DelTeamEntityNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int DEL_ENTITY_ID_LIST_FIELD_NUMBER = 1;
|
||||
public static final int DEL_ENTITY_ID_LIST_FIELD_NUMBER = 13;
|
||||
private com.google.protobuf.Internal.IntList delEntityIdList_;
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @return A list containing the delEntityIdList.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -166,14 +166,14 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return delEntityIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @return The count of delEntityIdList.
|
||||
*/
|
||||
public int getDelEntityIdListCount() {
|
||||
return delEntityIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The delEntityIdList at the given index.
|
||||
*/
|
||||
@@ -182,10 +182,10 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
}
|
||||
private int delEntityIdListMemoizedSerializedSize = -1;
|
||||
|
||||
public static final int SCENE_ID_FIELD_NUMBER = 8;
|
||||
public static final int SCENE_ID_FIELD_NUMBER = 4;
|
||||
private int sceneId_;
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 4;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -208,16 +208,16 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (sceneId_ != 0) {
|
||||
output.writeUInt32(4, sceneId_);
|
||||
}
|
||||
if (getDelEntityIdListList().size() > 0) {
|
||||
output.writeUInt32NoTag(10);
|
||||
output.writeUInt32NoTag(106);
|
||||
output.writeUInt32NoTag(delEntityIdListMemoizedSerializedSize);
|
||||
}
|
||||
for (int i = 0; i < delEntityIdList_.size(); i++) {
|
||||
output.writeUInt32NoTag(delEntityIdList_.getInt(i));
|
||||
}
|
||||
if (sceneId_ != 0) {
|
||||
output.writeUInt32(8, sceneId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -227,6 +227,10 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (sceneId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, sceneId_);
|
||||
}
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < delEntityIdList_.size(); i++) {
|
||||
@@ -241,10 +245,6 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
}
|
||||
delEntityIdListMemoizedSerializedSize = dataSize;
|
||||
}
|
||||
if (sceneId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, sceneId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -378,8 +378,8 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 340
|
||||
* Name: LLAEAGCDEND
|
||||
* CmdId: 369
|
||||
* Obf: IBMDDFGACLA
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code DelTeamEntityNotify}
|
||||
@@ -555,7 +555,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @return A list containing the delEntityIdList.
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
@@ -564,14 +564,14 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
java.util.Collections.unmodifiableList(delEntityIdList_) : delEntityIdList_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @return The count of delEntityIdList.
|
||||
*/
|
||||
public int getDelEntityIdListCount() {
|
||||
return delEntityIdList_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @param index The index of the element to return.
|
||||
* @return The delEntityIdList at the given index.
|
||||
*/
|
||||
@@ -579,7 +579,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return delEntityIdList_.getInt(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @param index The index to set the value at.
|
||||
* @param value The delEntityIdList to set.
|
||||
* @return This builder for chaining.
|
||||
@@ -592,7 +592,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @param value The delEntityIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -603,7 +603,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @param values The delEntityIdList to add.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -616,7 +616,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated uint32 del_entity_id_list = 1;</code>
|
||||
* <code>repeated uint32 del_entity_id_list = 13;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearDelEntityIdList() {
|
||||
@@ -628,7 +628,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
|
||||
private int sceneId_ ;
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 4;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -636,7 +636,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return sceneId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 4;</code>
|
||||
* @param value The sceneId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -647,7 +647,7 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 scene_id = 8;</code>
|
||||
* <code>uint32 scene_id = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSceneId() {
|
||||
@@ -724,8 +724,8 @@ public final class DelTeamEntityNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\031DelTeamEntityNotify.proto\"C\n\023DelTeamEn" +
|
||||
"tityNotify\022\032\n\022del_entity_id_list\030\001 \003(\r\022\020" +
|
||||
"\n\010scene_id\030\010 \001(\rB\033\n\031emu.grasscutter.net." +
|
||||
"tityNotify\022\032\n\022del_entity_id_list\030\r \003(\r\022\020" +
|
||||
"\n\010scene_id\030\004 \001(\rB\033\n\031emu.grasscutter.net." +
|
||||
"protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user