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
Show whitespace changes
Inline
Side-by-side
src/generated/main/java/emu/grasscutter/net/proto/GadgetAutoPickDropInfoNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -46,7 +46,8 @@ public final class GadgetAutoPickDropInfoNotifyOuterClass {
* <pre>
* CmdId: 897
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GadgetAutoPickDropInfoNotify}
...
...
@@ -340,7 +341,8 @@ public final class GadgetAutoPickDropInfoNotifyOuterClass {
* <pre>
* CmdId: 897
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GadgetAutoPickDropInfoNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GadgetInteractReqOuterClass.java
View file @
d575d1cc
...
...
@@ -68,7 +68,7 @@ public final class GadgetInteractReqOuterClass {
* <pre>
* CmdId: 872
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -477,7 +477,7 @@ public final class GadgetInteractReqOuterClass {
* <pre>
* CmdId: 872
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GadgetInteractRspOuterClass.java
View file @
d575d1cc
...
...
@@ -62,7 +62,8 @@ public final class GadgetInteractRspOuterClass {
* <pre>
* CmdId: 898
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GadgetInteractRsp}
...
...
@@ -442,7 +443,8 @@ public final class GadgetInteractRspOuterClass {
* <pre>
* CmdId: 898
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GadgetInteractRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GadgetStateNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,8 @@ public final class GadgetStateNotifyOuterClass {
* <pre>
* CmdId: 812
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GadgetStateNotify}
...
...
@@ -349,7 +350,8 @@ public final class GadgetStateNotifyOuterClass {
* <pre>
* CmdId: 812
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GadgetStateNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetActivityInfoReqOuterClass.java
View file @
d575d1cc
...
...
@@ -37,9 +37,9 @@ public final class GetActivityInfoReqOuterClass {
}
/**
* <pre>
* CmdId: 20
67
* CmdId: 20
95
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -347,9 +347,9 @@ public final class GetActivityInfoReqOuterClass {
}
/**
* <pre>
* CmdId: 20
67
* CmdId: 20
95
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetActivityInfoRspOuterClass.java
View file @
d575d1cc
...
...
@@ -93,7 +93,8 @@ public final class GetActivityInfoRspOuterClass {
* <pre>
* CmdId: 2041
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetActivityInfoRsp}
...
...
@@ -561,7 +562,8 @@ public final class GetActivityInfoRspOuterClass {
* <pre>
* CmdId: 2041
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetActivityInfoRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetAllMailReqOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,7 @@ public final class GetAllMailReqOuterClass {
* <pre>
* CmdId: 1431
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -284,7 +284,7 @@ public final class GetAllMailReqOuterClass {
* <pre>
* CmdId: 1431
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetAllMailRspOuterClass.java
View file @
d575d1cc
...
...
@@ -64,7 +64,8 @@ public final class GetAllMailRspOuterClass {
* <pre>
* CmdId: 1475
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetAllMailRsp}
...
...
@@ -441,7 +442,8 @@ public final class GetAllMailRspOuterClass {
* <pre>
* CmdId: 1475
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetAllMailRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetAllUnlockNameCardRspOuterClass.java
View file @
d575d1cc
...
...
@@ -45,7 +45,7 @@ public final class GetAllUnlockNameCardRspOuterClass {
* <pre>
* CmdId: 4094
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -382,7 +382,7 @@ public final class GetAllUnlockNameCardRspOuterClass {
* <pre>
* CmdId: 4094
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyReqOuterClass.java
View file @
d575d1cc
...
...
@@ -46,7 +46,7 @@ public final class GetAuthkeyReqOuterClass {
* <pre>
* CmdId: 1490
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -383,7 +383,7 @@ public final class GetAuthkeyReqOuterClass {
* <pre>
* CmdId: 1490
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetAuthkeyRspOuterClass.java
View file @
d575d1cc
...
...
@@ -76,7 +76,8 @@ public final class GetAuthkeyRspOuterClass {
* <pre>
* CmdId: 1473
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetAuthkeyRsp}
...
...
@@ -549,7 +550,8 @@ public final class GetAuthkeyRspOuterClass {
* <pre>
* CmdId: 1473
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetAuthkeyRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetBattlePassProductReqOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,7 @@ public final class GetBattlePassProductReqOuterClass {
* <pre>
* CmdId: 2644
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -283,7 +283,7 @@ public final class GetBattlePassProductReqOuterClass {
* <pre>
* CmdId: 2644
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetBattlePassProductRspOuterClass.java
View file @
d575d1cc
...
...
@@ -25,16 +25,22 @@ public final class GetBattlePassProductRspOuterClass {
int
getRetcode
();
/**
* <code>
uint32 battle_pass_product_play_type
=
2
;</code>
* @return The
battlePassProductPlayType
.
* <code>
string price_tier
=
6
;</code>
* @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>
* @return The
curScheduleId
.
* <code>uint32
battle_pass_product_play_type
=
2
;</code>
* @return The
battlePassProductPlayType
.
*/
int
get
CurScheduleId
();
int
get
BattlePassProductPlayType
();
/**
* <code>string product_id = 1;</code>
...
...
@@ -49,22 +55,17 @@ public final class GetBattlePassProductRspOuterClass {
getProductIdBytes
();
/**
* <code>string price_tier = 6;</code>
* @return The priceTier.
*/
java
.
lang
.
String
getPriceTier
();
/**
* <code>string price_tier = 6;</code>
* @return The bytes for priceTier.
* <code>uint32 cur_schedule_id = 11;</code>
* @return The curScheduleId.
*/
com
.
google
.
protobuf
.
ByteString
getPriceTierBytes
();
int
getCurScheduleId
();
}
/**
* <pre>
* CmdId: 2649
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetBattlePassProductRsp}
...
...
@@ -79,8 +80,8 @@ public final class GetBattlePassProductRspOuterClass {
super
(
builder
);
}
private
GetBattlePassProductRsp
()
{
productId_
=
""
;
priceTier_
=
""
;
productId_
=
""
;
}
@java
.
lang
.
Override
...
...
@@ -183,6 +184,44 @@ public final class GetBattlePassProductRspOuterClass {
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
;
private
int
battlePassProductPlayType_
;
/**
...
...
@@ -194,17 +233,6 @@ public final class GetBattlePassProductRspOuterClass {
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
;
private
volatile
java
.
lang
.
Object
productId_
;
/**
...
...
@@ -243,42 +271,15 @@ public final class GetBattlePassProductRspOuterClass {
}
}
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
;
}
}
public
static
final
int
CUR_SCHEDULE_ID_FIELD_NUMBER
=
11
;
private
int
curScheduleId_
;
/**
* <code>
string price_tier
=
6
;</code>
* @return The
bytes for priceTier
.
* <code>
uint32 cur_schedule_id
=
11
;</code>
* @return The
curScheduleId
.
*/
@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
int
getCurScheduleId
()
{
return
curScheduleId_
;
}
private
byte
memoizedIsInitialized
=
-
1
;
...
...
@@ -354,14 +355,14 @@ public final class GetBattlePassProductRspOuterClass {
if
(
getRetcode
()
!=
other
.
getRetcode
())
return
false
;
if
(!
getPriceTier
()
.
equals
(
other
.
getPriceTier
()))
return
false
;
if
(
getBattlePassProductPlayType
()
!=
other
.
getBattlePassProductPlayType
())
return
false
;
if
(
getCurScheduleId
()
!=
other
.
getCurScheduleId
())
return
false
;
if
(!
getProductId
()
.
equals
(
other
.
getProductId
()))
return
false
;
if
(
!
get
PriceTier
()
.
equals
(
other
.
get
PriceTier
()
))
return
false
;
if
(
get
CurScheduleId
()
!=
other
.
get
CurScheduleId
(
))
return
false
;
if
(!
unknownFields
.
equals
(
other
.
unknownFields
))
return
false
;
return
true
;
}
...
...
@@ -375,14 +376,14 @@ public final class GetBattlePassProductRspOuterClass {
hash
=
(
19
*
hash
)
+
getDescriptor
().
hashCode
();
hash
=
(
37
*
hash
)
+
RETCODE_FIELD_NUMBER
;
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
=
(
53
*
hash
)
+
getBattlePassProductPlayType
();
hash
=
(
37
*
hash
)
+
CUR_SCHEDULE_ID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getCurScheduleId
();
hash
=
(
37
*
hash
)
+
PRODUCT_ID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getProductId
().
hashCode
();
hash
=
(
37
*
hash
)
+
PRICE_TIER
_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
get
PriceTier
().
hashCode
();
hash
=
(
37
*
hash
)
+
CUR_SCHEDULE_ID
_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
get
CurScheduleId
();
hash
=
(
29
*
hash
)
+
unknownFields
.
hashCode
();
memoizedHashCode
=
hash
;
return
hash
;
...
...
@@ -482,7 +483,8 @@ public final class GetBattlePassProductRspOuterClass {
* <pre>
* CmdId: 2649
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetBattlePassProductRsp}
...
...
@@ -524,13 +526,13 @@ public final class GetBattlePassProductRspOuterClass {
super
.
clear
();
retcode_
=
0
;
battlePassProductPlayType
_
=
0
;
priceTier
_
=
""
;
curScheduleId
_
=
0
;
battlePassProductPlayType
_
=
0
;
productId_
=
""
;
priceTier
_
=
""
;
curScheduleId
_
=
0
;
return
this
;
}
...
...
@@ -559,10 +561,10 @@ public final class GetBattlePassProductRspOuterClass {
public
emu
.
grasscutter
.
net
.
proto
.
GetBattlePassProductRspOuterClass
.
GetBattlePassProductRsp
buildPartial
()
{
emu
.
grasscutter
.
net
.
proto
.
GetBattlePassProductRspOuterClass
.
GetBattlePassProductRsp
result
=
new
emu
.
grasscutter
.
net
.
proto
.
GetBattlePassProductRspOuterClass
.
GetBattlePassProductRsp
(
this
);
result
.
retcode_
=
retcode_
;
result
.
priceTier_
=
priceTier_
;
result
.
battlePassProductPlayType_
=
battlePassProductPlayType_
;
result
.
curScheduleId_
=
curScheduleId_
;
result
.
productId_
=
productId_
;
result
.
priceTier_
=
priceTier
_
;
result
.
curScheduleId_
=
curScheduleId
_
;
onBuilt
();
return
result
;
}
...
...
@@ -614,19 +616,19 @@ public final class GetBattlePassProductRspOuterClass {
if
(
other
.
getRetcode
()
!=
0
)
{
setRetcode
(
other
.
getRetcode
());
}
if
(!
other
.
getPriceTier
().
isEmpty
())
{
priceTier_
=
other
.
priceTier_
;
onChanged
();
}
if
(
other
.
getBattlePassProductPlayType
()
!=
0
)
{
setBattlePassProductPlayType
(
other
.
getBattlePassProductPlayType
());
}
if
(
other
.
getCurScheduleId
()
!=
0
)
{
setCurScheduleId
(
other
.
getCurScheduleId
());
}
if
(!
other
.
getProductId
().
isEmpty
())
{
productId_
=
other
.
productId_
;
onChanged
();
}
if
(!
other
.
getPriceTier
().
isEmpty
())
{
priceTier_
=
other
.
priceTier_
;
onChanged
();
if
(
other
.
getCurScheduleId
()
!=
0
)
{
setCurScheduleId
(
other
.
getCurScheduleId
());
}
this
.
mergeUnknownFields
(
other
.
unknownFields
);
onChanged
();
...
...
@@ -688,64 +690,109 @@ public final class GetBattlePassProductRspOuterClass {
return
this
;
}
private
int
battlePassProductPlayType_
;
private
java
.
lang
.
Object
priceTier_
=
""
;
/**
* <code>
uint32 battle_pass_product_play_type
=
2
;</code>
* @return The
battlePassProductPlayType
.
* <code>
string price_tier
=
6
;</code>
* @return The
priceTier
.
*/
@java
.
lang
.
Override
public
int
getBattlePassProductPlayType
()
{
return
battlePassProductPlayType_
;
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>uint32 battle_pass_product_play_type = 2;</code>
* @param value The battlePassProductPlayType to set.
* <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>
* @param value The priceTier to set.
* @return This builder for chaining.
*/
public
Builder
setBattlePassProductPlayType
(
int
value
)
{
public
Builder
setPriceTier
(
java
.
lang
.
String
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
battlePassProductPlayType
_
=
value
;
priceTier
_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>
uint32 battle_pass_product_play_type
=
2
;</code>
* <code>
string price_tier
=
6
;</code>
* @return This builder for chaining.
*/
public
Builder
clear
BattlePassProductPlayType
()
{
public
Builder
clear
PriceTier
()
{
battlePassProductPlayType_
=
0
;
priceTier_
=
getDefaultInstance
().
getPriceTier
();
onChanged
();
return
this
;
}
/**
* <code>string price_tier = 6;</code>
* @param value The bytes for priceTier to set.
* @return This builder for chaining.
*/
public
Builder
setPriceTierBytes
(
com
.
google
.
protobuf
.
ByteString
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
checkByteStringIsUtf8
(
value
);
priceTier_
=
value
;
onChanged
();
return
this
;
}
private
int
curScheduleId
_
;
private
int
battlePassProductPlayType
_
;
/**
* <code>uint32
cur_schedule_id
=
11
;</code>
* @return The
curScheduleId
.
* <code>uint32
battle_pass_product_play_type
=
2
;</code>
* @return The
battlePassProductPlayType
.
*/
@java
.
lang
.
Override
public
int
get
CurScheduleId
()
{
return
curScheduleId
_
;
public
int
get
BattlePassProductPlayType
()
{
return
battlePassProductPlayType
_
;
}
/**
* <code>uint32
cur_schedule_id
=
11
;</code>
* @param value The
curScheduleId
to set.
* <code>uint32
battle_pass_product_play_type
=
2
;</code>
* @param value The
battlePassProductPlayType
to set.
* @return This builder for chaining.
*/
public
Builder
set
CurScheduleId
(
int
value
)
{
public
Builder
set
BattlePassProductPlayType
(
int
value
)
{
curScheduleId
_
=
value
;
battlePassProductPlayType
_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>uint32
cur_schedule_id
=
11
;</code>
* <code>uint32
battle_pass_product_play_type
=
2
;</code>
* @return This builder for chaining.
*/
public
Builder
clear
CurScheduleId
()
{
public
Builder
clear
BattlePassProductPlayType
()
{
curScheduleId
_
=
0
;
battlePassProductPlayType
_
=
0
;
onChanged
();
return
this
;
}
...
...
@@ -826,78 +873,33 @@ public final class GetBattlePassProductRspOuterClass {
return
this
;
}
private
java
.
lang
.
Object
priceTier_
=
""
;
/**
* <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
;
}
}
private
int
curScheduleId_
;
/**
* <code>string price_tier = 6;</code>
* @param value The priceTier to set.
* @return This builder for chaining.
* <code>uint32 cur_schedule_id = 11;</code>
* @return The curScheduleId.
*/
public
Builder
setPriceTier
(
java
.
lang
.
String
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
priceTier_
=
value
;
onChanged
();
return
this
;
@java
.
lang
.
Override
public
int
getCurScheduleId
()
{
return
curScheduleId_
;
}
/**
* <code>string price_tier = 6;</code>
* <code>uint32 cur_schedule_id = 11;</code>
* @param value The curScheduleId to set.
* @return This builder for chaining.
*/
public
Builder
clearPriceTier
(
)
{
public
Builder
setCurScheduleId
(
int
value
)
{
priceTier_
=
getDefaultInstance
().
getPriceTier
()
;
curScheduleId_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>string price_tier = 6;</code>
* @param value The bytes for priceTier to set.
* <code>uint32 cur_schedule_id = 11;</code>
* @return This builder for chaining.
*/
public
Builder
setPriceTierBytes
(
com
.
google
.
protobuf
.
ByteString
value
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
checkByteStringIsUtf8
(
value
);
public
Builder
clearCurScheduleId
()
{
priceTier_
=
value
;
curScheduleId_
=
0
;
onChanged
();
return
this
;
}
...
...
@@ -969,10 +971,10 @@ public final class GetBattlePassProductRspOuterClass {
static
{
java
.
lang
.
String
[]
descriptorData
=
{
"\n\035GetBattlePassProductRsp.proto\"\222\001\n\027GetB"
+
"attlePassProductRsp\022\017\n\007retcode\030\016 \001(\005\022
%\n\035
"
+
"
battle_pass_product_play_type
\030\00
2
\001(\
r
\022
\027\n\017c
"
+
"
ur_schedule_id
\030\0
13
\001(\r\022\022\n\nproduct_id\030\001 \001(\t"
+
"
\022\022\n\nprice_tier
\030\0
06
\001(\
t
B\033\n\031emu.grasscutter."
+
"attlePassProductRsp\022\017\n\007retcode\030\016 \001(\005\022
\022\n\n
"
+
"
price_tier
\030\00
6
\001(\
t
\022
%\n\035battle_pass_product_
"
+
"
play_type
\030\0
02
\001(\r\022\022\n\nproduct_id\030\001 \001(\t
\022\027\n\017c
"
+
"
ur_schedule_id
\030\0
13
\001(\
r
B\033\n\031emu.grasscutter."
+
"net.protob\006proto3"
};
descriptor
=
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
...
...
@@ -984,7 +986,7 @@ public final class GetBattlePassProductRspOuterClass {
internal_static_GetBattlePassProductRsp_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
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)
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetDailyDungeonEntryInfoReqOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,7 @@ public final class GetDailyDungeonEntryInfoReqOuterClass {
* <pre>
* CmdId: 930
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -283,7 +283,7 @@ public final class GetDailyDungeonEntryInfoReqOuterClass {
* <pre>
* CmdId: 930
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetDailyDungeonEntryInfoRspOuterClass.java
View file @
d575d1cc
...
...
@@ -52,7 +52,8 @@ public final class GetDailyDungeonEntryInfoRspOuterClass {
* <pre>
* CmdId: 967
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetDailyDungeonEntryInfoRsp}
...
...
@@ -373,7 +374,8 @@ public final class GetDailyDungeonEntryInfoRspOuterClass {
* <pre>
* CmdId: 967
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetDailyDungeonEntryInfoRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetFriendShowAvatarInfoReqOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,7 @@ public final class GetFriendShowAvatarInfoReqOuterClass {
* <pre>
* CmdId: 4070
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -283,7 +283,7 @@ public final class GetFriendShowAvatarInfoReqOuterClass {
* <pre>
* CmdId: 4070
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetFriendShowAvatarInfoRspOuterClass.java
View file @
d575d1cc
...
...
@@ -58,7 +58,8 @@ public final class GetFriendShowAvatarInfoRspOuterClass {
* <pre>
* CmdId: 4017
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetFriendShowAvatarInfoRsp}
...
...
@@ -406,7 +407,8 @@ public final class GetFriendShowAvatarInfoRspOuterClass {
* <pre>
* CmdId: 4017
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetFriendShowAvatarInfoRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetFurnitureCurModuleArrangeCountReqOuterClass.java
View file @
d575d1cc
...
...
@@ -22,7 +22,7 @@ public final class GetFurnitureCurModuleArrangeCountReqOuterClass {
* <pre>
* CmdId: 4711
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -250,7 +250,7 @@ public final class GetFurnitureCurModuleArrangeCountReqOuterClass {
* <pre>
* CmdId: 4711
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetGachaInfoRspOuterClass.java
View file @
d575d1cc
...
...
@@ -70,7 +70,8 @@ public final class GetGachaInfoRspOuterClass {
* <pre>
* CmdId: 1598
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetGachaInfoRsp}
...
...
@@ -473,7 +474,8 @@ public final class GetGachaInfoRspOuterClass {
* <pre>
* CmdId: 1598
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code GetGachaInfoRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/GetInvestigationMonsterReqOuterClass.java
View file @
d575d1cc
...
...
@@ -45,7 +45,7 @@ public final class GetInvestigationMonsterReqOuterClass {
* <pre>
* CmdId: 1901
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -383,7 +383,7 @@ public final class GetInvestigationMonsterReqOuterClass {
* <pre>
* CmdId: 1901
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
Prev
1
…
6
7
8
9
10
11
12
13
14
…
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