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:
Magix
2023-05-26 21:29:02 -07:00
committed by GitHub
Unverified
parent 19bf2dfc69
commit 71f6198361
1382 changed files with 227149 additions and 199653 deletions
@@ -43,15 +43,15 @@ public final class SyncTeamEntityNotifyOuterClass {
int index);
/**
* <code>uint32 scene_id = 5;</code>
* <code>uint32 scene_id = 13;</code>
* @return The sceneId.
*/
int getSceneId();
}
/**
* <pre>
* CmdId: 326
* Name: GDCDGDCNMLB
* CmdId: 318
* Obf: CDDMEPKMFHF
* </pre>
*
* Protobuf type {@code SyncTeamEntityNotify}
@@ -109,7 +109,7 @@ public final class SyncTeamEntityNotifyOuterClass {
input.readMessage(emu.grasscutter.net.proto.TeamEntityInfoOuterClass.TeamEntityInfo.parser(), extensionRegistry));
break;
}
case 40: {
case 104: {
sceneId_ = input.readUInt32();
break;
@@ -189,10 +189,10 @@ public final class SyncTeamEntityNotifyOuterClass {
return teamEntityInfoList_.get(index);
}
public static final int SCENE_ID_FIELD_NUMBER = 5;
public static final int SCENE_ID_FIELD_NUMBER = 13;
private int sceneId_;
/**
* <code>uint32 scene_id = 5;</code>
* <code>uint32 scene_id = 13;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -218,7 +218,7 @@ public final class SyncTeamEntityNotifyOuterClass {
output.writeMessage(2, teamEntityInfoList_.get(i));
}
if (sceneId_ != 0) {
output.writeUInt32(5, sceneId_);
output.writeUInt32(13, sceneId_);
}
unknownFields.writeTo(output);
}
@@ -235,7 +235,7 @@ public final class SyncTeamEntityNotifyOuterClass {
}
if (sceneId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, sceneId_);
.computeUInt32Size(13, sceneId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -370,8 +370,8 @@ public final class SyncTeamEntityNotifyOuterClass {
}
/**
* <pre>
* CmdId: 326
* Name: GDCDGDCNMLB
* CmdId: 318
* Obf: CDDMEPKMFHF
* </pre>
*
* Protobuf type {@code SyncTeamEntityNotify}
@@ -806,7 +806,7 @@ public final class SyncTeamEntityNotifyOuterClass {
private int sceneId_ ;
/**
* <code>uint32 scene_id = 5;</code>
* <code>uint32 scene_id = 13;</code>
* @return The sceneId.
*/
@java.lang.Override
@@ -814,7 +814,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return sceneId_;
}
/**
* <code>uint32 scene_id = 5;</code>
* <code>uint32 scene_id = 13;</code>
* @param value The sceneId to set.
* @return This builder for chaining.
*/
@@ -825,7 +825,7 @@ public final class SyncTeamEntityNotifyOuterClass {
return this;
}
/**
* <code>uint32 scene_id = 5;</code>
* <code>uint32 scene_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearSceneId() {
@@ -904,7 +904,7 @@ public final class SyncTeamEntityNotifyOuterClass {
"\n\032SyncTeamEntityNotify.proto\032\024TeamEntity" +
"Info.proto\"X\n\024SyncTeamEntityNotify\022.\n\025te" +
"am_entity_info_list\030\002 \003(\0132\017.TeamEntityIn" +
"fo\022\020\n\010scene_id\030\005 \001(\rB\033\n\031emu.grasscutter." +
"fo\022\020\n\010scene_id\030\r \001(\rB\033\n\031emu.grasscutter." +
"net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor