mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 07:33:33 +08:00
Add new protocol definitions
This commit is contained in:
+14
-14
@@ -19,15 +19,15 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* <code>uint32 entity_id = 12;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
int getEntityId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 76
|
||||
* Obf: MHOKEEHKGHP
|
||||
* CmdId: 2846
|
||||
* Obf: APEIENAMMJC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeServerGlobalValueNotify}
|
||||
@@ -74,7 +74,7 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 120: {
|
||||
case 96: {
|
||||
|
||||
entityId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -111,10 +111,10 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.ChangeServerGlobalValueNotifyOuterClass.ChangeServerGlobalValueNotify.class, emu.grasscutter.net.proto.ChangeServerGlobalValueNotifyOuterClass.ChangeServerGlobalValueNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ENTITY_ID_FIELD_NUMBER = 15;
|
||||
public static final int ENTITY_ID_FIELD_NUMBER = 12;
|
||||
private int entityId_;
|
||||
/**
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* <code>uint32 entity_id = 12;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -137,7 +137,7 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (entityId_ != 0) {
|
||||
output.writeUInt32(15, entityId_);
|
||||
output.writeUInt32(12, entityId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
size = 0;
|
||||
if (entityId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(15, entityId_);
|
||||
.computeUInt32Size(12, entityId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -279,8 +279,8 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 76
|
||||
* Obf: MHOKEEHKGHP
|
||||
* CmdId: 2846
|
||||
* Obf: APEIENAMMJC
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code ChangeServerGlobalValueNotify}
|
||||
@@ -431,7 +431,7 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
|
||||
private int entityId_ ;
|
||||
/**
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* <code>uint32 entity_id = 12;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -439,7 +439,7 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
return entityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* <code>uint32 entity_id = 12;</code>
|
||||
* @param value The entityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -450,7 +450,7 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* <code>uint32 entity_id = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearEntityId() {
|
||||
@@ -528,7 +528,7 @@ public final class ChangeServerGlobalValueNotifyOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n#ChangeServerGlobalValueNotify.proto\"2\n" +
|
||||
"\035ChangeServerGlobalValueNotify\022\021\n\tentity" +
|
||||
"_id\030\017 \001(\rB\033\n\031emu.grasscutter.net.protob\006" +
|
||||
"_id\030\014 \001(\rB\033\n\031emu.grasscutter.net.protob\006" +
|
||||
"proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user