mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-21 01:39:57 +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:
@@ -19,15 +19,15 @@ public final class AskAddFriendReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 1;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
int getTargetUid();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4016
|
||||
* Name: GJMBMJPBHPH
|
||||
* CmdId: 4055
|
||||
* Obf: DFDLEHDMCMD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AskAddFriendReq}
|
||||
@@ -74,7 +74,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 56: {
|
||||
case 8: {
|
||||
|
||||
targetUid_ = input.readUInt32();
|
||||
break;
|
||||
@@ -111,10 +111,10 @@ public final class AskAddFriendReqOuterClass {
|
||||
emu.grasscutter.net.proto.AskAddFriendReqOuterClass.AskAddFriendReq.class, emu.grasscutter.net.proto.AskAddFriendReqOuterClass.AskAddFriendReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 7;
|
||||
public static final int TARGET_UID_FIELD_NUMBER = 1;
|
||||
private int targetUid_;
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 1;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -137,7 +137,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (targetUid_ != 0) {
|
||||
output.writeUInt32(7, targetUid_);
|
||||
output.writeUInt32(1, targetUid_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
size = 0;
|
||||
if (targetUid_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(7, targetUid_);
|
||||
.computeUInt32Size(1, targetUid_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -279,8 +279,8 @@ public final class AskAddFriendReqOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 4016
|
||||
* Name: GJMBMJPBHPH
|
||||
* CmdId: 4055
|
||||
* Obf: DFDLEHDMCMD
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AskAddFriendReq}
|
||||
@@ -431,7 +431,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
|
||||
private int targetUid_ ;
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 1;</code>
|
||||
* @return The targetUid.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -439,7 +439,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
return targetUid_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 1;</code>
|
||||
* @param value The targetUid to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -450,7 +450,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 target_uid = 7;</code>
|
||||
* <code>uint32 target_uid = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearTargetUid() {
|
||||
@@ -527,7 +527,7 @@ public final class AskAddFriendReqOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\025AskAddFriendReq.proto\"%\n\017AskAddFriendR" +
|
||||
"eq\022\022\n\ntarget_uid\030\007 \001(\rB\033\n\031emu.grasscutte" +
|
||||
"eq\022\022\n\ntarget_uid\030\001 \001(\rB\033\n\031emu.grasscutte" +
|
||||
"r.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user