mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-06-05 17:54:19 +08:00
Add support for v3.5.0 (#2090)
* Fix Dvalin battle See https://github.com/Anime-Game-Servers/Grasscutter-Quests/pull/25. This is entirely untested and there's a 99% chance it's broken, I'm just submitting it as a draft PR so that I don't forget about its existence. Co-Authored-By: mjolsic <21289772+mjolsic@users.noreply.github.com> * Update protos * 3.4 protos * Fix Now builds successfully, don't have the time to check if I should have specified true instead of false for withChildQuests, or if this functions as intended. * Change from false to true Per what smileoflove has been told on Discord * 3.5 * Remove the Dvalin crap from this PR Git is so confusing * Update version * Apply README changes from `origin/development` * Remove unnecessary debugging information --------- Co-authored-by: mjolsic <21289772+mjolsic@users.noreply.github.com> Co-authored-by: KingRainbow44 <kobedo11@gmail.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
922f7bca51
commit
516e5975e1
+106
-228
@@ -19,11 +19,17 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>uint32 client_red_dot_timestamp = 12;</code>
|
||||
* @return The clientRedDotTimestamp.
|
||||
*/
|
||||
int getClientRedDotTimestamp();
|
||||
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
int getH5ActivityMapCount();
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
boolean containsH5ActivityMap(
|
||||
int key);
|
||||
@@ -34,31 +40,30 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
java.util.Map<java.lang.Integer, java.lang.Integer>
|
||||
getH5ActivityMap();
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
java.util.Map<java.lang.Integer, java.lang.Integer>
|
||||
getH5ActivityMapMap();
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
|
||||
int getH5ActivityMapOrDefault(
|
||||
int key,
|
||||
int defaultValue);
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
|
||||
int getH5ActivityMapOrThrow(
|
||||
int key);
|
||||
|
||||
/**
|
||||
* <code>uint32 clientRedDotTimestamp = 1;</code>
|
||||
* @return The clientRedDotTimestamp.
|
||||
*/
|
||||
int getClientRedDotTimestamp();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FAONDBOEDMA
|
||||
* CmdId: 5659
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code H5ActivityIdsNotify}
|
||||
*/
|
||||
public static final class H5ActivityIdsNotify extends
|
||||
@@ -104,12 +109,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
|
||||
clientRedDotTimestamp_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
case 122: {
|
||||
case 10: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
h5ActivityMap_ = com.google.protobuf.MapField.newMapField(
|
||||
H5ActivityMapDefaultEntryHolder.defaultEntry);
|
||||
@@ -122,6 +122,11 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
h5ActivityMap__.getKey(), h5ActivityMap__.getValue());
|
||||
break;
|
||||
}
|
||||
case 96: {
|
||||
|
||||
clientRedDotTimestamp_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -151,7 +156,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 15:
|
||||
case 1:
|
||||
return internalGetH5ActivityMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -166,138 +171,18 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify.class, emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int CLIENT_RED_DOT_TIMESTAMP_FIELD_NUMBER = 12;
|
||||
private int clientRedDotTimestamp_;
|
||||
/**
|
||||
* Protobuf enum {@code H5ActivityIdsNotify.GKKOHIHBIMF}
|
||||
* <code>uint32 client_red_dot_timestamp = 12;</code>
|
||||
* @return The clientRedDotTimestamp.
|
||||
*/
|
||||
public enum GKKOHIHBIMF
|
||||
implements com.google.protobuf.ProtocolMessageEnum {
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
NONE(0, 0),
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 5696;</code>
|
||||
*/
|
||||
PEPPOHPHJOJ(1, 5696),
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
NNBKOLMPOEA(3, 1),
|
||||
UNRECOGNIZED(-1, -1),
|
||||
;
|
||||
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final GKKOHIHBIMF DCDNILFDFLB = NONE;
|
||||
/**
|
||||
* <code>NONE = 0;</code>
|
||||
*/
|
||||
public static final int NONE_VALUE = 0;
|
||||
/**
|
||||
* <code>PEPPOHPHJOJ = 5696;</code>
|
||||
*/
|
||||
public static final int PEPPOHPHJOJ_VALUE = 5696;
|
||||
/**
|
||||
* <code>DCDNILFDFLB = 0;</code>
|
||||
*/
|
||||
public static final int DCDNILFDFLB_VALUE = 0;
|
||||
/**
|
||||
* <code>NNBKOLMPOEA = 1;</code>
|
||||
*/
|
||||
public static final int NNBKOLMPOEA_VALUE = 1;
|
||||
|
||||
|
||||
public final int getNumber() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"Can't get the number of an unknown enum value.");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
* @deprecated Use {@link #forNumber(int)} instead.
|
||||
*/
|
||||
@java.lang.Deprecated
|
||||
public static GKKOHIHBIMF valueOf(int value) {
|
||||
return forNumber(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The numeric wire value of the corresponding enum entry.
|
||||
* @return The enum associated with the given numeric wire value.
|
||||
*/
|
||||
public static GKKOHIHBIMF forNumber(int value) {
|
||||
switch (value) {
|
||||
case 0: return NONE;
|
||||
case 5696: return PEPPOHPHJOJ;
|
||||
case 1: return NNBKOLMPOEA;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Internal.EnumLiteMap<GKKOHIHBIMF>
|
||||
internalGetValueMap() {
|
||||
return internalValueMap;
|
||||
}
|
||||
private static final com.google.protobuf.Internal.EnumLiteMap<
|
||||
GKKOHIHBIMF> internalValueMap =
|
||||
new com.google.protobuf.Internal.EnumLiteMap<GKKOHIHBIMF>() {
|
||||
public GKKOHIHBIMF findValueByNumber(int number) {
|
||||
return GKKOHIHBIMF.forNumber(number);
|
||||
}
|
||||
};
|
||||
|
||||
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
||||
getValueDescriptor() {
|
||||
if (index == -1) {
|
||||
throw new java.lang.IllegalStateException(
|
||||
"Can't get the descriptor of an unrecognized enum value.");
|
||||
}
|
||||
return getDescriptor().getValues().get(index);
|
||||
}
|
||||
public final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptorForType() {
|
||||
return getDescriptor();
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
||||
getDescriptor() {
|
||||
return emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify.getDescriptor().getEnumTypes().get(0);
|
||||
}
|
||||
|
||||
private static final GKKOHIHBIMF[] VALUES = getStaticValuesArray();
|
||||
private static GKKOHIHBIMF[] getStaticValuesArray() {
|
||||
return new GKKOHIHBIMF[] {
|
||||
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
|
||||
};
|
||||
}
|
||||
public static GKKOHIHBIMF valueOf(
|
||||
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
||||
if (desc.getType() != getDescriptor()) {
|
||||
throw new java.lang.IllegalArgumentException(
|
||||
"EnumValueDescriptor is not for this type.");
|
||||
}
|
||||
if (desc.getIndex() == -1) {
|
||||
return UNRECOGNIZED;
|
||||
}
|
||||
return VALUES[desc.getIndex()];
|
||||
}
|
||||
|
||||
private final int index;
|
||||
private final int value;
|
||||
|
||||
private GKKOHIHBIMF(int index, int value) {
|
||||
this.index = index;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(enum_scope:H5ActivityIdsNotify.GKKOHIHBIMF)
|
||||
@java.lang.Override
|
||||
public int getClientRedDotTimestamp() {
|
||||
return clientRedDotTimestamp_;
|
||||
}
|
||||
|
||||
public static final int H5ACTIVITYMAP_FIELD_NUMBER = 15;
|
||||
public static final int H5_ACTIVITY_MAP_FIELD_NUMBER = 1;
|
||||
private static final class H5ActivityMapDefaultEntryHolder {
|
||||
static final com.google.protobuf.MapEntry<
|
||||
java.lang.Integer, java.lang.Integer> defaultEntry =
|
||||
@@ -324,7 +209,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return internalGetH5ActivityMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -342,7 +227,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return getH5ActivityMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -350,7 +235,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return internalGetH5ActivityMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -363,7 +248,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -378,17 +263,6 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return map.get(key);
|
||||
}
|
||||
|
||||
public static final int CLIENTREDDOTTIMESTAMP_FIELD_NUMBER = 1;
|
||||
private int clientRedDotTimestamp_;
|
||||
/**
|
||||
* <code>uint32 clientRedDotTimestamp = 1;</code>
|
||||
* @return The clientRedDotTimestamp.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getClientRedDotTimestamp() {
|
||||
return clientRedDotTimestamp_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -403,15 +277,15 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (clientRedDotTimestamp_ != 0) {
|
||||
output.writeUInt32(1, clientRedDotTimestamp_);
|
||||
}
|
||||
com.google.protobuf.GeneratedMessageV3
|
||||
.serializeIntegerMapTo(
|
||||
output,
|
||||
internalGetH5ActivityMap(),
|
||||
H5ActivityMapDefaultEntryHolder.defaultEntry,
|
||||
15);
|
||||
1);
|
||||
if (clientRedDotTimestamp_ != 0) {
|
||||
output.writeUInt32(12, clientRedDotTimestamp_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -421,10 +295,6 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (clientRedDotTimestamp_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, clientRedDotTimestamp_);
|
||||
}
|
||||
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
|
||||
: internalGetH5ActivityMap().getMap().entrySet()) {
|
||||
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
||||
@@ -433,7 +303,11 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
.setValue(entry.getValue())
|
||||
.build();
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(15, h5ActivityMap__);
|
||||
.computeMessageSize(1, h5ActivityMap__);
|
||||
}
|
||||
if (clientRedDotTimestamp_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(12, clientRedDotTimestamp_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -450,10 +324,10 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify other = (emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify) obj;
|
||||
|
||||
if (!internalGetH5ActivityMap().equals(
|
||||
other.internalGetH5ActivityMap())) return false;
|
||||
if (getClientRedDotTimestamp()
|
||||
!= other.getClientRedDotTimestamp()) return false;
|
||||
if (!internalGetH5ActivityMap().equals(
|
||||
other.internalGetH5ActivityMap())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -465,12 +339,12 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + CLIENT_RED_DOT_TIMESTAMP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getClientRedDotTimestamp();
|
||||
if (!internalGetH5ActivityMap().getMap().isEmpty()) {
|
||||
hash = (37 * hash) + H5ACTIVITYMAP_FIELD_NUMBER;
|
||||
hash = (37 * hash) + H5_ACTIVITY_MAP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + internalGetH5ActivityMap().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + CLIENTREDDOTTIMESTAMP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getClientRedDotTimestamp();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -567,6 +441,11 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Name: FAONDBOEDMA
|
||||
* CmdId: 5659
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code H5ActivityIdsNotify}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -582,7 +461,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 15:
|
||||
case 1:
|
||||
return internalGetH5ActivityMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -593,7 +472,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
protected com.google.protobuf.MapField internalGetMutableMapField(
|
||||
int number) {
|
||||
switch (number) {
|
||||
case 15:
|
||||
case 1:
|
||||
return internalGetMutableH5ActivityMap();
|
||||
default:
|
||||
throw new RuntimeException(
|
||||
@@ -626,9 +505,9 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
internalGetMutableH5ActivityMap().clear();
|
||||
clientRedDotTimestamp_ = 0;
|
||||
|
||||
internalGetMutableH5ActivityMap().clear();
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -656,9 +535,9 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
public emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify result = new emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
result.clientRedDotTimestamp_ = clientRedDotTimestamp_;
|
||||
result.h5ActivityMap_ = internalGetH5ActivityMap();
|
||||
result.h5ActivityMap_.makeImmutable();
|
||||
result.clientRedDotTimestamp_ = clientRedDotTimestamp_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -707,11 +586,11 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.H5ActivityIdsNotifyOuterClass.H5ActivityIdsNotify.getDefaultInstance()) return this;
|
||||
internalGetMutableH5ActivityMap().mergeFrom(
|
||||
other.internalGetH5ActivityMap());
|
||||
if (other.getClientRedDotTimestamp() != 0) {
|
||||
setClientRedDotTimestamp(other.getClientRedDotTimestamp());
|
||||
}
|
||||
internalGetMutableH5ActivityMap().mergeFrom(
|
||||
other.internalGetH5ActivityMap());
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -742,6 +621,37 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
private int clientRedDotTimestamp_ ;
|
||||
/**
|
||||
* <code>uint32 client_red_dot_timestamp = 12;</code>
|
||||
* @return The clientRedDotTimestamp.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getClientRedDotTimestamp() {
|
||||
return clientRedDotTimestamp_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_red_dot_timestamp = 12;</code>
|
||||
* @param value The clientRedDotTimestamp to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setClientRedDotTimestamp(int value) {
|
||||
|
||||
clientRedDotTimestamp_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 client_red_dot_timestamp = 12;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearClientRedDotTimestamp() {
|
||||
|
||||
clientRedDotTimestamp_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private com.google.protobuf.MapField<
|
||||
java.lang.Integer, java.lang.Integer> h5ActivityMap_;
|
||||
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
||||
@@ -769,7 +679,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return internalGetH5ActivityMap().getMap().size();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
|
||||
@java.lang.Override
|
||||
@@ -787,7 +697,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return getH5ActivityMapMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -795,7 +705,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return internalGetH5ActivityMap().getMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -808,7 +718,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return map.containsKey(key) ? map.get(key) : defaultValue;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
||||
@@ -829,7 +739,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
|
||||
public Builder removeH5ActivityMap(
|
||||
@@ -848,7 +758,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return internalGetMutableH5ActivityMap().getMutableMap();
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
public Builder putH5ActivityMap(
|
||||
int key,
|
||||
@@ -860,7 +770,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>map<uint32, uint32> h5ActivityMap = 15;</code>
|
||||
* <code>map<uint32, uint32> h5_activity_map = 1;</code>
|
||||
*/
|
||||
|
||||
public Builder putAllH5ActivityMap(
|
||||
@@ -869,37 +779,6 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
.putAll(values);
|
||||
return this;
|
||||
}
|
||||
|
||||
private int clientRedDotTimestamp_ ;
|
||||
/**
|
||||
* <code>uint32 clientRedDotTimestamp = 1;</code>
|
||||
* @return The clientRedDotTimestamp.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getClientRedDotTimestamp() {
|
||||
return clientRedDotTimestamp_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 clientRedDotTimestamp = 1;</code>
|
||||
* @param value The clientRedDotTimestamp to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setClientRedDotTimestamp(int value) {
|
||||
|
||||
clientRedDotTimestamp_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 clientRedDotTimestamp = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearClientRedDotTimestamp() {
|
||||
|
||||
clientRedDotTimestamp_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -972,14 +851,13 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\031H5ActivityIdsNotify.proto\"\373\001\n\023H5Activi" +
|
||||
"tyIdsNotify\022>\n\rh5ActivityMap\030\017 \003(\0132\'.H5A" +
|
||||
"ctivityIdsNotify.H5ActivityMapEntry\022\035\n\025c" +
|
||||
"lientRedDotTimestamp\030\001 \001(\r\0324\n\022H5Activity" +
|
||||
"MapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001" +
|
||||
"\"O\n\013GKKOHIHBIMF\022\010\n\004NONE\020\000\022\020\n\013PEPPOHPHJOJ" +
|
||||
"\020\300,\022\017\n\013DCDNILFDFLB\020\000\022\017\n\013NNBKOLMPOEA\020\001\032\002\020" +
|
||||
"\001B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
"\n\031H5ActivityIdsNotify.proto\"\257\001\n\023H5Activi" +
|
||||
"tyIdsNotify\022 \n\030client_red_dot_timestamp\030" +
|
||||
"\014 \001(\r\022@\n\017h5_activity_map\030\001 \003(\0132\'.H5Activ" +
|
||||
"ityIdsNotify.H5ActivityMapEntry\0324\n\022H5Act" +
|
||||
"ivityMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(" +
|
||||
"\r:\0028\001B\033\n\031emu.grasscutter.net.protob\006prot" +
|
||||
"o3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -990,7 +868,7 @@ public final class H5ActivityIdsNotifyOuterClass {
|
||||
internal_static_H5ActivityIdsNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_H5ActivityIdsNotify_descriptor,
|
||||
new java.lang.String[] { "H5ActivityMap", "ClientRedDotTimestamp", });
|
||||
new java.lang.String[] { "ClientRedDotTimestamp", "H5ActivityMap", });
|
||||
internal_static_H5ActivityIdsNotify_H5ActivityMapEntry_descriptor =
|
||||
internal_static_H5ActivityIdsNotify_descriptor.getNestedTypes().get(0);
|
||||
internal_static_H5ActivityIdsNotify_H5ActivityMapEntry_fieldAccessorTable = new
|
||||
|
||||
Reference in New Issue
Block a user