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

Update 3.0 protos

parent 5db73d28
...@@ -58,7 +58,8 @@ public final class CalcWeaponUpgradeReturnItemsRspOuterClass { ...@@ -58,7 +58,8 @@ public final class CalcWeaponUpgradeReturnItemsRspOuterClass {
* <pre> * <pre>
* CmdId: 684 * CmdId: 684
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CalcWeaponUpgradeReturnItemsRsp} * Protobuf type {@code CalcWeaponUpgradeReturnItemsRsp}
...@@ -407,7 +408,8 @@ public final class CalcWeaponUpgradeReturnItemsRspOuterClass { ...@@ -407,7 +408,8 @@ public final class CalcWeaponUpgradeReturnItemsRspOuterClass {
* <pre> * <pre>
* CmdId: 684 * CmdId: 684
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CalcWeaponUpgradeReturnItemsRsp} * Protobuf type {@code CalcWeaponUpgradeReturnItemsRsp}
......
...@@ -28,7 +28,8 @@ public final class CanUseSkillNotifyOuterClass { ...@@ -28,7 +28,8 @@ public final class CanUseSkillNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1005 * CmdId: 1005
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CanUseSkillNotify} * Protobuf type {@code CanUseSkillNotify}
...@@ -283,7 +284,8 @@ public final class CanUseSkillNotifyOuterClass { ...@@ -283,7 +284,8 @@ public final class CanUseSkillNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1005 * CmdId: 1005
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CanUseSkillNotify} * Protobuf type {@code CanUseSkillNotify}
......
...@@ -46,7 +46,8 @@ public final class CardProductRewardNotifyOuterClass { ...@@ -46,7 +46,8 @@ public final class CardProductRewardNotifyOuterClass {
* <pre> * <pre>
* CmdId: 4107 * CmdId: 4107
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CardProductRewardNotify} * Protobuf type {@code CardProductRewardNotify}
...@@ -382,7 +383,8 @@ public final class CardProductRewardNotifyOuterClass { ...@@ -382,7 +383,8 @@ public final class CardProductRewardNotifyOuterClass {
* <pre> * <pre>
* CmdId: 4107 * CmdId: 4107
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CardProductRewardNotify} * Protobuf type {@code CardProductRewardNotify}
......
...@@ -40,7 +40,8 @@ public final class ChallengeDataNotifyOuterClass { ...@@ -40,7 +40,8 @@ public final class ChallengeDataNotifyOuterClass {
* <pre> * <pre>
* CmdId: 953 * CmdId: 953
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChallengeDataNotify} * Protobuf type {@code ChallengeDataNotify}
...@@ -348,7 +349,8 @@ public final class ChallengeDataNotifyOuterClass { ...@@ -348,7 +349,8 @@ public final class ChallengeDataNotifyOuterClass {
* <pre> * <pre>
* CmdId: 953 * CmdId: 953
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChallengeDataNotify} * Protobuf type {@code ChallengeDataNotify}
......
...@@ -55,7 +55,7 @@ public final class ChangeAvatarReqOuterClass { ...@@ -55,7 +55,7 @@ public final class ChangeAvatarReqOuterClass {
* <pre> * <pre>
* CmdId: 1640 * CmdId: 1640
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -421,7 +421,7 @@ public final class ChangeAvatarReqOuterClass { ...@@ -421,7 +421,7 @@ public final class ChangeAvatarReqOuterClass {
* <pre> * <pre>
* CmdId: 1640 * CmdId: 1640
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -40,7 +40,8 @@ public final class ChangeAvatarRspOuterClass { ...@@ -40,7 +40,8 @@ public final class ChangeAvatarRspOuterClass {
* <pre> * <pre>
* CmdId: 1607 * CmdId: 1607
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeAvatarRsp} * Protobuf type {@code ChangeAvatarRsp}
...@@ -349,7 +350,8 @@ public final class ChangeAvatarRspOuterClass { ...@@ -349,7 +350,8 @@ public final class ChangeAvatarRspOuterClass {
* <pre> * <pre>
* CmdId: 1607 * CmdId: 1607
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeAvatarRsp} * Protobuf type {@code ChangeAvatarRsp}
......
...@@ -40,7 +40,7 @@ public final class ChangeGameTimeReqOuterClass { ...@@ -40,7 +40,7 @@ public final class ChangeGameTimeReqOuterClass {
* <pre> * <pre>
* CmdId: 173 * CmdId: 173
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -350,7 +350,7 @@ public final class ChangeGameTimeReqOuterClass { ...@@ -350,7 +350,7 @@ public final class ChangeGameTimeReqOuterClass {
* <pre> * <pre>
* CmdId: 173 * CmdId: 173
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -40,7 +40,8 @@ public final class ChangeGameTimeRspOuterClass { ...@@ -40,7 +40,8 @@ public final class ChangeGameTimeRspOuterClass {
* <pre> * <pre>
* CmdId: 199 * CmdId: 199
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeGameTimeRsp} * Protobuf type {@code ChangeGameTimeRsp}
...@@ -348,7 +349,8 @@ public final class ChangeGameTimeRspOuterClass { ...@@ -348,7 +349,8 @@ public final class ChangeGameTimeRspOuterClass {
* <pre> * <pre>
* CmdId: 199 * CmdId: 199
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeGameTimeRsp} * Protobuf type {@code ChangeGameTimeRsp}
......
...@@ -45,7 +45,7 @@ public final class ChangeMailStarNotifyOuterClass { ...@@ -45,7 +45,7 @@ public final class ChangeMailStarNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1448 * CmdId: 1448
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -383,7 +383,7 @@ public final class ChangeMailStarNotifyOuterClass { ...@@ -383,7 +383,7 @@ public final class ChangeMailStarNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1448 * CmdId: 1448
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -45,7 +45,7 @@ public final class ChangeMpTeamAvatarReqOuterClass { ...@@ -45,7 +45,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
* <pre> * <pre>
* CmdId: 1708 * CmdId: 1708
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -383,7 +383,7 @@ public final class ChangeMpTeamAvatarReqOuterClass { ...@@ -383,7 +383,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
* <pre> * <pre>
* CmdId: 1708 * CmdId: 1708
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -51,7 +51,8 @@ public final class ChangeMpTeamAvatarRspOuterClass { ...@@ -51,7 +51,8 @@ public final class ChangeMpTeamAvatarRspOuterClass {
* <pre> * <pre>
* CmdId: 1753 * CmdId: 1753
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeMpTeamAvatarRsp} * Protobuf type {@code ChangeMpTeamAvatarRsp}
...@@ -415,7 +416,8 @@ public final class ChangeMpTeamAvatarRspOuterClass { ...@@ -415,7 +416,8 @@ public final class ChangeMpTeamAvatarRspOuterClass {
* <pre> * <pre>
* CmdId: 1753 * CmdId: 1753
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeMpTeamAvatarRsp} * Protobuf type {@code ChangeMpTeamAvatarRsp}
......
...@@ -40,7 +40,7 @@ public final class ChangeTeamNameReqOuterClass { ...@@ -40,7 +40,7 @@ public final class ChangeTeamNameReqOuterClass {
* <pre> * <pre>
* CmdId: 1603 * CmdId: 1603
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -350,7 +350,7 @@ public final class ChangeTeamNameReqOuterClass { ...@@ -350,7 +350,7 @@ public final class ChangeTeamNameReqOuterClass {
* <pre> * <pre>
* CmdId: 1603 * CmdId: 1603
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -46,7 +46,8 @@ public final class ChangeTeamNameRspOuterClass { ...@@ -46,7 +46,8 @@ public final class ChangeTeamNameRspOuterClass {
* <pre> * <pre>
* CmdId: 1666 * CmdId: 1666
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeTeamNameRsp} * Protobuf type {@code ChangeTeamNameRsp}
...@@ -382,7 +383,8 @@ public final class ChangeTeamNameRspOuterClass { ...@@ -382,7 +383,8 @@ public final class ChangeTeamNameRspOuterClass {
* <pre> * <pre>
* CmdId: 1666 * CmdId: 1666
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChangeTeamNameRsp} * Protobuf type {@code ChangeTeamNameRsp}
......
...@@ -18,12 +18,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -18,12 +18,6 @@ public final class ChapterStateNotifyOuterClass {
// @@protoc_insertion_point(interface_extends:ChapterStateNotify) // @@protoc_insertion_point(interface_extends:ChapterStateNotify)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
int getChapterId();
/** /**
* <code>.ChapterState chapter_state = 9;</code> * <code>.ChapterState chapter_state = 9;</code>
* @return The enum numeric value on the wire for chapterState. * @return The enum numeric value on the wire for chapterState.
...@@ -64,12 +58,19 @@ public final class ChapterStateNotifyOuterClass { ...@@ -64,12 +58,19 @@ public final class ChapterStateNotifyOuterClass {
* <code>.ChapterStateNotify.NeedBeginTime need_begin_time = 1;</code> * <code>.ChapterStateNotify.NeedBeginTime need_begin_time = 1;</code>
*/ */
emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTimeOrBuilder getNeedBeginTimeOrBuilder(); emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTimeOrBuilder getNeedBeginTimeOrBuilder();
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
int getChapterId();
} }
/** /**
* <pre> * <pre>
* CmdId: 405 * CmdId: 405
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChapterStateNotify} * Protobuf type {@code ChapterStateNotify}
...@@ -749,17 +750,17 @@ public final class ChapterStateNotifyOuterClass { ...@@ -749,17 +750,17 @@ public final class ChapterStateNotifyOuterClass {
// @@protoc_insertion_point(interface_extends:ChapterStateNotify.NeedBeginTime) // @@protoc_insertion_point(interface_extends:ChapterStateNotify.NeedBeginTime)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_limit = 7;</code>
* @return The isLimit.
*/
boolean getIsLimit();
/** /**
* <code>uint32 config_need_begin_time = 3;</code> * <code>uint32 config_need_begin_time = 3;</code>
* @return The configNeedBeginTime. * @return The configNeedBeginTime.
*/ */
int getConfigNeedBeginTime(); int getConfigNeedBeginTime();
/**
* <code>bool is_limit = 7;</code>
* @return The isLimit.
*/
boolean getIsLimit();
} }
/** /**
* Protobuf type {@code ChapterStateNotify.NeedBeginTime} * Protobuf type {@code ChapterStateNotify.NeedBeginTime}
...@@ -848,17 +849,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -848,17 +849,6 @@ public final class ChapterStateNotifyOuterClass {
emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime.class, emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime.Builder.class); emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime.class, emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime.Builder.class);
} }
public static final int IS_LIMIT_FIELD_NUMBER = 7;
private boolean isLimit_;
/**
* <code>bool is_limit = 7;</code>
* @return The isLimit.
*/
@java.lang.Override
public boolean getIsLimit() {
return isLimit_;
}
public static final int CONFIG_NEED_BEGIN_TIME_FIELD_NUMBER = 3; public static final int CONFIG_NEED_BEGIN_TIME_FIELD_NUMBER = 3;
private int configNeedBeginTime_; private int configNeedBeginTime_;
/** /**
...@@ -870,6 +860,17 @@ public final class ChapterStateNotifyOuterClass { ...@@ -870,6 +860,17 @@ public final class ChapterStateNotifyOuterClass {
return configNeedBeginTime_; return configNeedBeginTime_;
} }
public static final int IS_LIMIT_FIELD_NUMBER = 7;
private boolean isLimit_;
/**
* <code>bool is_limit = 7;</code>
* @return The isLimit.
*/
@java.lang.Override
public boolean getIsLimit() {
return isLimit_;
}
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@java.lang.Override @java.lang.Override
public final boolean isInitialized() { public final boolean isInitialized() {
...@@ -922,10 +923,10 @@ public final class ChapterStateNotifyOuterClass { ...@@ -922,10 +923,10 @@ public final class ChapterStateNotifyOuterClass {
} }
emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime other = (emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime) obj; emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime other = (emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime) obj;
if (getIsLimit()
!= other.getIsLimit()) return false;
if (getConfigNeedBeginTime() if (getConfigNeedBeginTime()
!= other.getConfigNeedBeginTime()) return false; != other.getConfigNeedBeginTime()) return false;
if (getIsLimit()
!= other.getIsLimit()) return false;
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
...@@ -937,11 +938,11 @@ public final class ChapterStateNotifyOuterClass { ...@@ -937,11 +938,11 @@ public final class ChapterStateNotifyOuterClass {
} }
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CONFIG_NEED_BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getConfigNeedBeginTime();
hash = (37 * hash) + IS_LIMIT_FIELD_NUMBER; hash = (37 * hash) + IS_LIMIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsLimit()); getIsLimit());
hash = (37 * hash) + CONFIG_NEED_BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getConfigNeedBeginTime();
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
...@@ -1075,10 +1076,10 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1075,10 +1076,10 @@ public final class ChapterStateNotifyOuterClass {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
isLimit_ = false;
configNeedBeginTime_ = 0; configNeedBeginTime_ = 0;
isLimit_ = false;
return this; return this;
} }
...@@ -1105,8 +1106,8 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1105,8 +1106,8 @@ public final class ChapterStateNotifyOuterClass {
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime buildPartial() { public emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime buildPartial() {
emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime result = new emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime(this); emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime result = new emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime(this);
result.isLimit_ = isLimit_;
result.configNeedBeginTime_ = configNeedBeginTime_; result.configNeedBeginTime_ = configNeedBeginTime_;
result.isLimit_ = isLimit_;
onBuilt(); onBuilt();
return result; return result;
} }
...@@ -1155,12 +1156,12 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1155,12 +1156,12 @@ public final class ChapterStateNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime other) { public Builder mergeFrom(emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime other) {
if (other == emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime.getDefaultInstance()) return this; if (other == emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.NeedBeginTime.getDefaultInstance()) return this;
if (other.getIsLimit() != false) {
setIsLimit(other.getIsLimit());
}
if (other.getConfigNeedBeginTime() != 0) { if (other.getConfigNeedBeginTime() != 0) {
setConfigNeedBeginTime(other.getConfigNeedBeginTime()); setConfigNeedBeginTime(other.getConfigNeedBeginTime());
} }
if (other.getIsLimit() != false) {
setIsLimit(other.getIsLimit());
}
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
return this; return this;
...@@ -1190,64 +1191,64 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1190,64 +1191,64 @@ public final class ChapterStateNotifyOuterClass {
return this; return this;
} }
private boolean isLimit_ ; private int configNeedBeginTime_ ;
/** /**
* <code>bool is_limit = 7;</code> * <code>uint32 config_need_begin_time = 3;</code>
* @return The isLimit. * @return The configNeedBeginTime.
*/ */
@java.lang.Override @java.lang.Override
public boolean getIsLimit() { public int getConfigNeedBeginTime() {
return isLimit_; return configNeedBeginTime_;
} }
/** /**
* <code>bool is_limit = 7;</code> * <code>uint32 config_need_begin_time = 3;</code>
* @param value The isLimit to set. * @param value The configNeedBeginTime to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setIsLimit(boolean value) { public Builder setConfigNeedBeginTime(int value) {
isLimit_ = value; configNeedBeginTime_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>bool is_limit = 7;</code> * <code>uint32 config_need_begin_time = 3;</code>
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearIsLimit() { public Builder clearConfigNeedBeginTime() {
isLimit_ = false; configNeedBeginTime_ = 0;
onChanged(); onChanged();
return this; return this;
} }
private int configNeedBeginTime_ ; private boolean isLimit_ ;
/** /**
* <code>uint32 config_need_begin_time = 3;</code> * <code>bool is_limit = 7;</code>
* @return The configNeedBeginTime. * @return The isLimit.
*/ */
@java.lang.Override @java.lang.Override
public int getConfigNeedBeginTime() { public boolean getIsLimit() {
return configNeedBeginTime_; return isLimit_;
} }
/** /**
* <code>uint32 config_need_begin_time = 3;</code> * <code>bool is_limit = 7;</code>
* @param value The configNeedBeginTime to set. * @param value The isLimit to set.
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder setConfigNeedBeginTime(int value) { public Builder setIsLimit(boolean value) {
configNeedBeginTime_ = value; isLimit_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>uint32 config_need_begin_time = 3;</code> * <code>bool is_limit = 7;</code>
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearConfigNeedBeginTime() { public Builder clearIsLimit() {
configNeedBeginTime_ = 0; isLimit_ = false;
onChanged(); onChanged();
return this; return this;
} }
...@@ -1304,17 +1305,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1304,17 +1305,6 @@ public final class ChapterStateNotifyOuterClass {
} }
public static final int CHAPTER_ID_FIELD_NUMBER = 2;
private int chapterId_;
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
@java.lang.Override
public int getChapterId() {
return chapterId_;
}
public static final int CHAPTER_STATE_FIELD_NUMBER = 9; public static final int CHAPTER_STATE_FIELD_NUMBER = 9;
private int chapterState_; private int chapterState_;
/** /**
...@@ -1386,6 +1376,17 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1386,6 +1376,17 @@ public final class ChapterStateNotifyOuterClass {
return getNeedBeginTime(); return getNeedBeginTime();
} }
public static final int CHAPTER_ID_FIELD_NUMBER = 2;
private int chapterId_;
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
@java.lang.Override
public int getChapterId() {
return chapterId_;
}
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@java.lang.Override @java.lang.Override
public final boolean isInitialized() { public final boolean isInitialized() {
...@@ -1452,8 +1453,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1452,8 +1453,6 @@ public final class ChapterStateNotifyOuterClass {
} }
emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify other = (emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify) obj; emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify other = (emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify) obj;
if (getChapterId()
!= other.getChapterId()) return false;
if (chapterState_ != other.chapterState_) return false; if (chapterState_ != other.chapterState_) return false;
if (hasNeedPlayerLevel() != other.hasNeedPlayerLevel()) return false; if (hasNeedPlayerLevel() != other.hasNeedPlayerLevel()) return false;
if (hasNeedPlayerLevel()) { if (hasNeedPlayerLevel()) {
...@@ -1465,6 +1464,8 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1465,6 +1464,8 @@ public final class ChapterStateNotifyOuterClass {
if (!getNeedBeginTime() if (!getNeedBeginTime()
.equals(other.getNeedBeginTime())) return false; .equals(other.getNeedBeginTime())) return false;
} }
if (getChapterId()
!= other.getChapterId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
...@@ -1476,8 +1477,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1476,8 +1477,6 @@ public final class ChapterStateNotifyOuterClass {
} }
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CHAPTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getChapterId();
hash = (37 * hash) + CHAPTER_STATE_FIELD_NUMBER; hash = (37 * hash) + CHAPTER_STATE_FIELD_NUMBER;
hash = (53 * hash) + chapterState_; hash = (53 * hash) + chapterState_;
if (hasNeedPlayerLevel()) { if (hasNeedPlayerLevel()) {
...@@ -1488,6 +1487,8 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1488,6 +1487,8 @@ public final class ChapterStateNotifyOuterClass {
hash = (37 * hash) + NEED_BEGIN_TIME_FIELD_NUMBER; hash = (37 * hash) + NEED_BEGIN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getNeedBeginTime().hashCode(); hash = (53 * hash) + getNeedBeginTime().hashCode();
} }
hash = (37 * hash) + CHAPTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getChapterId();
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
...@@ -1587,7 +1588,8 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1587,7 +1588,8 @@ public final class ChapterStateNotifyOuterClass {
* <pre> * <pre>
* CmdId: 405 * CmdId: 405
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChapterStateNotify} * Protobuf type {@code ChapterStateNotify}
...@@ -1627,8 +1629,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1627,8 +1629,6 @@ public final class ChapterStateNotifyOuterClass {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
chapterId_ = 0;
chapterState_ = 0; chapterState_ = 0;
if (needPlayerLevelBuilder_ == null) { if (needPlayerLevelBuilder_ == null) {
...@@ -1643,6 +1643,8 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1643,6 +1643,8 @@ public final class ChapterStateNotifyOuterClass {
needBeginTime_ = null; needBeginTime_ = null;
needBeginTimeBuilder_ = null; needBeginTimeBuilder_ = null;
} }
chapterId_ = 0;
return this; return this;
} }
...@@ -1669,7 +1671,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1669,7 +1671,6 @@ public final class ChapterStateNotifyOuterClass {
@java.lang.Override @java.lang.Override
public emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify buildPartial() { public emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify buildPartial() {
emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify result = new emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify(this); emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify result = new emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify(this);
result.chapterId_ = chapterId_;
result.chapterState_ = chapterState_; result.chapterState_ = chapterState_;
if (needPlayerLevelBuilder_ == null) { if (needPlayerLevelBuilder_ == null) {
result.needPlayerLevel_ = needPlayerLevel_; result.needPlayerLevel_ = needPlayerLevel_;
...@@ -1681,6 +1682,7 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1681,6 +1682,7 @@ public final class ChapterStateNotifyOuterClass {
} else { } else {
result.needBeginTime_ = needBeginTimeBuilder_.build(); result.needBeginTime_ = needBeginTimeBuilder_.build();
} }
result.chapterId_ = chapterId_;
onBuilt(); onBuilt();
return result; return result;
} }
...@@ -1729,9 +1731,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1729,9 +1731,6 @@ public final class ChapterStateNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify other) { public Builder mergeFrom(emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify other) {
if (other == emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.getDefaultInstance()) return this; if (other == emu.grasscutter.net.proto.ChapterStateNotifyOuterClass.ChapterStateNotify.getDefaultInstance()) return this;
if (other.getChapterId() != 0) {
setChapterId(other.getChapterId());
}
if (other.chapterState_ != 0) { if (other.chapterState_ != 0) {
setChapterStateValue(other.getChapterStateValue()); setChapterStateValue(other.getChapterStateValue());
} }
...@@ -1741,6 +1740,9 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1741,6 +1740,9 @@ public final class ChapterStateNotifyOuterClass {
if (other.hasNeedBeginTime()) { if (other.hasNeedBeginTime()) {
mergeNeedBeginTime(other.getNeedBeginTime()); mergeNeedBeginTime(other.getNeedBeginTime());
} }
if (other.getChapterId() != 0) {
setChapterId(other.getChapterId());
}
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
return this; return this;
...@@ -1770,37 +1772,6 @@ public final class ChapterStateNotifyOuterClass { ...@@ -1770,37 +1772,6 @@ public final class ChapterStateNotifyOuterClass {
return this; return this;
} }
private int chapterId_ ;
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
@java.lang.Override
public int getChapterId() {
return chapterId_;
}
/**
* <code>uint32 chapter_id = 2;</code>
* @param value The chapterId to set.
* @return This builder for chaining.
*/
public Builder setChapterId(int value) {
chapterId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 chapter_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearChapterId() {
chapterId_ = 0;
onChanged();
return this;
}
private int chapterState_ = 0; private int chapterState_ = 0;
/** /**
* <code>.ChapterState chapter_state = 9;</code> * <code>.ChapterState chapter_state = 9;</code>
...@@ -2092,6 +2063,37 @@ public final class ChapterStateNotifyOuterClass { ...@@ -2092,6 +2063,37 @@ public final class ChapterStateNotifyOuterClass {
} }
return needBeginTimeBuilder_; return needBeginTimeBuilder_;
} }
private int chapterId_ ;
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
@java.lang.Override
public int getChapterId() {
return chapterId_;
}
/**
* <code>uint32 chapter_id = 2;</code>
* @param value The chapterId to set.
* @return This builder for chaining.
*/
public Builder setChapterId(int value) {
chapterId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 chapter_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearChapterId() {
chapterId_ = 0;
onChanged();
return this;
}
@java.lang.Override @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) { final com.google.protobuf.UnknownFieldSet unknownFields) {
...@@ -2170,15 +2172,15 @@ public final class ChapterStateNotifyOuterClass { ...@@ -2170,15 +2172,15 @@ public final class ChapterStateNotifyOuterClass {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\030ChapterStateNotify.proto\032\022ChapterState" + "\n\030ChapterStateNotify.proto\032\022ChapterState" +
".proto\"\324\002\n\022ChapterStateNotify\022\022\n\nchapter" + ".proto\"\324\002\n\022ChapterStateNotify\022$\n\rchapter" +
"_id\030\002 \001(\r\022$\n\rchapter_state\030\t \001(\0162\r.Chapt" + "_state\030\t \001(\0162\r.ChapterState\022>\n\021need_play" +
"erState\022>\n\021need_player_level\030\n \001(\0132#.Cha" + "er_level\030\n \001(\0132#.ChapterStateNotify.Need" +
"pterStateNotify.NeedPlayerLevel\022:\n\017need_" + "PlayerLevel\022:\n\017need_begin_time\030\001 \001(\0132!.C" +
"begin_time\030\001 \001(\0132!.ChapterStateNotify.Ne" + "hapterStateNotify.NeedBeginTime\022\022\n\nchapt" +
"edBeginTime\032E\n\017NeedPlayerLevel\022\020\n\010is_lim" + "er_id\030\002 \001(\r\032E\n\017NeedPlayerLevel\022\020\n\010is_lim" +
"it\030\002 \001(\010\022 \n\030config_need_player_level\030\013 \001" + "it\030\002 \001(\010\022 \n\030config_need_player_level\030\013 \001" +
"(\r\032A\n\rNeedBeginTime\022\020\n\010is_limit\030\007 \001(\010\022\036\n" + "(\r\032A\n\rNeedBeginTime\022\036\n\026config_need_begin" +
"\026config_need_begin_time\030\003 \001(\rB\033\n\031emu.gra" + "_time\030\003 \001(\r\022\020\n\010is_limit\030\007 \001(\010B\033\n\031emu.gra" +
"sscutter.net.protob\006proto3" "sscutter.net.protob\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
...@@ -2191,7 +2193,7 @@ public final class ChapterStateNotifyOuterClass { ...@@ -2191,7 +2193,7 @@ public final class ChapterStateNotifyOuterClass {
internal_static_ChapterStateNotify_fieldAccessorTable = new internal_static_ChapterStateNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ChapterStateNotify_descriptor, internal_static_ChapterStateNotify_descriptor,
new java.lang.String[] { "ChapterId", "ChapterState", "NeedPlayerLevel", "NeedBeginTime", }); new java.lang.String[] { "ChapterState", "NeedPlayerLevel", "NeedBeginTime", "ChapterId", });
internal_static_ChapterStateNotify_NeedPlayerLevel_descriptor = internal_static_ChapterStateNotify_NeedPlayerLevel_descriptor =
internal_static_ChapterStateNotify_descriptor.getNestedTypes().get(0); internal_static_ChapterStateNotify_descriptor.getNestedTypes().get(0);
internal_static_ChapterStateNotify_NeedPlayerLevel_fieldAccessorTable = new internal_static_ChapterStateNotify_NeedPlayerLevel_fieldAccessorTable = new
...@@ -2203,7 +2205,7 @@ public final class ChapterStateNotifyOuterClass { ...@@ -2203,7 +2205,7 @@ public final class ChapterStateNotifyOuterClass {
internal_static_ChapterStateNotify_NeedBeginTime_fieldAccessorTable = new internal_static_ChapterStateNotify_NeedBeginTime_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ChapterStateNotify_NeedBeginTime_descriptor, internal_static_ChapterStateNotify_NeedBeginTime_descriptor,
new java.lang.String[] { "IsLimit", "ConfigNeedBeginTime", }); new java.lang.String[] { "ConfigNeedBeginTime", "IsLimit", });
emu.grasscutter.net.proto.ChapterStateOuterClass.getDescriptor(); emu.grasscutter.net.proto.ChapterStateOuterClass.getDescriptor();
} }
......
...@@ -73,7 +73,8 @@ public final class CheckAddItemExceedLimitNotifyOuterClass { ...@@ -73,7 +73,8 @@ public final class CheckAddItemExceedLimitNotifyOuterClass {
* <pre> * <pre>
* CmdId: 692 * CmdId: 692
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CheckAddItemExceedLimitNotify} * Protobuf type {@code CheckAddItemExceedLimitNotify}
...@@ -652,7 +653,8 @@ public final class CheckAddItemExceedLimitNotifyOuterClass { ...@@ -652,7 +653,8 @@ public final class CheckAddItemExceedLimitNotifyOuterClass {
* <pre> * <pre>
* CmdId: 692 * CmdId: 692
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code CheckAddItemExceedLimitNotify} * Protobuf type {@code CheckAddItemExceedLimitNotify}
......
...@@ -28,7 +28,7 @@ public final class ChooseCurAvatarTeamReqOuterClass { ...@@ -28,7 +28,7 @@ public final class ChooseCurAvatarTeamReqOuterClass {
* <pre> * <pre>
* CmdId: 1796 * CmdId: 1796
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -283,7 +283,7 @@ public final class ChooseCurAvatarTeamReqOuterClass { ...@@ -283,7 +283,7 @@ public final class ChooseCurAvatarTeamReqOuterClass {
* <pre> * <pre>
* CmdId: 1796 * CmdId: 1796
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -34,7 +34,8 @@ public final class ChooseCurAvatarTeamRspOuterClass { ...@@ -34,7 +34,8 @@ public final class ChooseCurAvatarTeamRspOuterClass {
* <pre> * <pre>
* CmdId: 1661 * CmdId: 1661
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChooseCurAvatarTeamRsp} * Protobuf type {@code ChooseCurAvatarTeamRsp}
...@@ -315,7 +316,8 @@ public final class ChooseCurAvatarTeamRspOuterClass { ...@@ -315,7 +316,8 @@ public final class ChooseCurAvatarTeamRspOuterClass {
* <pre> * <pre>
* CmdId: 1661 * CmdId: 1661
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code ChooseCurAvatarTeamRsp} * Protobuf type {@code ChooseCurAvatarTeamRsp}
......
...@@ -58,7 +58,7 @@ public final class ClientAbilityChangeNotifyOuterClass { ...@@ -58,7 +58,7 @@ public final class ClientAbilityChangeNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1175 * CmdId: 1175
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -408,7 +408,7 @@ public final class ClientAbilityChangeNotifyOuterClass { ...@@ -408,7 +408,7 @@ public final class ClientAbilityChangeNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1175 * CmdId: 1175
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -28,7 +28,7 @@ public final class ClientAbilityInitBeginNotifyOuterClass { ...@@ -28,7 +28,7 @@ public final class ClientAbilityInitBeginNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1112 * CmdId: 1112
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -283,7 +283,7 @@ public final class ClientAbilityInitBeginNotifyOuterClass { ...@@ -283,7 +283,7 @@ public final class ClientAbilityInitBeginNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1112 * CmdId: 1112
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
......
...@@ -52,7 +52,7 @@ public final class ClientAbilityInitFinishNotifyOuterClass { ...@@ -52,7 +52,7 @@ public final class ClientAbilityInitFinishNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1135 * CmdId: 1135
* EnetChannelId: 0 * EnetChannelId: 0
* EnetIsReliable: true * EnetIsReliable: false
* IsAllowClient: true * IsAllowClient: true
* </pre> * </pre>
* *
...@@ -374,7 +374,7 @@ public final class ClientAbilityInitFinishNotifyOuterClass { ...@@ -374,7 +374,7 @@ public final class ClientAbilityInitFinishNotifyOuterClass {
* <pre> * <pre>
* CmdId: 1135 * CmdId: 1135
* 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