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,27 +19,27 @@ public final class ResinChangeNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 curBuyCount = 1;</code>
* <code>uint32 cur_buy_count = 3;</code>
* @return The curBuyCount.
*/
int getCurBuyCount();
/**
* <code>uint32 nextAddTimestamp = 11;</code>
* <code>uint32 next_add_timestamp = 6;</code>
* @return The nextAddTimestamp.
*/
int getNextAddTimestamp();
/**
* <code>uint32 cur_value = 8;</code>
* <code>uint32 cur_value = 7;</code>
* @return The curValue.
*/
int getCurValue();
}
/**
* <pre>
* CmdId: 612
* Obf: GNHJPFEHCEB
* CmdId: 21937
* Obf: POKGPJBGPLM
* </pre>
*
* Protobuf type {@code ResinChangeNotify}
@@ -86,21 +86,21 @@ public final class ResinChangeNotifyOuterClass {
case 0:
done = true;
break;
case 8: {
case 24: {
curBuyCount_ = input.readUInt32();
break;
}
case 64: {
curValue_ = input.readUInt32();
break;
}
case 88: {
case 48: {
nextAddTimestamp_ = input.readUInt32();
break;
}
case 56: {
curValue_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -133,10 +133,10 @@ public final class ResinChangeNotifyOuterClass {
emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.class, emu.grasscutter.net.proto.ResinChangeNotifyOuterClass.ResinChangeNotify.Builder.class);
}
public static final int CURBUYCOUNT_FIELD_NUMBER = 1;
public static final int CUR_BUY_COUNT_FIELD_NUMBER = 3;
private int curBuyCount_;
/**
* <code>uint32 curBuyCount = 1;</code>
* <code>uint32 cur_buy_count = 3;</code>
* @return The curBuyCount.
*/
@java.lang.Override
@@ -144,10 +144,10 @@ public final class ResinChangeNotifyOuterClass {
return curBuyCount_;
}
public static final int NEXTADDTIMESTAMP_FIELD_NUMBER = 11;
public static final int NEXT_ADD_TIMESTAMP_FIELD_NUMBER = 6;
private int nextAddTimestamp_;
/**
* <code>uint32 nextAddTimestamp = 11;</code>
* <code>uint32 next_add_timestamp = 6;</code>
* @return The nextAddTimestamp.
*/
@java.lang.Override
@@ -155,10 +155,10 @@ public final class ResinChangeNotifyOuterClass {
return nextAddTimestamp_;
}
public static final int CUR_VALUE_FIELD_NUMBER = 8;
public static final int CUR_VALUE_FIELD_NUMBER = 7;
private int curValue_;
/**
* <code>uint32 cur_value = 8;</code>
* <code>uint32 cur_value = 7;</code>
* @return The curValue.
*/
@java.lang.Override
@@ -181,13 +181,13 @@ public final class ResinChangeNotifyOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (curBuyCount_ != 0) {
output.writeUInt32(1, curBuyCount_);
}
if (curValue_ != 0) {
output.writeUInt32(8, curValue_);
output.writeUInt32(3, curBuyCount_);
}
if (nextAddTimestamp_ != 0) {
output.writeUInt32(11, nextAddTimestamp_);
output.writeUInt32(6, nextAddTimestamp_);
}
if (curValue_ != 0) {
output.writeUInt32(7, curValue_);
}
unknownFields.writeTo(output);
}
@@ -200,15 +200,15 @@ public final class ResinChangeNotifyOuterClass {
size = 0;
if (curBuyCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, curBuyCount_);
}
if (curValue_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(8, curValue_);
.computeUInt32Size(3, curBuyCount_);
}
if (nextAddTimestamp_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, nextAddTimestamp_);
.computeUInt32Size(6, nextAddTimestamp_);
}
if (curValue_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, curValue_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -242,9 +242,9 @@ public final class ResinChangeNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CURBUYCOUNT_FIELD_NUMBER;
hash = (37 * hash) + CUR_BUY_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCurBuyCount();
hash = (37 * hash) + NEXTADDTIMESTAMP_FIELD_NUMBER;
hash = (37 * hash) + NEXT_ADD_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getNextAddTimestamp();
hash = (37 * hash) + CUR_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getCurValue();
@@ -345,8 +345,8 @@ public final class ResinChangeNotifyOuterClass {
}
/**
* <pre>
* CmdId: 612
* Obf: GNHJPFEHCEB
* CmdId: 21937
* Obf: POKGPJBGPLM
* </pre>
*
* Protobuf type {@code ResinChangeNotify}
@@ -509,7 +509,7 @@ public final class ResinChangeNotifyOuterClass {
private int curBuyCount_ ;
/**
* <code>uint32 curBuyCount = 1;</code>
* <code>uint32 cur_buy_count = 3;</code>
* @return The curBuyCount.
*/
@java.lang.Override
@@ -517,7 +517,7 @@ public final class ResinChangeNotifyOuterClass {
return curBuyCount_;
}
/**
* <code>uint32 curBuyCount = 1;</code>
* <code>uint32 cur_buy_count = 3;</code>
* @param value The curBuyCount to set.
* @return This builder for chaining.
*/
@@ -528,7 +528,7 @@ public final class ResinChangeNotifyOuterClass {
return this;
}
/**
* <code>uint32 curBuyCount = 1;</code>
* <code>uint32 cur_buy_count = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCurBuyCount() {
@@ -540,7 +540,7 @@ public final class ResinChangeNotifyOuterClass {
private int nextAddTimestamp_ ;
/**
* <code>uint32 nextAddTimestamp = 11;</code>
* <code>uint32 next_add_timestamp = 6;</code>
* @return The nextAddTimestamp.
*/
@java.lang.Override
@@ -548,7 +548,7 @@ public final class ResinChangeNotifyOuterClass {
return nextAddTimestamp_;
}
/**
* <code>uint32 nextAddTimestamp = 11;</code>
* <code>uint32 next_add_timestamp = 6;</code>
* @param value The nextAddTimestamp to set.
* @return This builder for chaining.
*/
@@ -559,7 +559,7 @@ public final class ResinChangeNotifyOuterClass {
return this;
}
/**
* <code>uint32 nextAddTimestamp = 11;</code>
* <code>uint32 next_add_timestamp = 6;</code>
* @return This builder for chaining.
*/
public Builder clearNextAddTimestamp() {
@@ -571,7 +571,7 @@ public final class ResinChangeNotifyOuterClass {
private int curValue_ ;
/**
* <code>uint32 cur_value = 8;</code>
* <code>uint32 cur_value = 7;</code>
* @return The curValue.
*/
@java.lang.Override
@@ -579,7 +579,7 @@ public final class ResinChangeNotifyOuterClass {
return curValue_;
}
/**
* <code>uint32 cur_value = 8;</code>
* <code>uint32 cur_value = 7;</code>
* @param value The curValue to set.
* @return This builder for chaining.
*/
@@ -590,7 +590,7 @@ public final class ResinChangeNotifyOuterClass {
return this;
}
/**
* <code>uint32 cur_value = 8;</code>
* <code>uint32 cur_value = 7;</code>
* @return This builder for chaining.
*/
public Builder clearCurValue() {
@@ -666,10 +666,10 @@ public final class ResinChangeNotifyOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027ResinChangeNotify.proto\"U\n\021ResinChange" +
"Notify\022\023\n\013curBuyCount\030\001 \001(\r\022\030\n\020nextAddTi" +
"mestamp\030\013 \001(\r\022\021\n\tcur_value\030\010 \001(\rB\033\n\031emu." +
"grasscutter.net.protob\006proto3"
"\n\027ResinChangeNotify.proto\"Y\n\021ResinChange" +
"Notify\022\025\n\rcur_buy_count\030\003 \001(\r\022\032\n\022next_ad" +
"d_timestamp\030\006 \001(\r\022\021\n\tcur_value\030\007 \001(\rB\033\n\031" +
"emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,