Add support for game version 3.6 (#2110)

* Update to game version `3.6.0` (pt. 1)

not complete!

* Update to game version `3.6.0` (pt. 2)

not complete!

* Update compiled definitions
This commit is contained in:
Magix
2023-04-30 19:08:54 -07:00
committed by GitHub
Unverified
parent 60e8106b01
commit c4f1208f45
1323 changed files with 434863 additions and 141164 deletions
@@ -20,48 +20,40 @@ public final class PlayerCookReqOuterClass {
/**
* <pre>
* HHKAPMHMHFI
* AIBLNBAFJOL
* </pre>
*
* <code>uint32 cook_count = 9;</code>
* @return The cookCount.
*/
int getCookCount();
/**
* <pre>
* DIIJPMJFNOL
* </pre>
*
* <code>uint32 recipe_id = 5;</code>
* @return The recipeId.
*/
int getRecipeId();
/**
* <pre>
* IFLJGHHBGMP
* </pre>
*
* <code>uint32 qte_quality = 15;</code>
* <code>uint32 qte_quality = 13;</code>
* @return The qteQuality.
*/
int getQteQuality();
/**
* <pre>
* OMPOMKPPLEH
* </pre>
*
* <code>uint32 assist_avatar = 3;</code>
* <code>uint32 assist_avatar = 1;</code>
* @return The assistAvatar.
*/
int getAssistAvatar();
/**
* <pre>
* EHPKNEPMOAO
* </pre>
*
* <code>uint32 cook_count = 6;</code>
* @return The cookCount.
*/
int getCookCount();
/**
* <code>uint32 recipe_id = 7;</code>
* @return The recipeId.
*/
int getRecipeId();
}
/**
* <pre>
* Name: IFIIKECOADA
* CmdId: 184
* CmdId: 150
* Name: IMAKIKFJHOM
* </pre>
*
* Protobuf type {@code PlayerCookReq}
@@ -108,22 +100,22 @@ public final class PlayerCookReqOuterClass {
case 0:
done = true;
break;
case 24: {
case 8: {
assistAvatar_ = input.readUInt32();
break;
}
case 40: {
recipeId_ = input.readUInt32();
break;
}
case 72: {
case 48: {
cookCount_ = input.readUInt32();
break;
}
case 120: {
case 56: {
recipeId_ = input.readUInt32();
break;
}
case 104: {
qteQuality_ = input.readUInt32();
break;
@@ -160,44 +152,14 @@ public final class PlayerCookReqOuterClass {
emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq.class, emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq.Builder.class);
}
public static final int COOK_COUNT_FIELD_NUMBER = 9;
private int cookCount_;
/**
* <pre>
* HHKAPMHMHFI
* </pre>
*
* <code>uint32 cook_count = 9;</code>
* @return The cookCount.
*/
@java.lang.Override
public int getCookCount() {
return cookCount_;
}
public static final int RECIPE_ID_FIELD_NUMBER = 5;
private int recipeId_;
/**
* <pre>
* DIIJPMJFNOL
* </pre>
*
* <code>uint32 recipe_id = 5;</code>
* @return The recipeId.
*/
@java.lang.Override
public int getRecipeId() {
return recipeId_;
}
public static final int QTE_QUALITY_FIELD_NUMBER = 15;
public static final int QTE_QUALITY_FIELD_NUMBER = 13;
private int qteQuality_;
/**
* <pre>
* IFLJGHHBGMP
* AIBLNBAFJOL
* </pre>
*
* <code>uint32 qte_quality = 15;</code>
* <code>uint32 qte_quality = 13;</code>
* @return The qteQuality.
*/
@java.lang.Override
@@ -205,14 +167,10 @@ public final class PlayerCookReqOuterClass {
return qteQuality_;
}
public static final int ASSIST_AVATAR_FIELD_NUMBER = 3;
public static final int ASSIST_AVATAR_FIELD_NUMBER = 1;
private int assistAvatar_;
/**
* <pre>
* OMPOMKPPLEH
* </pre>
*
* <code>uint32 assist_avatar = 3;</code>
* <code>uint32 assist_avatar = 1;</code>
* @return The assistAvatar.
*/
@java.lang.Override
@@ -220,6 +178,32 @@ public final class PlayerCookReqOuterClass {
return assistAvatar_;
}
public static final int COOK_COUNT_FIELD_NUMBER = 6;
private int cookCount_;
/**
* <pre>
* EHPKNEPMOAO
* </pre>
*
* <code>uint32 cook_count = 6;</code>
* @return The cookCount.
*/
@java.lang.Override
public int getCookCount() {
return cookCount_;
}
public static final int RECIPE_ID_FIELD_NUMBER = 7;
private int recipeId_;
/**
* <code>uint32 recipe_id = 7;</code>
* @return The recipeId.
*/
@java.lang.Override
public int getRecipeId() {
return recipeId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -235,16 +219,16 @@ public final class PlayerCookReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (assistAvatar_ != 0) {
output.writeUInt32(3, assistAvatar_);
}
if (recipeId_ != 0) {
output.writeUInt32(5, recipeId_);
output.writeUInt32(1, assistAvatar_);
}
if (cookCount_ != 0) {
output.writeUInt32(9, cookCount_);
output.writeUInt32(6, cookCount_);
}
if (recipeId_ != 0) {
output.writeUInt32(7, recipeId_);
}
if (qteQuality_ != 0) {
output.writeUInt32(15, qteQuality_);
output.writeUInt32(13, qteQuality_);
}
unknownFields.writeTo(output);
}
@@ -257,19 +241,19 @@ public final class PlayerCookReqOuterClass {
size = 0;
if (assistAvatar_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, assistAvatar_);
}
if (recipeId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, recipeId_);
.computeUInt32Size(1, assistAvatar_);
}
if (cookCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, cookCount_);
.computeUInt32Size(6, cookCount_);
}
if (recipeId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(7, recipeId_);
}
if (qteQuality_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, qteQuality_);
.computeUInt32Size(13, qteQuality_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -286,14 +270,14 @@ public final class PlayerCookReqOuterClass {
}
emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq other = (emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq) obj;
if (getCookCount()
!= other.getCookCount()) return false;
if (getRecipeId()
!= other.getRecipeId()) return false;
if (getQteQuality()
!= other.getQteQuality()) return false;
if (getAssistAvatar()
!= other.getAssistAvatar()) return false;
if (getCookCount()
!= other.getCookCount()) return false;
if (getRecipeId()
!= other.getRecipeId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -305,14 +289,14 @@ public final class PlayerCookReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + COOK_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCookCount();
hash = (37 * hash) + RECIPE_ID_FIELD_NUMBER;
hash = (53 * hash) + getRecipeId();
hash = (37 * hash) + QTE_QUALITY_FIELD_NUMBER;
hash = (53 * hash) + getQteQuality();
hash = (37 * hash) + ASSIST_AVATAR_FIELD_NUMBER;
hash = (53 * hash) + getAssistAvatar();
hash = (37 * hash) + COOK_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getCookCount();
hash = (37 * hash) + RECIPE_ID_FIELD_NUMBER;
hash = (53 * hash) + getRecipeId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -410,8 +394,8 @@ public final class PlayerCookReqOuterClass {
}
/**
* <pre>
* Name: IFIIKECOADA
* CmdId: 184
* CmdId: 150
* Name: IMAKIKFJHOM
* </pre>
*
* Protobuf type {@code PlayerCookReq}
@@ -451,14 +435,14 @@ public final class PlayerCookReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
cookCount_ = 0;
recipeId_ = 0;
qteQuality_ = 0;
assistAvatar_ = 0;
cookCount_ = 0;
recipeId_ = 0;
return this;
}
@@ -485,10 +469,10 @@ public final class PlayerCookReqOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq buildPartial() {
emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq result = new emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq(this);
result.cookCount_ = cookCount_;
result.recipeId_ = recipeId_;
result.qteQuality_ = qteQuality_;
result.assistAvatar_ = assistAvatar_;
result.cookCount_ = cookCount_;
result.recipeId_ = recipeId_;
onBuilt();
return result;
}
@@ -537,18 +521,18 @@ public final class PlayerCookReqOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq other) {
if (other == emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq.getDefaultInstance()) return this;
if (other.getCookCount() != 0) {
setCookCount(other.getCookCount());
}
if (other.getRecipeId() != 0) {
setRecipeId(other.getRecipeId());
}
if (other.getQteQuality() != 0) {
setQteQuality(other.getQteQuality());
}
if (other.getAssistAvatar() != 0) {
setAssistAvatar(other.getAssistAvatar());
}
if (other.getCookCount() != 0) {
setCookCount(other.getCookCount());
}
if (other.getRecipeId() != 0) {
setRecipeId(other.getRecipeId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -578,99 +562,13 @@ public final class PlayerCookReqOuterClass {
return this;
}
private int cookCount_ ;
/**
* <pre>
* HHKAPMHMHFI
* </pre>
*
* <code>uint32 cook_count = 9;</code>
* @return The cookCount.
*/
@java.lang.Override
public int getCookCount() {
return cookCount_;
}
/**
* <pre>
* HHKAPMHMHFI
* </pre>
*
* <code>uint32 cook_count = 9;</code>
* @param value The cookCount to set.
* @return This builder for chaining.
*/
public Builder setCookCount(int value) {
cookCount_ = value;
onChanged();
return this;
}
/**
* <pre>
* HHKAPMHMHFI
* </pre>
*
* <code>uint32 cook_count = 9;</code>
* @return This builder for chaining.
*/
public Builder clearCookCount() {
cookCount_ = 0;
onChanged();
return this;
}
private int recipeId_ ;
/**
* <pre>
* DIIJPMJFNOL
* </pre>
*
* <code>uint32 recipe_id = 5;</code>
* @return The recipeId.
*/
@java.lang.Override
public int getRecipeId() {
return recipeId_;
}
/**
* <pre>
* DIIJPMJFNOL
* </pre>
*
* <code>uint32 recipe_id = 5;</code>
* @param value The recipeId to set.
* @return This builder for chaining.
*/
public Builder setRecipeId(int value) {
recipeId_ = value;
onChanged();
return this;
}
/**
* <pre>
* DIIJPMJFNOL
* </pre>
*
* <code>uint32 recipe_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearRecipeId() {
recipeId_ = 0;
onChanged();
return this;
}
private int qteQuality_ ;
/**
* <pre>
* IFLJGHHBGMP
* AIBLNBAFJOL
* </pre>
*
* <code>uint32 qte_quality = 15;</code>
* <code>uint32 qte_quality = 13;</code>
* @return The qteQuality.
*/
@java.lang.Override
@@ -679,10 +577,10 @@ public final class PlayerCookReqOuterClass {
}
/**
* <pre>
* IFLJGHHBGMP
* AIBLNBAFJOL
* </pre>
*
* <code>uint32 qte_quality = 15;</code>
* <code>uint32 qte_quality = 13;</code>
* @param value The qteQuality to set.
* @return This builder for chaining.
*/
@@ -694,10 +592,10 @@ public final class PlayerCookReqOuterClass {
}
/**
* <pre>
* IFLJGHHBGMP
* AIBLNBAFJOL
* </pre>
*
* <code>uint32 qte_quality = 15;</code>
* <code>uint32 qte_quality = 13;</code>
* @return This builder for chaining.
*/
public Builder clearQteQuality() {
@@ -709,11 +607,7 @@ public final class PlayerCookReqOuterClass {
private int assistAvatar_ ;
/**
* <pre>
* OMPOMKPPLEH
* </pre>
*
* <code>uint32 assist_avatar = 3;</code>
* <code>uint32 assist_avatar = 1;</code>
* @return The assistAvatar.
*/
@java.lang.Override
@@ -721,11 +615,7 @@ public final class PlayerCookReqOuterClass {
return assistAvatar_;
}
/**
* <pre>
* OMPOMKPPLEH
* </pre>
*
* <code>uint32 assist_avatar = 3;</code>
* <code>uint32 assist_avatar = 1;</code>
* @param value The assistAvatar to set.
* @return This builder for chaining.
*/
@@ -736,11 +626,7 @@ public final class PlayerCookReqOuterClass {
return this;
}
/**
* <pre>
* OMPOMKPPLEH
* </pre>
*
* <code>uint32 assist_avatar = 3;</code>
* <code>uint32 assist_avatar = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAssistAvatar() {
@@ -749,6 +635,80 @@ public final class PlayerCookReqOuterClass {
onChanged();
return this;
}
private int cookCount_ ;
/**
* <pre>
* EHPKNEPMOAO
* </pre>
*
* <code>uint32 cook_count = 6;</code>
* @return The cookCount.
*/
@java.lang.Override
public int getCookCount() {
return cookCount_;
}
/**
* <pre>
* EHPKNEPMOAO
* </pre>
*
* <code>uint32 cook_count = 6;</code>
* @param value The cookCount to set.
* @return This builder for chaining.
*/
public Builder setCookCount(int value) {
cookCount_ = value;
onChanged();
return this;
}
/**
* <pre>
* EHPKNEPMOAO
* </pre>
*
* <code>uint32 cook_count = 6;</code>
* @return This builder for chaining.
*/
public Builder clearCookCount() {
cookCount_ = 0;
onChanged();
return this;
}
private int recipeId_ ;
/**
* <code>uint32 recipe_id = 7;</code>
* @return The recipeId.
*/
@java.lang.Override
public int getRecipeId() {
return recipeId_;
}
/**
* <code>uint32 recipe_id = 7;</code>
* @param value The recipeId to set.
* @return This builder for chaining.
*/
public Builder setRecipeId(int value) {
recipeId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 recipe_id = 7;</code>
* @return This builder for chaining.
*/
public Builder clearRecipeId() {
recipeId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -816,9 +776,9 @@ public final class PlayerCookReqOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023PlayerCookReq.proto\"b\n\rPlayerCookReq\022\022" +
"\n\ncook_count\030\t \001(\r\022\021\n\trecipe_id\030\005 \001(\r\022\023\n" +
"\013qte_quality\030\017 \001(\r\022\025\n\rassist_avatar\030\003 \001(" +
"\n\023PlayerCookReq.proto\"b\n\rPlayerCookReq\022\023" +
"\n\013qte_quality\030\r \001(\r\022\025\n\rassist_avatar\030\001 \001" +
"(\r\022\022\n\ncook_count\030\006 \001(\r\022\021\n\trecipe_id\030\007 \001(" +
"\rB\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
@@ -830,7 +790,7 @@ public final class PlayerCookReqOuterClass {
internal_static_PlayerCookReq_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_PlayerCookReq_descriptor,
new java.lang.String[] { "CookCount", "RecipeId", "QteQuality", "AssistAvatar", });
new java.lang.String[] { "QteQuality", "AssistAvatar", "CookCount", "RecipeId", });
}
// @@protoc_insertion_point(outer_class_scope)