mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 15:04:23 +08:00
Add new protocol definitions
This commit is contained in:
+14
-14
@@ -19,15 +19,15 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 compound_id = 8;</code>
|
||||
* <code>uint32 compound_id = 4;</code>
|
||||
* @return The compoundId.
|
||||
*/
|
||||
int getCompoundId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 167
|
||||
* Obf: GJDLOBNDGOB
|
||||
* CmdId: 29908
|
||||
* Obf: HEIKIOLAOKF
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CompoundUnlockNotify}
|
||||
@@ -74,7 +74,7 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 64: {
|
||||
case 32: {
|
||||
|
||||
compoundId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -111,10 +111,10 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.CompoundUnlockNotifyOuterClass.CompoundUnlockNotify.class, emu.grasscutter.net.proto.CompoundUnlockNotifyOuterClass.CompoundUnlockNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int COMPOUND_ID_FIELD_NUMBER = 8;
|
||||
public static final int COMPOUND_ID_FIELD_NUMBER = 4;
|
||||
private int compoundId_;
|
||||
/**
|
||||
* <code>uint32 compound_id = 8;</code>
|
||||
* <code>uint32 compound_id = 4;</code>
|
||||
* @return The compoundId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -137,7 +137,7 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (compoundId_ != 0) {
|
||||
output.writeUInt32(8, compoundId_);
|
||||
output.writeUInt32(4, compoundId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
size = 0;
|
||||
if (compoundId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(8, compoundId_);
|
||||
.computeUInt32Size(4, compoundId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -279,8 +279,8 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 167
|
||||
* Obf: GJDLOBNDGOB
|
||||
* CmdId: 29908
|
||||
* Obf: HEIKIOLAOKF
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code CompoundUnlockNotify}
|
||||
@@ -431,7 +431,7 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
|
||||
private int compoundId_ ;
|
||||
/**
|
||||
* <code>uint32 compound_id = 8;</code>
|
||||
* <code>uint32 compound_id = 4;</code>
|
||||
* @return The compoundId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -439,7 +439,7 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
return compoundId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 compound_id = 8;</code>
|
||||
* <code>uint32 compound_id = 4;</code>
|
||||
* @param value The compoundId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -450,7 +450,7 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 compound_id = 8;</code>
|
||||
* <code>uint32 compound_id = 4;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCompoundId() {
|
||||
@@ -527,7 +527,7 @@ public final class CompoundUnlockNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\032CompoundUnlockNotify.proto\"+\n\024Compound" +
|
||||
"UnlockNotify\022\023\n\013compound_id\030\010 \001(\rB\033\n\031emu" +
|
||||
"UnlockNotify\022\023\n\013compound_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