mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 09:23:53 +08:00
Add new protocol definitions
This commit is contained in:
+24
-24
@@ -19,21 +19,21 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>bytes inject_fix = 4;</code>
|
||||
* <code>bytes inject_fix = 3;</code>
|
||||
* @return The injectFix.
|
||||
*/
|
||||
com.google.protobuf.ByteString getInjectFix();
|
||||
|
||||
/**
|
||||
* <code>uint32 id = 10;</code>
|
||||
* <code>uint32 id = 7;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
int getId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 178
|
||||
* Obf: OIOAGJGLGBJ
|
||||
* CmdId: 27662
|
||||
* Obf: JAGPJBOAGGK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerInjectFixNotify}
|
||||
@@ -81,12 +81,12 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 34: {
|
||||
case 26: {
|
||||
|
||||
injectFix_ = input.readBytes();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
case 56: {
|
||||
|
||||
id_ = input.readUInt32();
|
||||
break;
|
||||
@@ -123,10 +123,10 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerInjectFixNotifyOuterClass.PlayerInjectFixNotify.class, emu.grasscutter.net.proto.PlayerInjectFixNotifyOuterClass.PlayerInjectFixNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int INJECT_FIX_FIELD_NUMBER = 4;
|
||||
public static final int INJECT_FIX_FIELD_NUMBER = 3;
|
||||
private com.google.protobuf.ByteString injectFix_;
|
||||
/**
|
||||
* <code>bytes inject_fix = 4;</code>
|
||||
* <code>bytes inject_fix = 3;</code>
|
||||
* @return The injectFix.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -134,10 +134,10 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
return injectFix_;
|
||||
}
|
||||
|
||||
public static final int ID_FIELD_NUMBER = 10;
|
||||
public static final int ID_FIELD_NUMBER = 7;
|
||||
private int id_;
|
||||
/**
|
||||
* <code>uint32 id = 10;</code>
|
||||
* <code>uint32 id = 7;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -160,10 +160,10 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (!injectFix_.isEmpty()) {
|
||||
output.writeBytes(4, injectFix_);
|
||||
output.writeBytes(3, injectFix_);
|
||||
}
|
||||
if (id_ != 0) {
|
||||
output.writeUInt32(10, id_);
|
||||
output.writeUInt32(7, id_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -176,11 +176,11 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
size = 0;
|
||||
if (!injectFix_.isEmpty()) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBytesSize(4, injectFix_);
|
||||
.computeBytesSize(3, injectFix_);
|
||||
}
|
||||
if (id_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(10, id_);
|
||||
.computeUInt32Size(7, id_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -313,8 +313,8 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 178
|
||||
* Obf: OIOAGJGLGBJ
|
||||
* CmdId: 27662
|
||||
* Obf: JAGPJBOAGGK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code PlayerInjectFixNotify}
|
||||
@@ -471,7 +471,7 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
|
||||
private com.google.protobuf.ByteString injectFix_ = com.google.protobuf.ByteString.EMPTY;
|
||||
/**
|
||||
* <code>bytes inject_fix = 4;</code>
|
||||
* <code>bytes inject_fix = 3;</code>
|
||||
* @return The injectFix.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -479,7 +479,7 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
return injectFix_;
|
||||
}
|
||||
/**
|
||||
* <code>bytes inject_fix = 4;</code>
|
||||
* <code>bytes inject_fix = 3;</code>
|
||||
* @param value The injectFix to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -493,7 +493,7 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bytes inject_fix = 4;</code>
|
||||
* <code>bytes inject_fix = 3;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearInjectFix() {
|
||||
@@ -505,7 +505,7 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
|
||||
private int id_ ;
|
||||
/**
|
||||
* <code>uint32 id = 10;</code>
|
||||
* <code>uint32 id = 7;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -513,7 +513,7 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
return id_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 id = 10;</code>
|
||||
* <code>uint32 id = 7;</code>
|
||||
* @param value The id to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -524,7 +524,7 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 id = 10;</code>
|
||||
* <code>uint32 id = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearId() {
|
||||
@@ -601,8 +601,8 @@ public final class PlayerInjectFixNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\033PlayerInjectFixNotify.proto\"7\n\025PlayerI" +
|
||||
"njectFixNotify\022\022\n\ninject_fix\030\004 \001(\014\022\n\n\002id" +
|
||||
"\030\n \001(\rB\033\n\031emu.grasscutter.net.protob\006pro" +
|
||||
"njectFixNotify\022\022\n\ninject_fix\030\003 \001(\014\022\n\n\002id" +
|
||||
"\030\007 \001(\rB\033\n\031emu.grasscutter.net.protob\006pro" +
|
||||
"to3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user