Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
d575d1cc
Commit
d575d1cc
authored
Aug 23, 2022
by
Benj
Committed by
Luke H-W
Aug 24, 2022
Browse files
Update 3.0 protos
parent
5db73d28
Changes
486
Hide whitespace changes
Inline
Side-by-side
src/generated/main/java/emu/grasscutter/net/proto/CalcWeaponUpgradeReturnItemsRspOuterClass.java
View file @
d575d1cc
...
...
@@ -58,7 +58,8 @@ public final class CalcWeaponUpgradeReturnItemsRspOuterClass {
* <pre>
* CmdId: 684
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CalcWeaponUpgradeReturnItemsRsp}
...
...
@@ -407,7 +408,8 @@ public final class CalcWeaponUpgradeReturnItemsRspOuterClass {
* <pre>
* CmdId: 684
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CalcWeaponUpgradeReturnItemsRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/CanUseSkillNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,8 @@ public final class CanUseSkillNotifyOuterClass {
* <pre>
* CmdId: 1005
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CanUseSkillNotify}
...
...
@@ -283,7 +284,8 @@ public final class CanUseSkillNotifyOuterClass {
* <pre>
* CmdId: 1005
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CanUseSkillNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/CardProductRewardNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -46,7 +46,8 @@ public final class CardProductRewardNotifyOuterClass {
* <pre>
* CmdId: 4107
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CardProductRewardNotify}
...
...
@@ -382,7 +383,8 @@ public final class CardProductRewardNotifyOuterClass {
* <pre>
* CmdId: 4107
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CardProductRewardNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChallengeDataNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,8 @@ public final class ChallengeDataNotifyOuterClass {
* <pre>
* CmdId: 953
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChallengeDataNotify}
...
...
@@ -348,7 +349,8 @@ public final class ChallengeDataNotifyOuterClass {
* <pre>
* CmdId: 953
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChallengeDataNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeAvatarReqOuterClass.java
View file @
d575d1cc
...
...
@@ -55,7 +55,7 @@ public final class ChangeAvatarReqOuterClass {
* <pre>
* CmdId: 1640
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -421,7 +421,7 @@ public final class ChangeAvatarReqOuterClass {
* <pre>
* CmdId: 1640
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeAvatarRspOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,8 @@ public final class ChangeAvatarRspOuterClass {
* <pre>
* CmdId: 1607
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeAvatarRsp}
...
...
@@ -349,7 +350,8 @@ public final class ChangeAvatarRspOuterClass {
* <pre>
* CmdId: 1607
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeAvatarRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeGameTimeReqOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,7 @@ public final class ChangeGameTimeReqOuterClass {
* <pre>
* CmdId: 173
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -350,7 +350,7 @@ public final class ChangeGameTimeReqOuterClass {
* <pre>
* CmdId: 173
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeGameTimeRspOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,8 @@ public final class ChangeGameTimeRspOuterClass {
* <pre>
* CmdId: 199
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeGameTimeRsp}
...
...
@@ -348,7 +349,8 @@ public final class ChangeGameTimeRspOuterClass {
* <pre>
* CmdId: 199
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeGameTimeRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeMailStarNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -45,7 +45,7 @@ public final class ChangeMailStarNotifyOuterClass {
* <pre>
* CmdId: 1448
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -383,7 +383,7 @@ public final class ChangeMailStarNotifyOuterClass {
* <pre>
* CmdId: 1448
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeMpTeamAvatarReqOuterClass.java
View file @
d575d1cc
...
...
@@ -45,7 +45,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
* <pre>
* CmdId: 1708
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -383,7 +383,7 @@ public final class ChangeMpTeamAvatarReqOuterClass {
* <pre>
* CmdId: 1708
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeMpTeamAvatarRspOuterClass.java
View file @
d575d1cc
...
...
@@ -51,7 +51,8 @@ public final class ChangeMpTeamAvatarRspOuterClass {
* <pre>
* CmdId: 1753
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeMpTeamAvatarRsp}
...
...
@@ -415,7 +416,8 @@ public final class ChangeMpTeamAvatarRspOuterClass {
* <pre>
* CmdId: 1753
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeMpTeamAvatarRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeTeamNameReqOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,7 @@ public final class ChangeTeamNameReqOuterClass {
* <pre>
* CmdId: 1603
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -350,7 +350,7 @@ public final class ChangeTeamNameReqOuterClass {
* <pre>
* CmdId: 1603
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChangeTeamNameRspOuterClass.java
View file @
d575d1cc
...
...
@@ -46,7 +46,8 @@ public final class ChangeTeamNameRspOuterClass {
* <pre>
* CmdId: 1666
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeTeamNameRsp}
...
...
@@ -382,7 +383,8 @@ public final class ChangeTeamNameRspOuterClass {
* <pre>
* CmdId: 1666
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChangeTeamNameRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChapterStateNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -18,12 +18,6 @@ public final class ChapterStateNotifyOuterClass {
// @@protoc_insertion_point(interface_extends:ChapterStateNotify)
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
int
getChapterId
();
/**
* <code>.ChapterState chapter_state = 9;</code>
* @return The enum numeric value on the wire for chapterState.
...
...
@@ -64,12 +58,19 @@ public final class ChapterStateNotifyOuterClass {
* <code>.ChapterStateNotify.NeedBeginTime need_begin_time = 1;</code>
*/
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
.
NeedBeginTimeOrBuilder
getNeedBeginTimeOrBuilder
();
/**
* <code>uint32 chapter_id = 2;</code>
* @return The chapterId.
*/
int
getChapterId
();
}
/**
* <pre>
* CmdId: 405
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChapterStateNotify}
...
...
@@ -749,17 +750,17 @@ public final class ChapterStateNotifyOuterClass {
// @@protoc_insertion_point(interface_extends:ChapterStateNotify.NeedBeginTime)
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>bool is_limit = 7;</code>
* @return The isLimit.
*/
boolean
getIsLimit
();
/**
* <code>uint32 config_need_begin_time = 3;</code>
* @return The configNeedBeginTime.
*/
int
getConfigNeedBeginTime
();
/**
* <code>bool is_limit = 7;</code>
* @return The isLimit.
*/
boolean
getIsLimit
();
}
/**
* Protobuf type {@code ChapterStateNotify.NeedBeginTime}
...
...
@@ -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
);
}
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
;
private
int
configNeedBeginTime_
;
/**
...
...
@@ -870,6 +860,17 @@ public final class ChapterStateNotifyOuterClass {
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
;
@java
.
lang
.
Override
public
final
boolean
isInitialized
()
{
...
...
@@ -922,10 +923,10 @@ public final class ChapterStateNotifyOuterClass {
}
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
.
NeedBeginTime
other
=
(
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
.
NeedBeginTime
)
obj
;
if
(
getIsLimit
()
!=
other
.
getIsLimit
())
return
false
;
if
(
getConfigNeedBeginTime
()
!=
other
.
getConfigNeedBeginTime
())
return
false
;
if
(
getIsLimit
()
!=
other
.
getIsLimit
())
return
false
;
if
(!
unknownFields
.
equals
(
other
.
unknownFields
))
return
false
;
return
true
;
}
...
...
@@ -937,11 +938,11 @@ public final class ChapterStateNotifyOuterClass {
}
int
hash
=
41
;
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
=
(
53
*
hash
)
+
com
.
google
.
protobuf
.
Internal
.
hashBoolean
(
getIsLimit
());
hash
=
(
37
*
hash
)
+
CONFIG_NEED_BEGIN_TIME_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getConfigNeedBeginTime
();
hash
=
(
29
*
hash
)
+
unknownFields
.
hashCode
();
memoizedHashCode
=
hash
;
return
hash
;
...
...
@@ -1075,10 +1076,10 @@ public final class ChapterStateNotifyOuterClass {
@java
.
lang
.
Override
public
Builder
clear
()
{
super
.
clear
();
isLimit_
=
false
;
configNeedBeginTime_
=
0
;
isLimit_
=
false
;
return
this
;
}
...
...
@@ -1105,8 +1106,8 @@ public final class ChapterStateNotifyOuterClass {
@java
.
lang
.
Override
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
);
result
.
isLimit_
=
isLimit_
;
result
.
configNeedBeginTime_
=
configNeedBeginTime_
;
result
.
isLimit_
=
isLimit_
;
onBuilt
();
return
result
;
}
...
...
@@ -1155,12 +1156,12 @@ public final class ChapterStateNotifyOuterClass {
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
.
getIsLimit
()
!=
false
)
{
setIsLimit
(
other
.
getIsLimit
());
}
if
(
other
.
getConfigNeedBeginTime
()
!=
0
)
{
setConfigNeedBeginTime
(
other
.
getConfigNeedBeginTime
());
}
if
(
other
.
getIsLimit
()
!=
false
)
{
setIsLimit
(
other
.
getIsLimit
());
}
this
.
mergeUnknownFields
(
other
.
unknownFields
);
onChanged
();
return
this
;
...
...
@@ -1190,64 +1191,64 @@ public final class ChapterStateNotifyOuterClass {
return
this
;
}
private
boolean
isLimit
_
;
private
int
configNeedBeginTime
_
;
/**
* <code>
bool is_limit
=
7
;</code>
* @return The
isLimit
.
* <code>
uint32 config_need_begin_time
=
3
;</code>
* @return The
configNeedBeginTime
.
*/
@java
.
lang
.
Override
public
boolean
getIsLimit
()
{
return
isLimit
_
;
public
int
getConfigNeedBeginTime
()
{
return
configNeedBeginTime
_
;
}
/**
* <code>
bool is_limit
=
7
;</code>
* @param value The
isLimit
to set.
* <code>
uint32 config_need_begin_time
=
3
;</code>
* @param value The
configNeedBeginTime
to set.
* @return This builder for chaining.
*/
public
Builder
set
IsLimit
(
boolean
value
)
{
public
Builder
set
ConfigNeedBeginTime
(
int
value
)
{
isLimit
_
=
value
;
configNeedBeginTime
_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>
bool is_limit
=
7
;</code>
* <code>
uint32 config_need_begin_time
=
3
;</code>
* @return This builder for chaining.
*/
public
Builder
clear
IsLimit
()
{
public
Builder
clear
ConfigNeedBeginTime
()
{
isLimit_
=
false
;
configNeedBeginTime_
=
0
;
onChanged
();
return
this
;
}
private
int
configNeedBeginTime
_
;
private
boolean
isLimit
_
;
/**
* <code>
uint32 config_need_begin_time
=
3
;</code>
* @return The
configNeedBeginTime
.
* <code>
bool is_limit
=
7
;</code>
* @return The
isLimit
.
*/
@java
.
lang
.
Override
public
int
getConfigNeedBeginTime
()
{
return
configNeedBeginTime
_
;
public
boolean
getIsLimit
()
{
return
isLimit
_
;
}
/**
* <code>
uint32 config_need_begin_time
=
3
;</code>
* @param value The
configNeedBeginTime
to set.
* <code>
bool is_limit
=
7
;</code>
* @param value The
isLimit
to set.
* @return This builder for chaining.
*/
public
Builder
set
ConfigNeedBeginTime
(
int
value
)
{
public
Builder
set
IsLimit
(
boolean
value
)
{
configNeedBeginTime
_
=
value
;
isLimit
_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>
uint32 config_need_begin_time
=
3
;</code>
* <code>
bool is_limit
=
7
;</code>
* @return This builder for chaining.
*/
public
Builder
clear
ConfigNeedBeginTime
()
{
public
Builder
clear
IsLimit
()
{
configNeedBeginTime_
=
0
;
isLimit_
=
false
;
onChanged
();
return
this
;
}
...
...
@@ -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
;
private
int
chapterState_
;
/**
...
...
@@ -1386,6 +1376,17 @@ public final class ChapterStateNotifyOuterClass {
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
;
@java
.
lang
.
Override
public
final
boolean
isInitialized
()
{
...
...
@@ -1452,8 +1453,6 @@ public final class ChapterStateNotifyOuterClass {
}
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
(
hasNeedPlayerLevel
()
!=
other
.
hasNeedPlayerLevel
())
return
false
;
if
(
hasNeedPlayerLevel
())
{
...
...
@@ -1465,6 +1464,8 @@ public final class ChapterStateNotifyOuterClass {
if
(!
getNeedBeginTime
()
.
equals
(
other
.
getNeedBeginTime
()))
return
false
;
}
if
(
getChapterId
()
!=
other
.
getChapterId
())
return
false
;
if
(!
unknownFields
.
equals
(
other
.
unknownFields
))
return
false
;
return
true
;
}
...
...
@@ -1476,8 +1477,6 @@ public final class ChapterStateNotifyOuterClass {
}
int
hash
=
41
;
hash
=
(
19
*
hash
)
+
getDescriptor
().
hashCode
();
hash
=
(
37
*
hash
)
+
CHAPTER_ID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getChapterId
();
hash
=
(
37
*
hash
)
+
CHAPTER_STATE_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
chapterState_
;
if
(
hasNeedPlayerLevel
())
{
...
...
@@ -1488,6 +1487,8 @@ public final class ChapterStateNotifyOuterClass {
hash
=
(
37
*
hash
)
+
NEED_BEGIN_TIME_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getNeedBeginTime
().
hashCode
();
}
hash
=
(
37
*
hash
)
+
CHAPTER_ID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getChapterId
();
hash
=
(
29
*
hash
)
+
unknownFields
.
hashCode
();
memoizedHashCode
=
hash
;
return
hash
;
...
...
@@ -1587,7 +1588,8 @@ public final class ChapterStateNotifyOuterClass {
* <pre>
* CmdId: 405
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChapterStateNotify}
...
...
@@ -1627,8 +1629,6 @@ public final class ChapterStateNotifyOuterClass {
@java
.
lang
.
Override
public
Builder
clear
()
{
super
.
clear
();
chapterId_
=
0
;
chapterState_
=
0
;
if
(
needPlayerLevelBuilder_
==
null
)
{
...
...
@@ -1643,6 +1643,8 @@ public final class ChapterStateNotifyOuterClass {
needBeginTime_
=
null
;
needBeginTimeBuilder_
=
null
;
}
chapterId_
=
0
;
return
this
;
}
...
...
@@ -1669,7 +1671,6 @@ public final class ChapterStateNotifyOuterClass {
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
buildPartial
()
{
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
result
=
new
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
(
this
);
result
.
chapterId_
=
chapterId_
;
result
.
chapterState_
=
chapterState_
;
if
(
needPlayerLevelBuilder_
==
null
)
{
result
.
needPlayerLevel_
=
needPlayerLevel_
;
...
...
@@ -1681,6 +1682,7 @@ public final class ChapterStateNotifyOuterClass {
}
else
{
result
.
needBeginTime_
=
needBeginTimeBuilder_
.
build
();
}
result
.
chapterId_
=
chapterId_
;
onBuilt
();
return
result
;
}
...
...
@@ -1729,9 +1731,6 @@ public final class ChapterStateNotifyOuterClass {
public
Builder
mergeFrom
(
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
other
)
{
if
(
other
==
emu
.
grasscutter
.
net
.
proto
.
ChapterStateNotifyOuterClass
.
ChapterStateNotify
.
getDefaultInstance
())
return
this
;
if
(
other
.
getChapterId
()
!=
0
)
{
setChapterId
(
other
.
getChapterId
());
}
if
(
other
.
chapterState_
!=
0
)
{
setChapterStateValue
(
other
.
getChapterStateValue
());
}
...
...
@@ -1741,6 +1740,9 @@ public final class ChapterStateNotifyOuterClass {
if
(
other
.
hasNeedBeginTime
())
{
mergeNeedBeginTime
(
other
.
getNeedBeginTime
());
}
if
(
other
.
getChapterId
()
!=
0
)
{
setChapterId
(
other
.
getChapterId
());
}
this
.
mergeUnknownFields
(
other
.
unknownFields
);
onChanged
();
return
this
;
...
...
@@ -1770,37 +1772,6 @@ public final class ChapterStateNotifyOuterClass {
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
;
/**
* <code>.ChapterState chapter_state = 9;</code>
...
...
@@ -2092,6 +2063,37 @@ public final class ChapterStateNotifyOuterClass {
}
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
public
final
Builder
setUnknownFields
(
final
com
.
google
.
protobuf
.
UnknownFieldSet
unknownFields
)
{
...
...
@@ -2170,15 +2172,15 @@ public final class ChapterStateNotifyOuterClass {
static
{
java
.
lang
.
String
[]
descriptorData
=
{
"\n\030ChapterStateNotify.proto\032\022ChapterState"
+
".proto\"\324\002\n\022ChapterStateNotify\022
\022
\n\
n
chapter"
+
"_
id
\030\
002
\001(\
r\022$\n\rc
hapter
_s
tate\0
30\t \001(\0162\r.Chapt
"
+
"er
State\022>\n\021need_player
_level\030\n \001(\0132#.Cha"
+
"
pterStateNotify.Need
PlayerLevel\022:\n\017need_"
+
"
begin_time\030\001 \001(\0132!.ChapterStateNotify.Ne
"
+
"e
dBeginTime
\032E\n\017NeedPlayerLevel\022\020\n\010is_lim"
+
".proto\"\324\002\n\022ChapterStateNotify\022
$
\n\
r
chapter"
+
"_
state
\030\
t
\001(\
0162\r.C
hapter
S
tate\0
22>\n\021need_play
"
+
"er_level\030\n \001(\0132#.Cha
pterStateNotify.Need
"
+
"PlayerLevel\022:\n\017need_
begin_time\030\001 \001(\0132!.C
"
+
"
hapterStateNotify.NeedBeginTime\022\022\n\nchapt
"
+
"e
r_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"
+
"(\r\032A\n\rNeedBeginTime\022\0
20
\n\0
10is_limit\030\007 \001(\010\022\036\
n"
+
"
\026config_need_begin_time
\030\00
3
\001(\
r
B\033\n\031emu.gra"
+
"(\r\032A\n\rNeedBeginTime\022\0
36
\n\0
26config_need_begi
n"
+
"
_time\030\003 \001(\r\022\020\n\010is_limit
\030\00
7
\001(\
010
B\033\n\031emu.gra"
+
"sscutter.net.protob\006proto3"
};
descriptor
=
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
...
...
@@ -2191,7 +2193,7 @@ public final class ChapterStateNotifyOuterClass {
internal_static_ChapterStateNotify_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
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_descriptor
.
getNestedTypes
().
get
(
0
);
internal_static_ChapterStateNotify_NeedPlayerLevel_fieldAccessorTable
=
new
...
...
@@ -2203,7 +2205,7 @@ public final class ChapterStateNotifyOuterClass {
internal_static_ChapterStateNotify_NeedBeginTime_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
internal_static_ChapterStateNotify_NeedBeginTime_descriptor
,
new
java
.
lang
.
String
[]
{
"IsLimit"
,
"ConfigNeedBeginTime"
,
});
new
java
.
lang
.
String
[]
{
"ConfigNeedBeginTime"
,
"IsLimit"
,
});
emu
.
grasscutter
.
net
.
proto
.
ChapterStateOuterClass
.
getDescriptor
();
}
...
...
src/generated/main/java/emu/grasscutter/net/proto/CheckAddItemExceedLimitNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -73,7 +73,8 @@ public final class CheckAddItemExceedLimitNotifyOuterClass {
* <pre>
* CmdId: 692
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CheckAddItemExceedLimitNotify}
...
...
@@ -652,7 +653,8 @@ public final class CheckAddItemExceedLimitNotifyOuterClass {
* <pre>
* CmdId: 692
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code CheckAddItemExceedLimitNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChooseCurAvatarTeamReqOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,7 @@ public final class ChooseCurAvatarTeamReqOuterClass {
* <pre>
* CmdId: 1796
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -283,7 +283,7 @@ public final class ChooseCurAvatarTeamReqOuterClass {
* <pre>
* CmdId: 1796
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ChooseCurAvatarTeamRspOuterClass.java
View file @
d575d1cc
...
...
@@ -34,7 +34,8 @@ public final class ChooseCurAvatarTeamRspOuterClass {
* <pre>
* CmdId: 1661
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChooseCurAvatarTeamRsp}
...
...
@@ -315,7 +316,8 @@ public final class ChooseCurAvatarTeamRspOuterClass {
* <pre>
* CmdId: 1661
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code ChooseCurAvatarTeamRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/ClientAbilityChangeNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -58,7 +58,7 @@ public final class ClientAbilityChangeNotifyOuterClass {
* <pre>
* CmdId: 1175
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -408,7 +408,7 @@ public final class ClientAbilityChangeNotifyOuterClass {
* <pre>
* CmdId: 1175
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ClientAbilityInitBeginNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,7 @@ public final class ClientAbilityInitBeginNotifyOuterClass {
* <pre>
* CmdId: 1112
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -283,7 +283,7 @@ public final class ClientAbilityInitBeginNotifyOuterClass {
* <pre>
* CmdId: 1112
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/ClientAbilityInitFinishNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -52,7 +52,7 @@ public final class ClientAbilityInitFinishNotifyOuterClass {
* <pre>
* CmdId: 1135
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -374,7 +374,7 @@ public final class ClientAbilityInitFinishNotifyOuterClass {
* <pre>
* CmdId: 1135
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
Prev
1
2
3
4
5
6
7
8
9
…
25
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment