mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-06 09:14:31 +08:00
Add new protocol definitions
This commit is contained in:
@@ -19,11 +19,11 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
int getGroupMapCount();
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
boolean containsGroupMap(
|
||||
int key);
|
||||
@@ -34,19 +34,19 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
java.util.Map<java.lang.Integer, java.lang.Integer>
|
||||
getGroupMap();
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
java.util.Map<java.lang.Integer, java.lang.Integer>
|
||||
getGroupMapMap();
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
|
||||
int getGroupMapOrDefault(
|
||||
int key,
|
||||
int defaultValue);
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
|
||||
int getGroupMapOrThrow(
|
||||
@@ -54,8 +54,8 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 3284
|
||||
* Obf: PICEJIDPMOD
|
||||
* CmdId: 6257
|
||||
* Obf: EANOCGOKDIN
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GroupSuiteNotify}
|
||||
@@ -103,7 +103,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 122: {
|
||||
case 82: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
groupMap_ = com.google.protobuf.MapField.newMapField(
|
||||
GroupMapDefaultEntryHolder.defaultEntry);
|
||||
@@ -145,7 +145,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 15:
|
||||
case 10:
|
||||
return internalGetGroupMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -160,7 +160,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.GroupSuiteNotifyOuterClass.GroupSuiteNotify.class, emu.grasscutter.net.proto.GroupSuiteNotifyOuterClass.GroupSuiteNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int GROUP_MAP_FIELD_NUMBER = 15;
|
||||
public static final int GROUP_MAP_FIELD_NUMBER = 10;
|
||||
private static final class GroupMapDefaultEntryHolder {
|
||||
static final com.google.protobuf.MapEntry<
|
||||
java.lang.Integer, java.lang.Integer> defaultEntry =
|
||||
@@ -187,7 +187,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return internalGetGroupMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -205,7 +205,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return getGroupMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -213,7 +213,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return internalGetGroupMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -226,7 +226,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -260,7 +260,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
output,
|
||||
internalGetGroupMap(),
|
||||
GroupMapDefaultEntryHolder.defaultEntry,
|
||||
15);
|
||||
10);
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -278,7 +278,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
.setValue(entry.getValue())
|
||||
.build();
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(15, groupMap__);
|
||||
.computeMessageSize(10, groupMap__);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -409,8 +409,8 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 3284
|
||||
* Obf: PICEJIDPMOD
|
||||
* CmdId: 6257
|
||||
* Obf: EANOCGOKDIN
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code GroupSuiteNotify}
|
||||
@@ -428,7 +428,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 15:
|
||||
case 10:
|
||||
return internalGetGroupMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -439,7 +439,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMutableMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 15:
|
||||
case 10:
|
||||
return internalGetMutableGroupMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -609,7 +609,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return internalGetGroupMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -627,7 +627,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return getGroupMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -635,7 +635,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return internalGetGroupMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -648,7 +648,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -669,7 +669,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
|
||||
public Builder removeGroupMap(
|
||||
@@ -688,7 +688,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return internalGetMutableGroupMap().getMutableMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
public Builder putGroupMap(
|
||||
int key,
|
||||
@@ -700,7 +700,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> group_map = 15;</code>
|
||||
* <code>map<uint32, uint32> group_map = 10;</code>
|
||||
*/
|
||||
|
||||
public Builder putAllGroupMap(
|
||||
@@ -782,7 +782,7 @@ public final class GroupSuiteNotifyOuterClass {
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\026GroupSuiteNotify.proto\"w\n\020GroupSuiteNo" +
|
||||
"tify\0222\n\tgroup_map\030\017 \003(\0132\037.GroupSuiteNoti" +
|
||||
"tify\0222\n\tgroup_map\030\n \003(\0132\037.GroupSuiteNoti" +
|
||||
"fy.GroupMapEntry\032/\n\rGroupMapEntry\022\013\n\003key" +
|
||||
"\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031emu.grasscu" +
|
||||
"tter.net.protob\006proto3"
|
||||
|
||||
Reference in New Issue
Block a user