Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,15 +19,26 @@ public final class GalleryStopNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 gallery_id = 1;</code>
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @return The enum numeric value on the wire for gKKMABPCMBH.
*/
int getGKKMABPCMBHValue();
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @return The gKKMABPCMBH.
*/
emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM getGKKMABPCMBH();
/**
* <code>uint32 gallery_id = 13;</code>
* @return The galleryId.
*/
int getGalleryId();
}
/**
* <pre>
* CmdId: 5572
* Obf: KNILNOFCPBH
* CmdId: 20569
* Obf: DOHEBPBCJDH
* </pre>
*
* Protobuf type {@code GalleryStopNotify}
@@ -42,6 +53,7 @@ public final class GalleryStopNotifyOuterClass {
super(builder);
}
private GalleryStopNotify() {
gKKMABPCMBH_ = 0;
}
@java.lang.Override
@@ -74,7 +86,13 @@ public final class GalleryStopNotifyOuterClass {
case 0:
done = true;
break;
case 8: {
case 80: {
int rawValue = input.readEnum();
gKKMABPCMBH_ = rawValue;
break;
}
case 104: {
galleryId_ = input.readUInt32();
break;
@@ -111,10 +129,29 @@ public final class GalleryStopNotifyOuterClass {
emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify.class, emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify.Builder.class);
}
public static final int GALLERY_ID_FIELD_NUMBER = 1;
public static final int GKKMABPCMBH_FIELD_NUMBER = 10;
private int gKKMABPCMBH_;
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @return The enum numeric value on the wire for gKKMABPCMBH.
*/
@java.lang.Override public int getGKKMABPCMBHValue() {
return gKKMABPCMBH_;
}
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @return The gKKMABPCMBH.
*/
@java.lang.Override public emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM getGKKMABPCMBH() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM result = emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM.valueOf(gKKMABPCMBH_);
return result == null ? emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM.UNRECOGNIZED : result;
}
public static final int GALLERY_ID_FIELD_NUMBER = 13;
private int galleryId_;
/**
* <code>uint32 gallery_id = 1;</code>
* <code>uint32 gallery_id = 13;</code>
* @return The galleryId.
*/
@java.lang.Override
@@ -136,8 +173,11 @@ public final class GalleryStopNotifyOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (gKKMABPCMBH_ != emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM.KDHIAEFLGFM_GalleryStopNone.getNumber()) {
output.writeEnum(10, gKKMABPCMBH_);
}
if (galleryId_ != 0) {
output.writeUInt32(1, galleryId_);
output.writeUInt32(13, galleryId_);
}
unknownFields.writeTo(output);
}
@@ -148,9 +188,13 @@ public final class GalleryStopNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (gKKMABPCMBH_ != emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM.KDHIAEFLGFM_GalleryStopNone.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(10, gKKMABPCMBH_);
}
if (galleryId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, galleryId_);
.computeUInt32Size(13, galleryId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -167,6 +211,7 @@ public final class GalleryStopNotifyOuterClass {
}
emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify other = (emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify) obj;
if (gKKMABPCMBH_ != other.gKKMABPCMBH_) return false;
if (getGalleryId()
!= other.getGalleryId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
@@ -180,6 +225,8 @@ public final class GalleryStopNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + GKKMABPCMBH_FIELD_NUMBER;
hash = (53 * hash) + gKKMABPCMBH_;
hash = (37 * hash) + GALLERY_ID_FIELD_NUMBER;
hash = (53 * hash) + getGalleryId();
hash = (29 * hash) + unknownFields.hashCode();
@@ -279,8 +326,8 @@ public final class GalleryStopNotifyOuterClass {
}
/**
* <pre>
* CmdId: 5572
* Obf: KNILNOFCPBH
* CmdId: 20569
* Obf: DOHEBPBCJDH
* </pre>
*
* Protobuf type {@code GalleryStopNotify}
@@ -320,6 +367,8 @@ public final class GalleryStopNotifyOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
gKKMABPCMBH_ = 0;
galleryId_ = 0;
return this;
@@ -348,6 +397,7 @@ public final class GalleryStopNotifyOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify buildPartial() {
emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify result = new emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify(this);
result.gKKMABPCMBH_ = gKKMABPCMBH_;
result.galleryId_ = galleryId_;
onBuilt();
return result;
@@ -397,6 +447,9 @@ public final class GalleryStopNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify other) {
if (other == emu.grasscutter.net.proto.GalleryStopNotifyOuterClass.GalleryStopNotify.getDefaultInstance()) return this;
if (other.gKKMABPCMBH_ != 0) {
setGKKMABPCMBHValue(other.getGKKMABPCMBHValue());
}
if (other.getGalleryId() != 0) {
setGalleryId(other.getGalleryId());
}
@@ -429,9 +482,63 @@ public final class GalleryStopNotifyOuterClass {
return this;
}
private int gKKMABPCMBH_ = 0;
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @return The enum numeric value on the wire for gKKMABPCMBH.
*/
@java.lang.Override public int getGKKMABPCMBHValue() {
return gKKMABPCMBH_;
}
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @param value The enum numeric value on the wire for gKKMABPCMBH to set.
* @return This builder for chaining.
*/
public Builder setGKKMABPCMBHValue(int value) {
gKKMABPCMBH_ = value;
onChanged();
return this;
}
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @return The gKKMABPCMBH.
*/
@java.lang.Override
public emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM getGKKMABPCMBH() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM result = emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM.valueOf(gKKMABPCMBH_);
return result == null ? emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM.UNRECOGNIZED : result;
}
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @param value The gKKMABPCMBH to set.
* @return This builder for chaining.
*/
public Builder setGKKMABPCMBH(emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.KDHIAEFLGFM value) {
if (value == null) {
throw new NullPointerException();
}
gKKMABPCMBH_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>.KDHIAEFLGFM GKKMABPCMBH = 10;</code>
* @return This builder for chaining.
*/
public Builder clearGKKMABPCMBH() {
gKKMABPCMBH_ = 0;
onChanged();
return this;
}
private int galleryId_ ;
/**
* <code>uint32 gallery_id = 1;</code>
* <code>uint32 gallery_id = 13;</code>
* @return The galleryId.
*/
@java.lang.Override
@@ -439,7 +546,7 @@ public final class GalleryStopNotifyOuterClass {
return galleryId_;
}
/**
* <code>uint32 gallery_id = 1;</code>
* <code>uint32 gallery_id = 13;</code>
* @param value The galleryId to set.
* @return This builder for chaining.
*/
@@ -450,7 +557,7 @@ public final class GalleryStopNotifyOuterClass {
return this;
}
/**
* <code>uint32 gallery_id = 1;</code>
* <code>uint32 gallery_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearGalleryId() {
@@ -526,20 +633,23 @@ public final class GalleryStopNotifyOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027GalleryStopNotify.proto\"\'\n\021GalleryStop" +
"Notify\022\022\n\ngallery_id\030\001 \001(\rB\033\n\031emu.grassc" +
"utter.net.protob\006proto3"
"\n\027GalleryStopNotify.proto\032\021KDHIAEFLGFM.p" +
"roto\"J\n\021GalleryStopNotify\022!\n\013GKKMABPCMBH" +
"\030\n \001(\0162\014.KDHIAEFLGFM\022\022\n\ngallery_id\030\r \001(\r" +
"B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.getDescriptor(),
});
internal_static_GalleryStopNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_GalleryStopNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GalleryStopNotify_descriptor,
new java.lang.String[] { "GalleryId", });
new java.lang.String[] { "GKKMABPCMBH", "GalleryId", });
emu.grasscutter.net.proto.KDHIAEFLGFMOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)