mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 23:41:17 +08:00
Update 3.0 protos
This commit is contained in:
committed by
Luke H-W
Unverified
parent
5db73d2849
commit
d575d1ccea
@@ -19,10 +19,10 @@ public final class PlayerCookReqOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* @return The recipeId.
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return The cookCount.
|
||||
*/
|
||||
int getRecipeId();
|
||||
int getCookCount();
|
||||
|
||||
/**
|
||||
* <code>uint32 qte_quality = 12;</code>
|
||||
@@ -30,23 +30,23 @@ public final class PlayerCookReqOuterClass {
|
||||
*/
|
||||
int getQteQuality();
|
||||
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* @return The recipeId.
|
||||
*/
|
||||
int getRecipeId();
|
||||
|
||||
/**
|
||||
* <code>uint32 assist_avatar = 14;</code>
|
||||
* @return The assistAvatar.
|
||||
*/
|
||||
int getAssistAvatar();
|
||||
|
||||
/**
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return The cookCount.
|
||||
*/
|
||||
int getCookCount();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 194
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
@@ -146,15 +146,15 @@ public final class PlayerCookReqOuterClass {
|
||||
emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq.class, emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq.Builder.class);
|
||||
}
|
||||
|
||||
public static final int RECIPE_ID_FIELD_NUMBER = 8;
|
||||
private int recipeId_;
|
||||
public static final int COOK_COUNT_FIELD_NUMBER = 1;
|
||||
private int cookCount_;
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* @return The recipeId.
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return The cookCount.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRecipeId() {
|
||||
return recipeId_;
|
||||
public int getCookCount() {
|
||||
return cookCount_;
|
||||
}
|
||||
|
||||
public static final int QTE_QUALITY_FIELD_NUMBER = 12;
|
||||
@@ -168,6 +168,17 @@ public final class PlayerCookReqOuterClass {
|
||||
return qteQuality_;
|
||||
}
|
||||
|
||||
public static final int RECIPE_ID_FIELD_NUMBER = 8;
|
||||
private int recipeId_;
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* @return The recipeId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRecipeId() {
|
||||
return recipeId_;
|
||||
}
|
||||
|
||||
public static final int ASSIST_AVATAR_FIELD_NUMBER = 14;
|
||||
private int assistAvatar_;
|
||||
/**
|
||||
@@ -179,17 +190,6 @@ public final class PlayerCookReqOuterClass {
|
||||
return assistAvatar_;
|
||||
}
|
||||
|
||||
public static final int COOK_COUNT_FIELD_NUMBER = 1;
|
||||
private int cookCount_;
|
||||
/**
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return The cookCount.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCookCount() {
|
||||
return cookCount_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -256,14 +256,14 @@ public final class PlayerCookReqOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq other = (emu.grasscutter.net.proto.PlayerCookReqOuterClass.PlayerCookReq) obj;
|
||||
|
||||
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 (getQteQuality()
|
||||
!= other.getQteQuality()) return false;
|
||||
if (getRecipeId()
|
||||
!= other.getRecipeId()) return false;
|
||||
if (getAssistAvatar()
|
||||
!= other.getAssistAvatar()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -275,14 +275,14 @@ public final class PlayerCookReqOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
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) + QTE_QUALITY_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getQteQuality();
|
||||
hash = (37 * hash) + RECIPE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getRecipeId();
|
||||
hash = (37 * hash) + ASSIST_AVATAR_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getAssistAvatar();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -382,7 +382,7 @@ public final class PlayerCookReqOuterClass {
|
||||
* <pre>
|
||||
* CmdId: 194
|
||||
* EnetChannelId: 0
|
||||
* EnetIsReliable: true
|
||||
* EnetIsReliable: false
|
||||
* IsAllowClient: true
|
||||
* </pre>
|
||||
*
|
||||
@@ -423,13 +423,13 @@ public final class PlayerCookReqOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
recipeId_ = 0;
|
||||
cookCount_ = 0;
|
||||
|
||||
qteQuality_ = 0;
|
||||
|
||||
assistAvatar_ = 0;
|
||||
recipeId_ = 0;
|
||||
|
||||
cookCount_ = 0;
|
||||
assistAvatar_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
@@ -457,10 +457,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.recipeId_ = recipeId_;
|
||||
result.qteQuality_ = qteQuality_;
|
||||
result.assistAvatar_ = assistAvatar_;
|
||||
result.cookCount_ = cookCount_;
|
||||
result.qteQuality_ = qteQuality_;
|
||||
result.recipeId_ = recipeId_;
|
||||
result.assistAvatar_ = assistAvatar_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -509,18 +509,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.getRecipeId() != 0) {
|
||||
setRecipeId(other.getRecipeId());
|
||||
if (other.getCookCount() != 0) {
|
||||
setCookCount(other.getCookCount());
|
||||
}
|
||||
if (other.getQteQuality() != 0) {
|
||||
setQteQuality(other.getQteQuality());
|
||||
}
|
||||
if (other.getRecipeId() != 0) {
|
||||
setRecipeId(other.getRecipeId());
|
||||
}
|
||||
if (other.getAssistAvatar() != 0) {
|
||||
setAssistAvatar(other.getAssistAvatar());
|
||||
}
|
||||
if (other.getCookCount() != 0) {
|
||||
setCookCount(other.getCookCount());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -550,33 +550,33 @@ public final class PlayerCookReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int recipeId_ ;
|
||||
private int cookCount_ ;
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* @return The recipeId.
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return The cookCount.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRecipeId() {
|
||||
return recipeId_;
|
||||
public int getCookCount() {
|
||||
return cookCount_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* @param value The recipeId to set.
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @param value The cookCount to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setRecipeId(int value) {
|
||||
public Builder setCookCount(int value) {
|
||||
|
||||
recipeId_ = value;
|
||||
cookCount_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRecipeId() {
|
||||
public Builder clearCookCount() {
|
||||
|
||||
recipeId_ = 0;
|
||||
cookCount_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@@ -612,6 +612,37 @@ public final class PlayerCookReqOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private int recipeId_ ;
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</code>
|
||||
* @return The recipeId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getRecipeId() {
|
||||
return recipeId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 recipe_id = 8;</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 = 8;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearRecipeId() {
|
||||
|
||||
recipeId_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int assistAvatar_ ;
|
||||
/**
|
||||
* <code>uint32 assist_avatar = 14;</code>
|
||||
@@ -642,37 +673,6 @@ public final class PlayerCookReqOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private int cookCount_ ;
|
||||
/**
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return The cookCount.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getCookCount() {
|
||||
return cookCount_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @param value The cookCount to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setCookCount(int value) {
|
||||
|
||||
cookCount_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 cook_count = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearCookCount() {
|
||||
|
||||
cookCount_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -740,9 +740,9 @@ public final class PlayerCookReqOuterClass {
|
||||
descriptor;
|
||||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\023PlayerCookReq.proto\"b\n\rPlayerCookReq\022\021" +
|
||||
"\n\trecipe_id\030\010 \001(\r\022\023\n\013qte_quality\030\014 \001(\r\022\025" +
|
||||
"\n\rassist_avatar\030\016 \001(\r\022\022\n\ncook_count\030\001 \001(" +
|
||||
"\n\023PlayerCookReq.proto\"b\n\rPlayerCookReq\022\022" +
|
||||
"\n\ncook_count\030\001 \001(\r\022\023\n\013qte_quality\030\014 \001(\r\022" +
|
||||
"\021\n\trecipe_id\030\010 \001(\r\022\025\n\rassist_avatar\030\016 \001(" +
|
||||
"\rB\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -754,7 +754,7 @@ public final class PlayerCookReqOuterClass {
|
||||
internal_static_PlayerCookReq_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_PlayerCookReq_descriptor,
|
||||
new java.lang.String[] { "RecipeId", "QteQuality", "AssistAvatar", "CookCount", });
|
||||
new java.lang.String[] { "CookCount", "QteQuality", "RecipeId", "AssistAvatar", });
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(outer_class_scope)
|
||||
|
||||
Reference in New Issue
Block a user