mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 18:13:35 +08:00
Add new protocol definitions
This commit is contained in:
+14
-14
@@ -19,15 +19,15 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 popularity = 4;</code>
|
||||
* <code>uint32 popularity = 6;</code>
|
||||
* @return The popularity.
|
||||
*/
|
||||
int getPopularity();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2151
|
||||
* Obf: NKDLBPJOKIC
|
||||
* CmdId: 6421
|
||||
* Obf: IFNKOMOKHDM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SeaLampPopularityNotify}
|
||||
@@ -74,7 +74,7 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 32: {
|
||||
case 48: {
|
||||
|
||||
popularity_ = input.readUInt32();
|
||||
break;
|
||||
@@ -111,10 +111,10 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.SeaLampPopularityNotifyOuterClass.SeaLampPopularityNotify.class, emu.grasscutter.net.proto.SeaLampPopularityNotifyOuterClass.SeaLampPopularityNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int POPULARITY_FIELD_NUMBER = 4;
|
||||
public static final int POPULARITY_FIELD_NUMBER = 6;
|
||||
private int popularity_;
|
||||
/**
|
||||
* <code>uint32 popularity = 4;</code>
|
||||
* <code>uint32 popularity = 6;</code>
|
||||
* @return The popularity.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -137,7 +137,7 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (popularity_ != 0) {
|
||||
output.writeUInt32(4, popularity_);
|
||||
output.writeUInt32(6, popularity_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
size = 0;
|
||||
if (popularity_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(4, popularity_);
|
||||
.computeUInt32Size(6, popularity_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -279,8 +279,8 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 2151
|
||||
* Obf: NKDLBPJOKIC
|
||||
* CmdId: 6421
|
||||
* Obf: IFNKOMOKHDM
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code SeaLampPopularityNotify}
|
||||
@@ -431,7 +431,7 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
|
||||
private int popularity_ ;
|
||||
/**
|
||||
* <code>uint32 popularity = 4;</code>
|
||||
* <code>uint32 popularity = 6;</code>
|
||||
* @return The popularity.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -439,7 +439,7 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
return popularity_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 popularity = 4;</code>
|
||||
* <code>uint32 popularity = 6;</code>
|
||||
* @param value The popularity to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -450,7 +450,7 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 popularity = 4;</code>
|
||||
* <code>uint32 popularity = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearPopularity() {
|
||||
@@ -527,7 +527,7 @@ public final class SeaLampPopularityNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\035SeaLampPopularityNotify.proto\"-\n\027SeaLa" +
|
||||
"mpPopularityNotify\022\022\n\npopularity\030\004 \001(\rB\033" +
|
||||
"mpPopularityNotify\022\022\n\npopularity\030\006 \001(\rB\033" +
|
||||
"\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
|
||||
Reference in New Issue
Block a user