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 PlayerQuitDungeonRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 point_id = 2;</code>
* @return The pointId.
*/
int getPointId();
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>uint32 point_id = 13;</code>
* @return The pointId.
*/
int getPointId();
}
/**
* <pre>
* CmdId: 948
* Obf: KFAMCAGJKJA
* CmdId: 4431
* Obf: KHKEMHFADOL
* </pre>
*
* Protobuf type {@code PlayerQuitDungeonRsp}
@@ -80,16 +80,16 @@ public final class PlayerQuitDungeonRspOuterClass {
case 0:
done = true;
break;
case 16: {
pointId_ = input.readUInt32();
break;
}
case 32: {
case 64: {
retcode_ = input.readInt32();
break;
}
case 104: {
pointId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -122,21 +122,10 @@ public final class PlayerQuitDungeonRspOuterClass {
emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp.class, emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp.Builder.class);
}
public static final int POINT_ID_FIELD_NUMBER = 2;
private int pointId_;
/**
* <code>uint32 point_id = 2;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
public static final int RETCODE_FIELD_NUMBER = 4;
public static final int RETCODE_FIELD_NUMBER = 8;
private int retcode_;
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -144,6 +133,17 @@ public final class PlayerQuitDungeonRspOuterClass {
return retcode_;
}
public static final int POINT_ID_FIELD_NUMBER = 13;
private int pointId_;
/**
* <code>uint32 point_id = 13;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -158,11 +158,11 @@ public final class PlayerQuitDungeonRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (pointId_ != 0) {
output.writeUInt32(2, pointId_);
}
if (retcode_ != 0) {
output.writeInt32(4, retcode_);
output.writeInt32(8, retcode_);
}
if (pointId_ != 0) {
output.writeUInt32(13, pointId_);
}
unknownFields.writeTo(output);
}
@@ -173,13 +173,13 @@ public final class PlayerQuitDungeonRspOuterClass {
if (size != -1) return size;
size = 0;
if (pointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, pointId_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, retcode_);
.computeInt32Size(8, retcode_);
}
if (pointId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, pointId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -196,10 +196,10 @@ public final class PlayerQuitDungeonRspOuterClass {
}
emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp other = (emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp) obj;
if (getPointId()
!= other.getPointId()) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (getPointId()
!= other.getPointId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -211,10 +211,10 @@ public final class PlayerQuitDungeonRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getPointId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + POINT_ID_FIELD_NUMBER;
hash = (53 * hash) + getPointId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -312,8 +312,8 @@ public final class PlayerQuitDungeonRspOuterClass {
}
/**
* <pre>
* CmdId: 948
* Obf: KFAMCAGJKJA
* CmdId: 4431
* Obf: KHKEMHFADOL
* </pre>
*
* Protobuf type {@code PlayerQuitDungeonRsp}
@@ -353,10 +353,10 @@ public final class PlayerQuitDungeonRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
pointId_ = 0;
retcode_ = 0;
pointId_ = 0;
return this;
}
@@ -383,8 +383,8 @@ public final class PlayerQuitDungeonRspOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp buildPartial() {
emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp result = new emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp(this);
result.pointId_ = pointId_;
result.retcode_ = retcode_;
result.pointId_ = pointId_;
onBuilt();
return result;
}
@@ -433,12 +433,12 @@ public final class PlayerQuitDungeonRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp other) {
if (other == emu.grasscutter.net.proto.PlayerQuitDungeonRspOuterClass.PlayerQuitDungeonRsp.getDefaultInstance()) return this;
if (other.getPointId() != 0) {
setPointId(other.getPointId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getPointId() != 0) {
setPointId(other.getPointId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -468,40 +468,9 @@ public final class PlayerQuitDungeonRspOuterClass {
return this;
}
private int pointId_ ;
/**
* <code>uint32 point_id = 2;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
/**
* <code>uint32 point_id = 2;</code>
* @param value The pointId to set.
* @return This builder for chaining.
*/
public Builder setPointId(int value) {
pointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 point_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearPointId() {
pointId_ = 0;
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 8;</code>
* @return The retcode.
*/
@java.lang.Override
@@ -509,7 +478,7 @@ public final class PlayerQuitDungeonRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 8;</code>
* @param value The retcode to set.
* @return This builder for chaining.
*/
@@ -520,7 +489,7 @@ public final class PlayerQuitDungeonRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 4;</code>
* <code>int32 retcode = 8;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
@@ -529,6 +498,37 @@ public final class PlayerQuitDungeonRspOuterClass {
onChanged();
return this;
}
private int pointId_ ;
/**
* <code>uint32 point_id = 13;</code>
* @return The pointId.
*/
@java.lang.Override
public int getPointId() {
return pointId_;
}
/**
* <code>uint32 point_id = 13;</code>
* @param value The pointId to set.
* @return This builder for chaining.
*/
public Builder setPointId(int value) {
pointId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 point_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearPointId() {
pointId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -597,8 +597,8 @@ public final class PlayerQuitDungeonRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\032PlayerQuitDungeonRsp.proto\"9\n\024PlayerQu" +
"itDungeonRsp\022\020\n\010point_id\030\002 \001(\r\022\017\n\007retcod" +
"e\030\004 \001(\005B\033\n\031emu.grasscutter.net.protob\006pr" +
"itDungeonRsp\022\017\n\007retcode\030\010 \001(\005\022\020\n\010point_i" +
"d\030\r \001(\rB\033\n\031emu.grasscutter.net.protob\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -610,7 +610,7 @@ public final class PlayerQuitDungeonRspOuterClass {
internal_static_PlayerQuitDungeonRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PlayerQuitDungeonRsp_descriptor,
new java.lang.String[] { "PointId", "Retcode", });
new java.lang.String[] { "Retcode", "PointId", });
}
// @@protoc_insertion_point(outer_class_scope)