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,32 +19,32 @@ public final class BrickBreakerSelectSkillRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
int getRetcode();
/**
* <code>repeated uint32 skill_id = 5;</code>
* @return A list containing the skillId.
*/
java.util.List<java.lang.Integer> getSkillIdList();
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @return The count of skillId.
*/
int getSkillIdCount();
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @param index The index of the element to return.
* @return The skillId at the given index.
*/
int getSkillId(int index);
/**
* <code>int32 retcode = 7;</code>
* @return The retcode.
*/
int getRetcode();
}
/**
* <pre>
* CmdId: 5304
* Obf: FIPKHKIECEH
* CmdId: 23314
* Obf: HHGLBBHOLHB
* </pre>
*
* Protobuf type {@code BrickBreakerSelectSkillRsp}
@@ -93,7 +93,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
case 0:
done = true;
break;
case 24: {
case 40: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
skillId_ = newIntList();
mutable_bitField0_ |= 0x00000001;
@@ -101,7 +101,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
skillId_.addInt(input.readUInt32());
break;
}
case 26: {
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
@@ -114,7 +114,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
input.popLimit(limit);
break;
}
case 56: {
case 48: {
retcode_ = input.readInt32();
break;
@@ -154,10 +154,21 @@ public final class BrickBreakerSelectSkillRspOuterClass {
emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp.class, emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp.Builder.class);
}
public static final int SKILL_ID_FIELD_NUMBER = 3;
public static final int RETCODE_FIELD_NUMBER = 6;
private int retcode_;
/**
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
public static final int SKILL_ID_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.IntList skillId_;
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @return A list containing the skillId.
*/
@java.lang.Override
@@ -166,14 +177,14 @@ public final class BrickBreakerSelectSkillRspOuterClass {
return skillId_;
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @return The count of skillId.
*/
public int getSkillIdCount() {
return skillId_.size();
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @param index The index of the element to return.
* @return The skillId at the given index.
*/
@@ -182,17 +193,6 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
private int skillIdMemoizedSerializedSize = -1;
public static final int RETCODE_FIELD_NUMBER = 7;
private int retcode_;
/**
* <code>int32 retcode = 7;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -209,14 +209,14 @@ public final class BrickBreakerSelectSkillRspOuterClass {
throws java.io.IOException {
getSerializedSize();
if (getSkillIdList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(skillIdMemoizedSerializedSize);
}
for (int i = 0; i < skillId_.size(); i++) {
output.writeUInt32NoTag(skillId_.getInt(i));
}
if (retcode_ != 0) {
output.writeInt32(7, retcode_);
output.writeInt32(6, retcode_);
}
unknownFields.writeTo(output);
}
@@ -243,7 +243,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, retcode_);
.computeInt32Size(6, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -260,10 +260,10 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp other = (emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp) obj;
if (!getSkillIdList()
.equals(other.getSkillIdList())) return false;
if (getRetcode()
!= other.getRetcode()) return false;
if (!getSkillIdList()
.equals(other.getSkillIdList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -275,12 +275,12 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
if (getSkillIdCount() > 0) {
hash = (37 * hash) + SKILL_ID_FIELD_NUMBER;
hash = (53 * hash) + getSkillIdList().hashCode();
}
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -378,8 +378,8 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
/**
* <pre>
* CmdId: 5304
* Obf: FIPKHKIECEH
* CmdId: 23314
* Obf: HHGLBBHOLHB
* </pre>
*
* Protobuf type {@code BrickBreakerSelectSkillRsp}
@@ -419,10 +419,10 @@ public final class BrickBreakerSelectSkillRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
skillId_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
retcode_ = 0;
skillId_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -450,12 +450,12 @@ public final class BrickBreakerSelectSkillRspOuterClass {
public emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp buildPartial() {
emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp result = new emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp(this);
int from_bitField0_ = bitField0_;
result.retcode_ = retcode_;
if (((bitField0_ & 0x00000001) != 0)) {
skillId_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.skillId_ = skillId_;
result.retcode_ = retcode_;
onBuilt();
return result;
}
@@ -504,6 +504,9 @@ public final class BrickBreakerSelectSkillRspOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp other) {
if (other == emu.grasscutter.net.proto.BrickBreakerSelectSkillRspOuterClass.BrickBreakerSelectSkillRsp.getDefaultInstance()) return this;
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (!other.skillId_.isEmpty()) {
if (skillId_.isEmpty()) {
skillId_ = other.skillId_;
@@ -514,9 +517,6 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
onChanged();
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -547,6 +547,37 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
private int bitField0_;
private int retcode_ ;
/**
* <code>int32 retcode = 6;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 6;</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 = 6;</code>
* @return This builder for chaining.
*/
public Builder clearRetcode() {
retcode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList skillId_ = emptyIntList();
private void ensureSkillIdIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
@@ -555,7 +586,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
}
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @return A list containing the skillId.
*/
public java.util.List<java.lang.Integer>
@@ -564,14 +595,14 @@ public final class BrickBreakerSelectSkillRspOuterClass {
java.util.Collections.unmodifiableList(skillId_) : skillId_;
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @return The count of skillId.
*/
public int getSkillIdCount() {
return skillId_.size();
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @param index The index of the element to return.
* @return The skillId at the given index.
*/
@@ -579,7 +610,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
return skillId_.getInt(index);
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @param index The index to set the value at.
* @param value The skillId to set.
* @return This builder for chaining.
@@ -592,7 +623,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
return this;
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @param value The skillId to add.
* @return This builder for chaining.
*/
@@ -603,7 +634,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
return this;
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @param values The skillId to add.
* @return This builder for chaining.
*/
@@ -616,7 +647,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
return this;
}
/**
* <code>repeated uint32 skill_id = 3;</code>
* <code>repeated uint32 skill_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSkillId() {
@@ -625,37 +656,6 @@ public final class BrickBreakerSelectSkillRspOuterClass {
onChanged();
return this;
}
private int retcode_ ;
/**
* <code>int32 retcode = 7;</code>
* @return The retcode.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
}
/**
* <code>int32 retcode = 7;</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 = 7;</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) {
@@ -724,8 +724,8 @@ public final class BrickBreakerSelectSkillRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n BrickBreakerSelectSkillRsp.proto\"?\n\032Br" +
"ickBreakerSelectSkillRsp\022\020\n\010skill_id\030\003 \003" +
"(\r\022\017\n\007retcode\030\007 \001(\005B\033\n\031emu.grasscutter.n" +
"ickBreakerSelectSkillRsp\022\017\n\007retcode\030\006 \001(" +
"\005\022\020\n\010skill_id\030\005 \003(\rB\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -737,7 +737,7 @@ public final class BrickBreakerSelectSkillRspOuterClass {
internal_static_BrickBreakerSelectSkillRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_BrickBreakerSelectSkillRsp_descriptor,
new java.lang.String[] { "SkillId", "Retcode", });
new java.lang.String[] { "Retcode", "SkillId", });
}
// @@protoc_insertion_point(outer_class_scope)