Commit d575d1cc authored by Benj's avatar Benj Committed by Luke H-W
Browse files

Update 3.0 protos

parent 5db73d28
...@@ -46,7 +46,8 @@ public final class GadgetAutoPickDropInfoNotifyOuterClass { ...@@ -46,7 +46,8 @@ public final class GadgetAutoPickDropInfoNotifyOuterClass {
* <pre> * <pre>
* CmdId: 897 * CmdId: 897
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GadgetAutoPickDropInfoNotify} * Protobuf type {@code GadgetAutoPickDropInfoNotify}
...@@ -340,7 +341,8 @@ public final class GadgetAutoPickDropInfoNotifyOuterClass { ...@@ -340,7 +341,8 @@ public final class GadgetAutoPickDropInfoNotifyOuterClass {
* <pre> * <pre>
* CmdId: 897 * CmdId: 897
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GadgetAutoPickDropInfoNotify} * Protobuf type {@code GadgetAutoPickDropInfoNotify}
......
...@@ -68,7 +68,7 @@ public final class GadgetInteractReqOuterClass { ...@@ -68,7 +68,7 @@ public final class GadgetInteractReqOuterClass {
* <pre> * <pre>
* CmdId: 872 * CmdId: 872
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -477,7 +477,7 @@ public final class GadgetInteractReqOuterClass { ...@@ -477,7 +477,7 @@ public final class GadgetInteractReqOuterClass {
* <pre> * <pre>
* CmdId: 872 * CmdId: 872
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -62,7 +62,8 @@ public final class GadgetInteractRspOuterClass { ...@@ -62,7 +62,8 @@ public final class GadgetInteractRspOuterClass {
* <pre> * <pre>
* CmdId: 898 * CmdId: 898
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GadgetInteractRsp} * Protobuf type {@code GadgetInteractRsp}
...@@ -442,7 +443,8 @@ public final class GadgetInteractRspOuterClass { ...@@ -442,7 +443,8 @@ public final class GadgetInteractRspOuterClass {
* <pre> * <pre>
* CmdId: 898 * CmdId: 898
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GadgetInteractRsp} * Protobuf type {@code GadgetInteractRsp}
......
...@@ -40,7 +40,8 @@ public final class GadgetStateNotifyOuterClass { ...@@ -40,7 +40,8 @@ public final class GadgetStateNotifyOuterClass {
* <pre> * <pre>
* CmdId: 812 * CmdId: 812
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GadgetStateNotify} * Protobuf type {@code GadgetStateNotify}
...@@ -349,7 +350,8 @@ public final class GadgetStateNotifyOuterClass { ...@@ -349,7 +350,8 @@ public final class GadgetStateNotifyOuterClass {
* <pre> * <pre>
* CmdId: 812 * CmdId: 812
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GadgetStateNotify} * Protobuf type {@code GadgetStateNotify}
......
...@@ -37,9 +37,9 @@ public final class GetActivityInfoReqOuterClass { ...@@ -37,9 +37,9 @@ public final class GetActivityInfoReqOuterClass {
} }
/** /**
* <pre> * <pre>
* CmdId: 2067 * CmdId: 2095
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -347,9 +347,9 @@ public final class GetActivityInfoReqOuterClass { ...@@ -347,9 +347,9 @@ public final class GetActivityInfoReqOuterClass {
} }
/** /**
* <pre> * <pre>
* CmdId: 2067 * CmdId: 2095
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -93,7 +93,8 @@ public final class GetActivityInfoRspOuterClass { ...@@ -93,7 +93,8 @@ public final class GetActivityInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 2041 * CmdId: 2041
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetActivityInfoRsp} * Protobuf type {@code GetActivityInfoRsp}
...@@ -561,7 +562,8 @@ public final class GetActivityInfoRspOuterClass { ...@@ -561,7 +562,8 @@ public final class GetActivityInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 2041 * CmdId: 2041
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetActivityInfoRsp} * Protobuf type {@code GetActivityInfoRsp}
......
...@@ -28,7 +28,7 @@ public final class GetAllMailReqOuterClass { ...@@ -28,7 +28,7 @@ public final class GetAllMailReqOuterClass {
* <pre> * <pre>
* CmdId: 1431 * CmdId: 1431
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -284,7 +284,7 @@ public final class GetAllMailReqOuterClass { ...@@ -284,7 +284,7 @@ public final class GetAllMailReqOuterClass {
* <pre> * <pre>
* CmdId: 1431 * CmdId: 1431
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -64,7 +64,8 @@ public final class GetAllMailRspOuterClass { ...@@ -64,7 +64,8 @@ public final class GetAllMailRspOuterClass {
* <pre> * <pre>
* CmdId: 1475 * CmdId: 1475
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetAllMailRsp} * Protobuf type {@code GetAllMailRsp}
...@@ -441,7 +442,8 @@ public final class GetAllMailRspOuterClass { ...@@ -441,7 +442,8 @@ public final class GetAllMailRspOuterClass {
* <pre> * <pre>
* CmdId: 1475 * CmdId: 1475
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetAllMailRsp} * Protobuf type {@code GetAllMailRsp}
......
...@@ -45,7 +45,7 @@ public final class GetAllUnlockNameCardRspOuterClass { ...@@ -45,7 +45,7 @@ public final class GetAllUnlockNameCardRspOuterClass {
* <pre> * <pre>
* CmdId: 4094 * CmdId: 4094
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -382,7 +382,7 @@ public final class GetAllUnlockNameCardRspOuterClass { ...@@ -382,7 +382,7 @@ public final class GetAllUnlockNameCardRspOuterClass {
* <pre> * <pre>
* CmdId: 4094 * CmdId: 4094
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -46,7 +46,7 @@ public final class GetAuthkeyReqOuterClass { ...@@ -46,7 +46,7 @@ public final class GetAuthkeyReqOuterClass {
* <pre> * <pre>
* CmdId: 1490 * CmdId: 1490
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -383,7 +383,7 @@ public final class GetAuthkeyReqOuterClass { ...@@ -383,7 +383,7 @@ public final class GetAuthkeyReqOuterClass {
* <pre> * <pre>
* CmdId: 1490 * CmdId: 1490
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -76,7 +76,8 @@ public final class GetAuthkeyRspOuterClass { ...@@ -76,7 +76,8 @@ public final class GetAuthkeyRspOuterClass {
* <pre> * <pre>
* CmdId: 1473 * CmdId: 1473
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetAuthkeyRsp} * Protobuf type {@code GetAuthkeyRsp}
...@@ -549,7 +550,8 @@ public final class GetAuthkeyRspOuterClass { ...@@ -549,7 +550,8 @@ public final class GetAuthkeyRspOuterClass {
* <pre> * <pre>
* CmdId: 1473 * CmdId: 1473
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetAuthkeyRsp} * Protobuf type {@code GetAuthkeyRsp}
......
...@@ -28,7 +28,7 @@ public final class GetBattlePassProductReqOuterClass { ...@@ -28,7 +28,7 @@ public final class GetBattlePassProductReqOuterClass {
* <pre> * <pre>
* CmdId: 2644 * CmdId: 2644
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -283,7 +283,7 @@ public final class GetBattlePassProductReqOuterClass { ...@@ -283,7 +283,7 @@ public final class GetBattlePassProductReqOuterClass {
* <pre> * <pre>
* CmdId: 2644 * CmdId: 2644
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -25,16 +25,22 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -25,16 +25,22 @@ public final class GetBattlePassProductRspOuterClass {
int getRetcode(); int getRetcode();
/** /**
* <code>uint32 battle_pass_product_play_type = 2;</code> * <code>string price_tier = 6;</code>
* @return The battlePassProductPlayType. * @return The priceTier.
*/ */
int getBattlePassProductPlayType(); java.lang.String getPriceTier();
/**
* <code>string price_tier = 6;</code>
* @return The bytes for priceTier.
*/
com.google.protobuf.ByteString
getPriceTierBytes();
/** /**
* <code>uint32 cur_schedule_id = 11;</code> * <code>uint32 battle_pass_product_play_type = 2;</code>
* @return The curScheduleId. * @return The battlePassProductPlayType.
*/ */
int getCurScheduleId(); int getBattlePassProductPlayType();
/** /**
* <code>string product_id = 1;</code> * <code>string product_id = 1;</code>
...@@ -49,22 +55,17 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -49,22 +55,17 @@ public final class GetBattlePassProductRspOuterClass {
getProductIdBytes(); getProductIdBytes();
/** /**
* <code>string price_tier = 6;</code> * <code>uint32 cur_schedule_id = 11;</code>
* @return The priceTier. * @return The curScheduleId.
*/
java.lang.String getPriceTier();
/**
* <code>string price_tier = 6;</code>
* @return The bytes for priceTier.
*/ */
com.google.protobuf.ByteString int getCurScheduleId();
getPriceTierBytes();
} }
/** /**
* <pre> * <pre>
* CmdId: 2649 * CmdId: 2649
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetBattlePassProductRsp} * Protobuf type {@code GetBattlePassProductRsp}
...@@ -79,8 +80,8 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -79,8 +80,8 @@ public final class GetBattlePassProductRspOuterClass {
super(builder); super(builder);
} }
private GetBattlePassProductRsp() { private GetBattlePassProductRsp() {
productId_ = "";
priceTier_ = ""; priceTier_ = "";
productId_ = "";
} }
@java.lang.Override @java.lang.Override
...@@ -183,6 +184,44 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -183,6 +184,44 @@ public final class GetBattlePassProductRspOuterClass {
return retcode_; return retcode_;
} }
public static final int PRICE_TIER_FIELD_NUMBER = 6;
private volatile java.lang.Object priceTier_;
/**
* <code>string price_tier = 6;</code>
* @return The priceTier.
*/
@java.lang.Override
public java.lang.String getPriceTier() {
java.lang.Object ref = priceTier_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
priceTier_ = s;
return s;
}
}
/**
* <code>string price_tier = 6;</code>
* @return The bytes for priceTier.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPriceTierBytes() {
java.lang.Object ref = priceTier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
priceTier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BATTLE_PASS_PRODUCT_PLAY_TYPE_FIELD_NUMBER = 2; public static final int BATTLE_PASS_PRODUCT_PLAY_TYPE_FIELD_NUMBER = 2;
private int battlePassProductPlayType_; private int battlePassProductPlayType_;
/** /**
...@@ -194,17 +233,6 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -194,17 +233,6 @@ public final class GetBattlePassProductRspOuterClass {
return battlePassProductPlayType_; return battlePassProductPlayType_;
} }
public static final int CUR_SCHEDULE_ID_FIELD_NUMBER = 11;
private int curScheduleId_;
/**
* <code>uint32 cur_schedule_id = 11;</code>
* @return The curScheduleId.
*/
@java.lang.Override
public int getCurScheduleId() {
return curScheduleId_;
}
public static final int PRODUCT_ID_FIELD_NUMBER = 1; public static final int PRODUCT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object productId_; private volatile java.lang.Object productId_;
/** /**
...@@ -243,42 +271,15 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -243,42 +271,15 @@ public final class GetBattlePassProductRspOuterClass {
} }
} }
public static final int PRICE_TIER_FIELD_NUMBER = 6; public static final int CUR_SCHEDULE_ID_FIELD_NUMBER = 11;
private volatile java.lang.Object priceTier_; private int curScheduleId_;
/**
* <code>string price_tier = 6;</code>
* @return The priceTier.
*/
@java.lang.Override
public java.lang.String getPriceTier() {
java.lang.Object ref = priceTier_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
priceTier_ = s;
return s;
}
}
/** /**
* <code>string price_tier = 6;</code> * <code>uint32 cur_schedule_id = 11;</code>
* @return The bytes for priceTier. * @return The curScheduleId.
*/ */
@java.lang.Override @java.lang.Override
public com.google.protobuf.ByteString public int getCurScheduleId() {
getPriceTierBytes() { return curScheduleId_;
java.lang.Object ref = priceTier_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
priceTier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
...@@ -354,14 +355,14 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -354,14 +355,14 @@ public final class GetBattlePassProductRspOuterClass {
if (getRetcode() if (getRetcode()
!= other.getRetcode()) return false; != other.getRetcode()) return false;
if (!getPriceTier()
.equals(other.getPriceTier())) return false;
if (getBattlePassProductPlayType() if (getBattlePassProductPlayType()
!= other.getBattlePassProductPlayType()) return false; != other.getBattlePassProductPlayType()) return false;
if (getCurScheduleId()
!= other.getCurScheduleId()) return false;
if (!getProductId() if (!getProductId()
.equals(other.getProductId())) return false; .equals(other.getProductId())) return false;
if (!getPriceTier() if (getCurScheduleId()
.equals(other.getPriceTier())) return false; != other.getCurScheduleId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
...@@ -375,14 +376,14 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -375,14 +376,14 @@ public final class GetBattlePassProductRspOuterClass {
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RETCODE_FIELD_NUMBER; hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode(); hash = (53 * hash) + getRetcode();
hash = (37 * hash) + PRICE_TIER_FIELD_NUMBER;
hash = (53 * hash) + getPriceTier().hashCode();
hash = (37 * hash) + BATTLE_PASS_PRODUCT_PLAY_TYPE_FIELD_NUMBER; hash = (37 * hash) + BATTLE_PASS_PRODUCT_PLAY_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getBattlePassProductPlayType(); hash = (53 * hash) + getBattlePassProductPlayType();
hash = (37 * hash) + CUR_SCHEDULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCurScheduleId();
hash = (37 * hash) + PRODUCT_ID_FIELD_NUMBER; hash = (37 * hash) + PRODUCT_ID_FIELD_NUMBER;
hash = (53 * hash) + getProductId().hashCode(); hash = (53 * hash) + getProductId().hashCode();
hash = (37 * hash) + PRICE_TIER_FIELD_NUMBER; hash = (37 * hash) + CUR_SCHEDULE_ID_FIELD_NUMBER;
hash = (53 * hash) + getPriceTier().hashCode(); hash = (53 * hash) + getCurScheduleId();
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
...@@ -482,7 +483,8 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -482,7 +483,8 @@ public final class GetBattlePassProductRspOuterClass {
* <pre> * <pre>
* CmdId: 2649 * CmdId: 2649
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetBattlePassProductRsp} * Protobuf type {@code GetBattlePassProductRsp}
...@@ -524,13 +526,13 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -524,13 +526,13 @@ public final class GetBattlePassProductRspOuterClass {
super.clear(); super.clear();
retcode_ = 0; retcode_ = 0;
battlePassProductPlayType_ = 0; priceTier_ = "";
curScheduleId_ = 0; battlePassProductPlayType_ = 0;
productId_ = ""; productId_ = "";
priceTier_ = ""; curScheduleId_ = 0;
return this; return this;
} }
...@@ -559,10 +561,10 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -559,10 +561,10 @@ public final class GetBattlePassProductRspOuterClass {
public emu.grasscutter.net.proto.GetBattlePassProductRspOuterClass.GetBattlePassProductRsp buildPartial() { public emu.grasscutter.net.proto.GetBattlePassProductRspOuterClass.GetBattlePassProductRsp buildPartial() {
emu.grasscutter.net.proto.GetBattlePassProductRspOuterClass.GetBattlePassProductRsp result = new emu.grasscutter.net.proto.GetBattlePassProductRspOuterClass.GetBattlePassProductRsp(this); emu.grasscutter.net.proto.GetBattlePassProductRspOuterClass.GetBattlePassProductRsp result = new emu.grasscutter.net.proto.GetBattlePassProductRspOuterClass.GetBattlePassProductRsp(this);
result.retcode_ = retcode_; result.retcode_ = retcode_;
result.priceTier_ = priceTier_;
result.battlePassProductPlayType_ = battlePassProductPlayType_; result.battlePassProductPlayType_ = battlePassProductPlayType_;
result.curScheduleId_ = curScheduleId_;
result.productId_ = productId_; result.productId_ = productId_;
result.priceTier_ = priceTier_; result.curScheduleId_ = curScheduleId_;
onBuilt(); onBuilt();
return result; return result;
} }
...@@ -614,19 +616,19 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -614,19 +616,19 @@ public final class GetBattlePassProductRspOuterClass {
if (other.getRetcode() != 0) { if (other.getRetcode() != 0) {
setRetcode(other.getRetcode()); setRetcode(other.getRetcode());
} }
if (!other.getPriceTier().isEmpty()) {
priceTier_ = other.priceTier_;
onChanged();
}
if (other.getBattlePassProductPlayType() != 0) { if (other.getBattlePassProductPlayType() != 0) {
setBattlePassProductPlayType(other.getBattlePassProductPlayType()); setBattlePassProductPlayType(other.getBattlePassProductPlayType());
} }
if (other.getCurScheduleId() != 0) {
setCurScheduleId(other.getCurScheduleId());
}
if (!other.getProductId().isEmpty()) { if (!other.getProductId().isEmpty()) {
productId_ = other.productId_; productId_ = other.productId_;
onChanged(); onChanged();
} }
if (!other.getPriceTier().isEmpty()) { if (other.getCurScheduleId() != 0) {
priceTier_ = other.priceTier_; setCurScheduleId(other.getCurScheduleId());
onChanged();
} }
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
...@@ -688,64 +690,109 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -688,64 +690,109 @@ public final class GetBattlePassProductRspOuterClass {
return this; return this;
} }
private int battlePassProductPlayType_ ; private java.lang.Object priceTier_ = "";
/** /**
* <code>uint32 battle_pass_product_play_type = 2;</code> * <code>string price_tier = 6;</code>
* @return The battlePassProductPlayType. * @return The priceTier.
*/ */
@java.lang.Override public java.lang.String getPriceTier() {
public int getBattlePassProductPlayType() { java.lang.Object ref = priceTier_;
return battlePassProductPlayType_; if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
priceTier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
} }
/** /**
* <code>uint32 battle_pass_product_play_type = 2;</code> * <code>string price_tier = 6;</code>
* @param value The battlePassProductPlayType to set. * @return The bytes for priceTier.
*/
public com.google.protobuf.ByteString
getPriceTierBytes() {
java.lang.Object ref = priceTier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
priceTier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>string price_tier = 6;</code>
* @param value The priceTier to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setBattlePassProductPlayType(int value) { public Builder setPriceTier(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
priceTier_ = value;
onChanged();
return this;
}
/**
* <code>string price_tier = 6;</code>
* @return This builder for chaining.
*/
public Builder clearPriceTier() {
battlePassProductPlayType_ = value; priceTier_ = getDefaultInstance().getPriceTier();
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>uint32 battle_pass_product_play_type = 2;</code> * <code>string price_tier = 6;</code>
* @param value The bytes for priceTier to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearBattlePassProductPlayType() { public Builder setPriceTierBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
battlePassProductPlayType_ = 0; priceTier_ = value;
onChanged(); onChanged();
return this; return this;
} }
private int curScheduleId_ ; private int battlePassProductPlayType_ ;
/** /**
* <code>uint32 cur_schedule_id = 11;</code> * <code>uint32 battle_pass_product_play_type = 2;</code>
* @return The curScheduleId. * @return The battlePassProductPlayType.
*/ */
@java.lang.Override @java.lang.Override
public int getCurScheduleId() { public int getBattlePassProductPlayType() {
return curScheduleId_; return battlePassProductPlayType_;
} }
/** /**
* <code>uint32 cur_schedule_id = 11;</code> * <code>uint32 battle_pass_product_play_type = 2;</code>
* @param value The curScheduleId to set. * @param value The battlePassProductPlayType to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setCurScheduleId(int value) { public Builder setBattlePassProductPlayType(int value) {
curScheduleId_ = value; battlePassProductPlayType_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>uint32 cur_schedule_id = 11;</code> * <code>uint32 battle_pass_product_play_type = 2;</code>
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearCurScheduleId() { public Builder clearBattlePassProductPlayType() {
curScheduleId_ = 0; battlePassProductPlayType_ = 0;
onChanged(); onChanged();
return this; return this;
} }
...@@ -826,78 +873,33 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -826,78 +873,33 @@ public final class GetBattlePassProductRspOuterClass {
return this; return this;
} }
private java.lang.Object priceTier_ = ""; private int curScheduleId_ ;
/**
* <code>string price_tier = 6;</code>
* @return The priceTier.
*/
public java.lang.String getPriceTier() {
java.lang.Object ref = priceTier_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
priceTier_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>string price_tier = 6;</code>
* @return The bytes for priceTier.
*/
public com.google.protobuf.ByteString
getPriceTierBytes() {
java.lang.Object ref = priceTier_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
priceTier_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/** /**
* <code>string price_tier = 6;</code> * <code>uint32 cur_schedule_id = 11;</code>
* @param value The priceTier to set. * @return The curScheduleId.
* @return This builder for chaining.
*/ */
public Builder setPriceTier( @java.lang.Override
java.lang.String value) { public int getCurScheduleId() {
if (value == null) { return curScheduleId_;
throw new NullPointerException();
}
priceTier_ = value;
onChanged();
return this;
} }
/** /**
* <code>string price_tier = 6;</code> * <code>uint32 cur_schedule_id = 11;</code>
* @param value The curScheduleId to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearPriceTier() { public Builder setCurScheduleId(int value) {
priceTier_ = getDefaultInstance().getPriceTier(); curScheduleId_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>string price_tier = 6;</code> * <code>uint32 cur_schedule_id = 11;</code>
* @param value The bytes for priceTier to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setPriceTierBytes( public Builder clearCurScheduleId() {
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
priceTier_ = value; curScheduleId_ = 0;
onChanged(); onChanged();
return this; return this;
} }
...@@ -969,10 +971,10 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -969,10 +971,10 @@ public final class GetBattlePassProductRspOuterClass {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\035GetBattlePassProductRsp.proto\"\222\001\n\027GetB" + "\n\035GetBattlePassProductRsp.proto\"\222\001\n\027GetB" +
"attlePassProductRsp\022\017\n\007retcode\030\016 \001(\005\022%\n\035" + "attlePassProductRsp\022\017\n\007retcode\030\016 \001(\005\022\022\n\n" +
"battle_pass_product_play_type\030\002 \001(\r\022\027\n\017c" + "price_tier\030\006 \001(\t\022%\n\035battle_pass_product_" +
"ur_schedule_id\030\013 \001(\r\022\022\n\nproduct_id\030\001 \001(\t" + "play_type\030\002 \001(\r\022\022\n\nproduct_id\030\001 \001(\t\022\027\n\017c" +
"\022\022\n\nprice_tier\030\006 \001(\tB\033\n\031emu.grasscutter." + "ur_schedule_id\030\013 \001(\rB\033\n\031emu.grasscutter." +
"net.protob\006proto3" "net.protob\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
...@@ -984,7 +986,7 @@ public final class GetBattlePassProductRspOuterClass { ...@@ -984,7 +986,7 @@ public final class GetBattlePassProductRspOuterClass {
internal_static_GetBattlePassProductRsp_fieldAccessorTable = new internal_static_GetBattlePassProductRsp_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GetBattlePassProductRsp_descriptor, internal_static_GetBattlePassProductRsp_descriptor,
new java.lang.String[] { "Retcode", "BattlePassProductPlayType", "CurScheduleId", "ProductId", "PriceTier", }); new java.lang.String[] { "Retcode", "PriceTier", "BattlePassProductPlayType", "ProductId", "CurScheduleId", });
} }
// @@protoc_insertion_point(outer_class_scope) // @@protoc_insertion_point(outer_class_scope)
......
...@@ -28,7 +28,7 @@ public final class GetDailyDungeonEntryInfoReqOuterClass { ...@@ -28,7 +28,7 @@ public final class GetDailyDungeonEntryInfoReqOuterClass {
* <pre> * <pre>
* CmdId: 930 * CmdId: 930
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -283,7 +283,7 @@ public final class GetDailyDungeonEntryInfoReqOuterClass { ...@@ -283,7 +283,7 @@ public final class GetDailyDungeonEntryInfoReqOuterClass {
* <pre> * <pre>
* CmdId: 930 * CmdId: 930
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -52,7 +52,8 @@ public final class GetDailyDungeonEntryInfoRspOuterClass { ...@@ -52,7 +52,8 @@ public final class GetDailyDungeonEntryInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 967 * CmdId: 967
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetDailyDungeonEntryInfoRsp} * Protobuf type {@code GetDailyDungeonEntryInfoRsp}
...@@ -373,7 +374,8 @@ public final class GetDailyDungeonEntryInfoRspOuterClass { ...@@ -373,7 +374,8 @@ public final class GetDailyDungeonEntryInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 967 * CmdId: 967
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetDailyDungeonEntryInfoRsp} * Protobuf type {@code GetDailyDungeonEntryInfoRsp}
......
...@@ -28,7 +28,7 @@ public final class GetFriendShowAvatarInfoReqOuterClass { ...@@ -28,7 +28,7 @@ public final class GetFriendShowAvatarInfoReqOuterClass {
* <pre> * <pre>
* CmdId: 4070 * CmdId: 4070
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -283,7 +283,7 @@ public final class GetFriendShowAvatarInfoReqOuterClass { ...@@ -283,7 +283,7 @@ public final class GetFriendShowAvatarInfoReqOuterClass {
* <pre> * <pre>
* CmdId: 4070 * CmdId: 4070
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -58,7 +58,8 @@ public final class GetFriendShowAvatarInfoRspOuterClass { ...@@ -58,7 +58,8 @@ public final class GetFriendShowAvatarInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 4017 * CmdId: 4017
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetFriendShowAvatarInfoRsp} * Protobuf type {@code GetFriendShowAvatarInfoRsp}
...@@ -406,7 +407,8 @@ public final class GetFriendShowAvatarInfoRspOuterClass { ...@@ -406,7 +407,8 @@ public final class GetFriendShowAvatarInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 4017 * CmdId: 4017
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetFriendShowAvatarInfoRsp} * Protobuf type {@code GetFriendShowAvatarInfoRsp}
......
...@@ -22,7 +22,7 @@ public final class GetFurnitureCurModuleArrangeCountReqOuterClass { ...@@ -22,7 +22,7 @@ public final class GetFurnitureCurModuleArrangeCountReqOuterClass {
* <pre> * <pre>
* CmdId: 4711 * CmdId: 4711
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -250,7 +250,7 @@ public final class GetFurnitureCurModuleArrangeCountReqOuterClass { ...@@ -250,7 +250,7 @@ public final class GetFurnitureCurModuleArrangeCountReqOuterClass {
* <pre> * <pre>
* CmdId: 4711 * CmdId: 4711
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -70,7 +70,8 @@ public final class GetGachaInfoRspOuterClass { ...@@ -70,7 +70,8 @@ public final class GetGachaInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 1598 * CmdId: 1598
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetGachaInfoRsp} * Protobuf type {@code GetGachaInfoRsp}
...@@ -473,7 +474,8 @@ public final class GetGachaInfoRspOuterClass { ...@@ -473,7 +474,8 @@ public final class GetGachaInfoRspOuterClass {
* <pre> * <pre>
* CmdId: 1598 * CmdId: 1598
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code GetGachaInfoRsp} * Protobuf type {@code GetGachaInfoRsp}
......
...@@ -45,7 +45,7 @@ public final class GetInvestigationMonsterReqOuterClass { ...@@ -45,7 +45,7 @@ public final class GetInvestigationMonsterReqOuterClass {
* <pre> * <pre>
* CmdId: 1901 * CmdId: 1901
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -383,7 +383,7 @@ public final class GetInvestigationMonsterReqOuterClass { ...@@ -383,7 +383,7 @@ public final class GetInvestigationMonsterReqOuterClass {
* <pre> * <pre>
* CmdId: 1901 * CmdId: 1901
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment