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,21 +19,21 @@ public final class InstableSprayRestartDungeonRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 level_id = 13;</code>
* <code>uint32 level_id = 1;</code>
* @return The levelId.
*/
int getLevelId();
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* CmdId: 22291
* Obf: HKCLMBHDLFO
* CmdId: 2448
* Obf: PEIAOFDMODM
* </pre>
*
* Protobuf type {@code InstableSprayRestartDungeonRsp}
@@ -80,16 +80,16 @@ public final class InstableSprayRestartDungeonRspOuterClass {
case 0:
done = true;
break;
case 88: {
retcode_ = input.readInt32();
break;
}
case 104: {
case 8: {
levelId_ = input.readUInt32();
break;
}
case 120: {
retcode_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -122,21 +122,10 @@ public final class InstableSprayRestartDungeonRspOuterClass {
emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp.class, emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp.Builder.class);
}
public static final int RETCODE_FIELD_NUMBER = 11;
private int retcode_;
/**
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int LEVEL_ID_FIELD_NUMBER = 13;
public static final int LEVEL_ID_FIELD_NUMBER = 1;
private int levelId_;
/**
* <code>uint32 level_id = 13;</code>
* <code>uint32 level_id = 1;</code>
* @return The levelId.
*/
@java.lang.Override
@@ -144,6 +133,17 @@ public final class InstableSprayRestartDungeonRspOuterClass {
return levelId_;
}
public static final int RETCODE_FIELD_NUMBER = 15;
private int retcode_;
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -158,11 +158,11 @@ public final class InstableSprayRestartDungeonRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(11, retcode_);
}
if (levelId_ != 0) {
output.writeUInt32(13, levelId_);
output.writeUInt32(1, levelId_);
}
if (retcode_ != 0) {
output.writeInt32(15, retcode_);
}
unknownFields.writeTo(output);
}
@@ -173,13 +173,13 @@ public final class InstableSprayRestartDungeonRspOuterClass {
if (size != -1) return size;
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, retcode_);
}
if (levelId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, levelId_);
.computeUInt32Size(1, levelId_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(15, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -196,10 +196,10 @@ public final class InstableSprayRestartDungeonRspOuterClass {
}
emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp other = (emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp) obj;
if (getRetcode()
!= other.getRetcode()) return false;
if (getLevelId()
!= other.getLevelId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -211,10 +211,10 @@ public final class InstableSprayRestartDungeonRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + LEVEL_ID_FIELD_NUMBER;
hash = (53 * hash) + getLevelId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -312,8 +312,8 @@ public final class InstableSprayRestartDungeonRspOuterClass {
}
/**
* <pre>
* CmdId: 22291
* Obf: HKCLMBHDLFO
* CmdId: 2448
* Obf: PEIAOFDMODM
* </pre>
*
* Protobuf type {@code InstableSprayRestartDungeonRsp}
@@ -353,10 +353,10 @@ public final class InstableSprayRestartDungeonRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
retcode_ = 0;
levelId_ = 0;
retcode_ = 0;
return this;
}
@@ -383,8 +383,8 @@ public final class InstableSprayRestartDungeonRspOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp buildPartial() {
emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp result = new emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp(this);
result.retcode_ = retcode_;
result.levelId_ = levelId_;
result.retcode_ = retcode_;
onBuilt();
return result;
}
@@ -433,12 +433,12 @@ public final class InstableSprayRestartDungeonRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp other) {
if (other == emu.grasscutter.net.proto.InstableSprayRestartDungeonRspOuterClass.InstableSprayRestartDungeonRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getLevelId() != 0) {
setLevelId(other.getLevelId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -468,40 +468,9 @@ public final class InstableSprayRestartDungeonRspOuterClass {
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 11;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 11;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 11;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private int levelId_ ;
/**
* <code>uint32 level_id = 13;</code>
* <code>uint32 level_id = 1;</code>
* @return The levelId.
*/
@java.lang.Override
@@ -509,7 +478,7 @@ public final class InstableSprayRestartDungeonRspOuterClass {
return levelId_;
}
/**
* <code>uint32 level_id = 13;</code>
* <code>uint32 level_id = 1;</code>
* @param value The levelId to set.
* @return This builder for chaining.
*/
@@ -520,7 +489,7 @@ public final class InstableSprayRestartDungeonRspOuterClass {
return this;
}
/**
* <code>uint32 level_id = 13;</code>
* <code>uint32 level_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearLevelId() {
@@ -529,6 +498,37 @@ public final class InstableSprayRestartDungeonRspOuterClass {
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 15;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 15;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
retcode_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 15;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -597,8 +597,8 @@ public final class InstableSprayRestartDungeonRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n$InstableSprayRestartDungeonRsp.proto\"C" +
"\n\036InstableSprayRestartDungeonRsp\022\017\n\007retc" +
"ode\030\013 \001(\005\022\020\n\010level_id\030\r \001(\rB\033\n\031emu.grass" +
"\n\036InstableSprayRestartDungeonRsp\022\020\n\010leve" +
"l_id\030\001 \001(\r\022\017\n\007retcode\030\017 \001(\005B\033\n\031emu.grass" +
"cutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -610,7 +610,7 @@ public final class InstableSprayRestartDungeonRspOuterClass {
internal_static_InstableSprayRestartDungeonRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_InstableSprayRestartDungeonRsp_descriptor,
new java.lang.String[] { "Retcode", "LevelId", });
new java.lang.String[] { "LevelId", "Retcode", });
}
// @@protoc_insertion_point(outer_class_scope)