mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 10:33:34 +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:
+14
-14
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user