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/AskAddFriendRspOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,7 @@ public final class AskAddFriendRspOuterClass {
* <pre>
* CmdId: 4021
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -349,7 +349,7 @@ public final class AskAddFriendRspOuterClass {
* <pre>
* CmdId: 4021
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarAddNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -43,7 +43,8 @@ public final class AvatarAddNotifyOuterClass {
* <pre>
* CmdId: 1769
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarAddNotify}
...
...
@@ -353,7 +354,8 @@ public final class AvatarAddNotifyOuterClass {
* <pre>
* CmdId: 1769
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarAddNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarChangeCostumeNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -37,7 +37,8 @@ public final class AvatarChangeCostumeNotifyOuterClass {
* <pre>
* CmdId: 1644
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeNotify}
...
...
@@ -319,7 +320,8 @@ public final class AvatarChangeCostumeNotifyOuterClass {
* <pre>
* CmdId: 1644
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarChangeCostumeReqOuterClass.java
View file @
d575d1cc
...
...
@@ -34,7 +34,7 @@ public final class AvatarChangeCostumeReqOuterClass {
* <pre>
* CmdId: 1778
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -317,7 +317,7 @@ public final class AvatarChangeCostumeReqOuterClass {
* <pre>
* CmdId: 1778
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarChangeCostumeRspOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,8 @@ public final class AvatarChangeCostumeRspOuterClass {
* <pre>
* CmdId: 1645
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeRsp}
...
...
@@ -349,7 +350,8 @@ public final class AvatarChangeCostumeRspOuterClass {
* <pre>
* CmdId: 1645
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeCostumeRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarChangeElementTypeReqOuterClass.java
View file @
d575d1cc
...
...
@@ -34,7 +34,7 @@ public final class AvatarChangeElementTypeReqOuterClass {
* <pre>
* CmdId: 1785
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -316,7 +316,7 @@ public final class AvatarChangeElementTypeReqOuterClass {
* <pre>
* CmdId: 1785
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarChangeElementTypeRspOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,8 @@ public final class AvatarChangeElementTypeRspOuterClass {
* <pre>
* CmdId: 1651
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeElementTypeRsp}
...
...
@@ -282,7 +283,8 @@ public final class AvatarChangeElementTypeRspOuterClass {
* <pre>
* CmdId: 1651
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarChangeElementTypeRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarDataNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -19,68 +19,78 @@ public final class AvatarDataNotifyOuterClass {
com
.
google
.
protobuf
.
MessageOrBuilder
{
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* @return A list containing the owned
Flycloak
List.
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @return A list containing the owned
Costume
List.
*/
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwned
Flycloak
ListList
();
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwned
Costume
ListList
();
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* @return The count of owned
Flycloak
List.
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @return The count of owned
Costume
List.
*/
int
getOwned
Flycloak
ListCount
();
int
getOwned
Costume
ListCount
();
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @param index The index of the element to return.
* @return The owned
Flycloak
List at the given index.
* @return The owned
Costume
List at the given index.
*/
int
getOwned
Flycloak
List
(
int
index
);
int
getOwned
Costume
List
(
int
index
);
/**
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* @return The c
ur
Avatar
TeamI
d.
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* @return The c
hoose
Avatar
Gui
d.
*/
int
getC
ur
Avatar
TeamI
d
();
long
getC
hoose
Avatar
Gui
d
();
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
getAvatarListList
();
int
getAvatarTeamMapCount
();
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
getAvatarList
(
int
index
);
boolean
containsAvatarTeamMap
(
int
key
);
/**
*
<code>repeated .AvatarInfo avatar_list = 6;</code>
*
Use {@link #getAvatarTeamMapMap()} instead.
*/
int
getAvatarListCount
();
@java
.
lang
.
Deprecated
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getAvatarTeamMap
();
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
java
.
util
.
List
<?
extends
emu
.
grasscutter
.
net
.
proto
.
Avatar
Info
OuterClass
.
Avatar
InfoOrBuilder
>
getAvatar
ListOrBuilderList
();
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
Avatar
Team
OuterClass
.
Avatar
Team
>
getAvatar
TeamMapMap
();
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
getAvatarListOrBuilder
(
int
index
);
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrDefault
(
int
key
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
defaultValue
);
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* @return A list containing the ownedCostumeList.
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
*/
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwnedCostumeListList
();
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrThrow
(
int
key
);
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* @return
The
co
u
nt
of ownedCostumeList
.
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @return
A list
cont
aining the unk3000NIGPICLBHMA
.
*/
int
getOwnedCostumeListCoun
t
();
java
.
util
.
List
<
java
.
lang
.
Integer
>
getUnk3000NIGPICLBHMALis
t
();
/**
* <code>repeated uint32 owned_costume_list = 11;</code>
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return The count of unk3000NIGPICLBHMA.
*/
int
getUnk3000NIGPICLBHMACount
();
/**
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param index The index of the element to return.
* @return The
ownedCostumeList
at the given index.
* @return The
unk3000NIGPICLBHMA
at the given index.
*/
int
get
OwnedCostumeList
(
int
index
);
int
get
Unk3000NIGPICLBHMA
(
int
index
);
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
...
...
@@ -100,50 +110,58 @@ public final class AvatarDataNotifyOuterClass {
long
getTempAvatarGuidList
(
int
index
);
/**
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
int
getAvatarTeamMapCoun
t
();
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwnedFlycloakListLis
t
();
/**
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
boolean
containsAvatarTeamMap
(
int
key
);
int
getOwnedFlycloakListCount
();
/**
* Use {@link #getAvatarTeamMapMap()} instead.
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
@java
.
lang
.
Deprecated
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getAvatarTeamMap
();
int
getOwnedFlycloakList
(
int
index
);
/**
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
*/
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
Avatar
Team
OuterClass
.
Avatar
Team
>
getAvatar
TeamMapMap
();
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
Avatar
Info
OuterClass
.
Avatar
Info
>
getAvatar
ListList
();
/**
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
*/
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrDefault
(
int
key
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
defaultValue
);
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
getAvatarList
(
int
index
);
/**
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
*/
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrThrow
(
int
key
);
int
getAvatarListCount
();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
java
.
util
.
List
<?
extends
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
getAvatarListOrBuilderList
();
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
getAvatarListOrBuilder
(
int
index
);
/**
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* @return The c
hoose
Avatar
Gui
d.
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* @return The c
ur
Avatar
TeamI
d.
*/
long
getC
hoose
Avatar
Gui
d
();
int
getC
ur
Avatar
TeamI
d
();
}
/**
* <pre>
* CmdId: 1633
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDataNotify}
...
...
@@ -158,10 +176,11 @@ public final class AvatarDataNotifyOuterClass {
super
(
builder
);
}
private
AvatarDataNotify
()
{
ownedFlycloakList_
=
emptyIntList
();
avatarList_
=
java
.
util
.
Collections
.
emptyList
();
ownedCostumeList_
=
emptyIntList
();
unk3000NIGPICLBHMA_
=
emptyIntList
();
tempAvatarGuidList_
=
emptyLongList
();
ownedFlycloakList_
=
emptyIntList
();
avatarList_
=
java
.
util
.
Collections
.
emptyList
();
}
@java
.
lang
.
Override
...
...
@@ -196,9 +215,9 @@ public final class AvatarDataNotifyOuterClass {
done
=
true
;
break
;
case
8
:
{
if
(!((
mutable_bitField0_
&
0x000000
0
1
)
!=
0
))
{
if
(!((
mutable_bitField0_
&
0x0000001
0
)
!=
0
))
{
ownedFlycloakList_
=
newIntList
();
mutable_bitField0_
|=
0x000000
0
1
;
mutable_bitField0_
|=
0x0000001
0
;
}
ownedFlycloakList_
.
addInt
(
input
.
readUInt32
());
break
;
...
...
@@ -206,9 +225,9 @@ public final class AvatarDataNotifyOuterClass {
case
10
:
{
int
length
=
input
.
readRawVarint32
();
int
limit
=
input
.
pushLimit
(
length
);
if
(!((
mutable_bitField0_
&
0x000000
0
1
)
!=
0
)
&&
input
.
getBytesUntilLimit
()
>
0
)
{
if
(!((
mutable_bitField0_
&
0x0000001
0
)
!=
0
)
&&
input
.
getBytesUntilLimit
()
>
0
)
{
ownedFlycloakList_
=
newIntList
();
mutable_bitField0_
|=
0x000000
0
1
;
mutable_bitField0_
|=
0x0000001
0
;
}
while
(
input
.
getBytesUntilLimit
()
>
0
)
{
ownedFlycloakList_
.
addInt
(
input
.
readUInt32
());
...
...
@@ -222,19 +241,19 @@ public final class AvatarDataNotifyOuterClass {
break
;
}
case
50
:
{
if
(!((
mutable_bitField0_
&
0x000000
0
2
)
!=
0
))
{
if
(!((
mutable_bitField0_
&
0x0000002
0
)
!=
0
))
{
avatarList_
=
new
java
.
util
.
ArrayList
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>();
mutable_bitField0_
|=
0x000000
0
2
;
mutable_bitField0_
|=
0x0000002
0
;
}
avatarList_
.
add
(
input
.
readMessage
(
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
parser
(),
extensionRegistry
));
break
;
}
case
58
:
{
if
(!((
mutable_bitField0_
&
0x000000
1
0
)
!=
0
))
{
if
(!((
mutable_bitField0_
&
0x0000000
2
)
!=
0
))
{
avatarTeamMap_
=
com
.
google
.
protobuf
.
MapField
.
newMapField
(
AvatarTeamMapDefaultEntryHolder
.
defaultEntry
);
mutable_bitField0_
|=
0x000000
1
0
;
mutable_bitField0_
|=
0x0000000
2
;
}
com
.
google
.
protobuf
.
MapEntry
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
avatarTeamMap__
=
input
.
readMessage
(
...
...
@@ -248,20 +267,41 @@ public final class AvatarDataNotifyOuterClass {
chooseAvatarGuid_
=
input
.
readUInt64
();
break
;
}
case
88
:
{
case
72
:
{
if
(!((
mutable_bitField0_
&
0x00000004
)
!=
0
))
{
ownedCostumeList_
=
newIntList
();
unk3000NIGPICLBHMA_
=
newIntList
();
mutable_bitField0_
|=
0x00000004
;
}
unk3000NIGPICLBHMA_
.
addInt
(
input
.
readUInt32
());
break
;
}
case
74
:
{
int
length
=
input
.
readRawVarint32
();
int
limit
=
input
.
pushLimit
(
length
);
if
(!((
mutable_bitField0_
&
0x00000004
)
!=
0
)
&&
input
.
getBytesUntilLimit
()
>
0
)
{
unk3000NIGPICLBHMA_
=
newIntList
();
mutable_bitField0_
|=
0x00000004
;
}
while
(
input
.
getBytesUntilLimit
()
>
0
)
{
unk3000NIGPICLBHMA_
.
addInt
(
input
.
readUInt32
());
}
input
.
popLimit
(
limit
);
break
;
}
case
88
:
{
if
(!((
mutable_bitField0_
&
0x00000001
)
!=
0
))
{
ownedCostumeList_
=
newIntList
();
mutable_bitField0_
|=
0x00000001
;
}
ownedCostumeList_
.
addInt
(
input
.
readUInt32
());
break
;
}
case
90
:
{
int
length
=
input
.
readRawVarint32
();
int
limit
=
input
.
pushLimit
(
length
);
if
(!((
mutable_bitField0_
&
0x0000000
4
)
!=
0
)
&&
input
.
getBytesUntilLimit
()
>
0
)
{
if
(!((
mutable_bitField0_
&
0x0000000
1
)
!=
0
)
&&
input
.
getBytesUntilLimit
()
>
0
)
{
ownedCostumeList_
=
newIntList
();
mutable_bitField0_
|=
0x0000000
4
;
mutable_bitField0_
|=
0x0000000
1
;
}
while
(
input
.
getBytesUntilLimit
()
>
0
)
{
ownedCostumeList_
.
addInt
(
input
.
readUInt32
());
...
...
@@ -305,13 +345,16 @@ public final class AvatarDataNotifyOuterClass {
throw
new
com
.
google
.
protobuf
.
InvalidProtocolBufferException
(
e
).
setUnfinishedMessage
(
this
);
}
finally
{
if
(((
mutable_bitField0_
&
0x000000
0
1
)
!=
0
))
{
if
(((
mutable_bitField0_
&
0x0000001
0
)
!=
0
))
{
ownedFlycloakList_
.
makeImmutable
();
// C
}
if
(((
mutable_bitField0_
&
0x000000
0
2
)
!=
0
))
{
if
(((
mutable_bitField0_
&
0x0000002
0
)
!=
0
))
{
avatarList_
=
java
.
util
.
Collections
.
unmodifiableList
(
avatarList_
);
}
if
(((
mutable_bitField0_
&
0x00000004
)
!=
0
))
{
unk3000NIGPICLBHMA_
.
makeImmutable
();
// C
}
if
(((
mutable_bitField0_
&
0x00000001
)
!=
0
))
{
ownedCostumeList_
.
makeImmutable
();
// C
}
if
(((
mutable_bitField0_
&
0x00000008
)
!=
0
))
{
...
...
@@ -346,85 +389,6 @@ public final class AvatarDataNotifyOuterClass {
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
.
class
,
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
.
Builder
.
class
);
}
public
static
final
int
OWNED_FLYCLOAK_LIST_FIELD_NUMBER
=
1
;
private
com
.
google
.
protobuf
.
Internal
.
IntList
ownedFlycloakList_
;
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwnedFlycloakListList
()
{
return
ownedFlycloakList_
;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
public
int
getOwnedFlycloakListCount
()
{
return
ownedFlycloakList_
.
size
();
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
public
int
getOwnedFlycloakList
(
int
index
)
{
return
ownedFlycloakList_
.
getInt
(
index
);
}
private
int
ownedFlycloakListMemoizedSerializedSize
=
-
1
;
public
static
final
int
CUR_AVATAR_TEAM_ID_FIELD_NUMBER
=
2
;
private
int
curAvatarTeamId_
;
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
*/
@java
.
lang
.
Override
public
int
getCurAvatarTeamId
()
{
return
curAvatarTeamId_
;
}
public
static
final
int
AVATAR_LIST_FIELD_NUMBER
=
6
;
private
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
avatarList_
;
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
getAvatarListList
()
{
return
avatarList_
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<?
extends
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
getAvatarListOrBuilderList
()
{
return
avatarList_
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
int
getAvatarListCount
()
{
return
avatarList_
.
size
();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
getAvatarList
(
int
index
)
{
return
avatarList_
.
get
(
index
);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
getAvatarListOrBuilder
(
int
index
)
{
return
avatarList_
.
get
(
index
);
}
public
static
final
int
OWNED_COSTUME_LIST_FIELD_NUMBER
=
11
;
private
com
.
google
.
protobuf
.
Internal
.
IntList
ownedCostumeList_
;
/**
...
...
@@ -453,33 +417,16 @@ public final class AvatarDataNotifyOuterClass {
}
private
int
ownedCostumeListMemoizedSerializedSize
=
-
1
;
public
static
final
int
TEMP
_AVATAR_GUID_
LIST_
FIELD_NUMBER
=
12
;
private
com
.
google
.
protobuf
.
Internal
.
LongList
temp
AvatarGuid
List
_
;
public
static
final
int
CHOOSE
_AVATAR_GUID_FIELD_NUMBER
=
8
;
private
long
choose
AvatarGuid_
;
/**
* <code>
repeated
uint64
temp
_avatar_guid
_list
=
12
;</code>
* @return
A list containing the temp
AvatarGuid
List
.
* <code>uint64
choose
_avatar_guid =
8
;</code>
* @return
The choose
AvatarGuid.
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<
java
.
lang
.
Long
>
getTempAvatarGuidListList
()
{
return
tempAvatarGuidList_
;
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @return The count of tempAvatarGuidList.
*/
public
int
getTempAvatarGuidListCount
()
{
return
tempAvatarGuidList_
.
size
();
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @param index The index of the element to return.
* @return The tempAvatarGuidList at the given index.
*/
public
long
getTempAvatarGuidList
(
int
index
)
{
return
tempAvatarGuidList_
.
getLong
(
index
);
public
long
getChooseAvatarGuid
()
{
return
chooseAvatarGuid_
;
}
private
int
tempAvatarGuidListMemoizedSerializedSize
=
-
1
;
public
static
final
int
AVATAR_TEAM_MAP_FIELD_NUMBER
=
7
;
private
static
final
class
AvatarTeamMapDefaultEntryHolder
{
...
...
@@ -562,15 +509,139 @@ public final class AvatarDataNotifyOuterClass {
return
map
.
get
(
key
);
}
public
static
final
int
CHOOSE_AVATAR_GUID
_FIELD_NUMBER
=
8
;
private
long
chooseAvatarGuid
_
;
public
static
final
int
UNK3000_NIGPICLBHMA
_FIELD_NUMBER
=
9
;
private
com
.
google
.
protobuf
.
Internal
.
IntList
unk3000NIGPICLBHMA
_
;
/**
* <code>
uint64 choose_avatar_guid
=
8
;</code>
* @return
The chooseAvatarGuid
.
* <code>
repeated uint32 Unk3000_NIGPICLBHMA
=
9
;</code>
* @return
A list containing the unk3000NIGPICLBHMA
.
*/
@java
.
lang
.
Override
public
long
getChooseAvatarGuid
()
{
return
chooseAvatarGuid_
;
public
java
.
util
.
List
<
java
.
lang
.
Integer
>
getUnk3000NIGPICLBHMAList
()
{
return
unk3000NIGPICLBHMA_
;
}
/**
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @return The count of unk3000NIGPICLBHMA.
*/
public
int
getUnk3000NIGPICLBHMACount
()
{
return
unk3000NIGPICLBHMA_
.
size
();
}
/**
* <code>repeated uint32 Unk3000_NIGPICLBHMA = 9;</code>
* @param index The index of the element to return.
* @return The unk3000NIGPICLBHMA at the given index.
*/
public
int
getUnk3000NIGPICLBHMA
(
int
index
)
{
return
unk3000NIGPICLBHMA_
.
getInt
(
index
);
}
private
int
unk3000NIGPICLBHMAMemoizedSerializedSize
=
-
1
;
public
static
final
int
TEMP_AVATAR_GUID_LIST_FIELD_NUMBER
=
12
;
private
com
.
google
.
protobuf
.
Internal
.
LongList
tempAvatarGuidList_
;
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @return A list containing the tempAvatarGuidList.
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<
java
.
lang
.
Long
>
getTempAvatarGuidListList
()
{
return
tempAvatarGuidList_
;
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @return The count of tempAvatarGuidList.
*/
public
int
getTempAvatarGuidListCount
()
{
return
tempAvatarGuidList_
.
size
();
}
/**
* <code>repeated uint64 temp_avatar_guid_list = 12;</code>
* @param index The index of the element to return.
* @return The tempAvatarGuidList at the given index.
*/
public
long
getTempAvatarGuidList
(
int
index
)
{
return
tempAvatarGuidList_
.
getLong
(
index
);
}
private
int
tempAvatarGuidListMemoizedSerializedSize
=
-
1
;
public
static
final
int
OWNED_FLYCLOAK_LIST_FIELD_NUMBER
=
1
;
private
com
.
google
.
protobuf
.
Internal
.
IntList
ownedFlycloakList_
;
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwnedFlycloakListList
()
{
return
ownedFlycloakList_
;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
public
int
getOwnedFlycloakListCount
()
{
return
ownedFlycloakList_
.
size
();
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
public
int
getOwnedFlycloakList
(
int
index
)
{
return
ownedFlycloakList_
.
getInt
(
index
);
}
private
int
ownedFlycloakListMemoizedSerializedSize
=
-
1
;
public
static
final
int
AVATAR_LIST_FIELD_NUMBER
=
6
;
private
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
avatarList_
;
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
getAvatarListList
()
{
return
avatarList_
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
java
.
util
.
List
<?
extends
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
getAvatarListOrBuilderList
()
{
return
avatarList_
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
int
getAvatarListCount
()
{
return
avatarList_
.
size
();
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
getAvatarList
(
int
index
)
{
return
avatarList_
.
get
(
index
);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
getAvatarListOrBuilder
(
int
index
)
{
return
avatarList_
.
get
(
index
);
}
public
static
final
int
CUR_AVATAR_TEAM_ID_FIELD_NUMBER
=
2
;
private
int
curAvatarTeamId_
;
/**
* <code>uint32 cur_avatar_team_id = 2;</code>
* @return The curAvatarTeamId.
*/
@java
.
lang
.
Override
public
int
getCurAvatarTeamId
()
{
return
curAvatarTeamId_
;
}
private
byte
memoizedIsInitialized
=
-
1
;
...
...
@@ -610,6 +681,13 @@ public final class AvatarDataNotifyOuterClass {
if
(
chooseAvatarGuid_
!=
0L
)
{
output
.
writeUInt64
(
8
,
chooseAvatarGuid_
);
}
if
(
getUnk3000NIGPICLBHMAList
().
size
()
>
0
)
{
output
.
writeUInt32NoTag
(
74
);
output
.
writeUInt32NoTag
(
unk3000NIGPICLBHMAMemoizedSerializedSize
);
}
for
(
int
i
=
0
;
i
<
unk3000NIGPICLBHMA_
.
size
();
i
++)
{
output
.
writeUInt32NoTag
(
unk3000NIGPICLBHMA_
.
getInt
(
i
));
}
if
(
getOwnedCostumeListList
().
size
()
>
0
)
{
output
.
writeUInt32NoTag
(
90
);
output
.
writeUInt32NoTag
(
ownedCostumeListMemoizedSerializedSize
);
...
...
@@ -669,6 +747,20 @@ public final class AvatarDataNotifyOuterClass {
size
+=
com
.
google
.
protobuf
.
CodedOutputStream
.
computeUInt64Size
(
8
,
chooseAvatarGuid_
);
}
{
int
dataSize
=
0
;
for
(
int
i
=
0
;
i
<
unk3000NIGPICLBHMA_
.
size
();
i
++)
{
dataSize
+=
com
.
google
.
protobuf
.
CodedOutputStream
.
computeUInt32SizeNoTag
(
unk3000NIGPICLBHMA_
.
getInt
(
i
));
}
size
+=
dataSize
;
if
(!
getUnk3000NIGPICLBHMAList
().
isEmpty
())
{
size
+=
1
;
size
+=
com
.
google
.
protobuf
.
CodedOutputStream
.
computeInt32SizeNoTag
(
dataSize
);
}
unk3000NIGPICLBHMAMemoizedSerializedSize
=
dataSize
;
}
{
int
dataSize
=
0
;
for
(
int
i
=
0
;
i
<
ownedCostumeList_
.
size
();
i
++)
{
...
...
@@ -712,20 +804,22 @@ public final class AvatarDataNotifyOuterClass {
}
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
other
=
(
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
)
obj
;
if
(!
getOwnedFlycloakListList
()
.
equals
(
other
.
getOwnedFlycloakListList
()))
return
false
;
if
(
getCurAvatarTeamId
()
!=
other
.
getCurAvatarTeamId
())
return
false
;
if
(!
getAvatarListList
()
.
equals
(
other
.
getAvatarListList
()))
return
false
;
if
(!
getOwnedCostumeListList
()
.
equals
(
other
.
getOwnedCostumeListList
()))
return
false
;
if
(!
getTempAvatarGuidListList
()
.
equals
(
other
.
getTempAvatarGuidListList
()))
return
false
;
if
(!
internalGetAvatarTeamMap
().
equals
(
other
.
internalGetAvatarTeamMap
()))
return
false
;
if
(
getChooseAvatarGuid
()
!=
other
.
getChooseAvatarGuid
())
return
false
;
if
(!
internalGetAvatarTeamMap
().
equals
(
other
.
internalGetAvatarTeamMap
()))
return
false
;
if
(!
getUnk3000NIGPICLBHMAList
()
.
equals
(
other
.
getUnk3000NIGPICLBHMAList
()))
return
false
;
if
(!
getTempAvatarGuidListList
()
.
equals
(
other
.
getTempAvatarGuidListList
()))
return
false
;
if
(!
getOwnedFlycloakListList
()
.
equals
(
other
.
getOwnedFlycloakListList
()))
return
false
;
if
(!
getAvatarListList
()
.
equals
(
other
.
getAvatarListList
()))
return
false
;
if
(
getCurAvatarTeamId
()
!=
other
.
getCurAvatarTeamId
())
return
false
;
if
(!
unknownFields
.
equals
(
other
.
unknownFields
))
return
false
;
return
true
;
}
...
...
@@ -737,31 +831,35 @@ public final class AvatarDataNotifyOuterClass {
}
int
hash
=
41
;
hash
=
(
19
*
hash
)
+
getDescriptor
().
hashCode
();
if
(
getOwnedFlycloakListCount
()
>
0
)
{
hash
=
(
37
*
hash
)
+
OWNED_FLYCLOAK_LIST_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getOwnedFlycloakListList
().
hashCode
();
}
hash
=
(
37
*
hash
)
+
CUR_AVATAR_TEAM_ID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getCurAvatarTeamId
();
if
(
getAvatarListCount
()
>
0
)
{
hash
=
(
37
*
hash
)
+
AVATAR_LIST_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getAvatarListList
().
hashCode
();
}
if
(
getOwnedCostumeListCount
()
>
0
)
{
hash
=
(
37
*
hash
)
+
OWNED_COSTUME_LIST_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getOwnedCostumeListList
().
hashCode
();
}
hash
=
(
37
*
hash
)
+
CHOOSE_AVATAR_GUID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
com
.
google
.
protobuf
.
Internal
.
hashLong
(
getChooseAvatarGuid
());
if
(!
internalGetAvatarTeamMap
().
getMap
().
isEmpty
())
{
hash
=
(
37
*
hash
)
+
AVATAR_TEAM_MAP_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
internalGetAvatarTeamMap
().
hashCode
();
}
if
(
getUnk3000NIGPICLBHMACount
()
>
0
)
{
hash
=
(
37
*
hash
)
+
UNK3000_NIGPICLBHMA_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getUnk3000NIGPICLBHMAList
().
hashCode
();
}
if
(
getTempAvatarGuidListCount
()
>
0
)
{
hash
=
(
37
*
hash
)
+
TEMP_AVATAR_GUID_LIST_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getTempAvatarGuidListList
().
hashCode
();
}
if
(
!
internalGetAvatarTeamMap
().
getMap
().
isEmpty
()
)
{
hash
=
(
37
*
hash
)
+
AVATAR_TEAM_MAP
_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
internalGetAvatarTeamMap
().
hashCode
();
if
(
getOwnedFlycloakListCount
()
>
0
)
{
hash
=
(
37
*
hash
)
+
OWNED_FLYCLOAK_LIST
_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getOwnedFlycloakListList
().
hashCode
();
}
hash
=
(
37
*
hash
)
+
CHOOSE_AVATAR_GUID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
com
.
google
.
protobuf
.
Internal
.
hashLong
(
getChooseAvatarGuid
());
if
(
getAvatarListCount
()
>
0
)
{
hash
=
(
37
*
hash
)
+
AVATAR_LIST_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getAvatarListList
().
hashCode
();
}
hash
=
(
37
*
hash
)
+
CUR_AVATAR_TEAM_ID_FIELD_NUMBER
;
hash
=
(
53
*
hash
)
+
getCurAvatarTeamId
();
hash
=
(
29
*
hash
)
+
unknownFields
.
hashCode
();
memoizedHashCode
=
hash
;
return
hash
;
...
...
@@ -861,7 +959,8 @@ public final class AvatarDataNotifyOuterClass {
* <pre>
* CmdId: 1633
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDataNotify}
...
...
@@ -924,22 +1023,24 @@ public final class AvatarDataNotifyOuterClass {
@java
.
lang
.
Override
public
Builder
clear
()
{
super
.
clear
();
owned
Flycloak
List_
=
emptyIntList
();
owned
Costume
List_
=
emptyIntList
();
bitField0_
=
(
bitField0_
&
~
0x00000001
);
c
ur
Avatar
TeamI
d_
=
0
;
c
hoose
Avatar
Gui
d_
=
0
L
;
internalGetMutableAvatarTeamMap
().
clear
();
unk3000NIGPICLBHMA_
=
emptyIntList
();
bitField0_
=
(
bitField0_
&
~
0x00000004
);
tempAvatarGuidList_
=
emptyLongList
();
bitField0_
=
(
bitField0_
&
~
0x00000008
);
ownedFlycloakList_
=
emptyIntList
();
bitField0_
=
(
bitField0_
&
~
0x00000010
);
if
(
avatarListBuilder_
==
null
)
{
avatarList_
=
java
.
util
.
Collections
.
emptyList
();
bitField0_
=
(
bitField0_
&
~
0x000000
0
2
);
bitField0_
=
(
bitField0_
&
~
0x0000002
0
);
}
else
{
avatarListBuilder_
.
clear
();
}
ownedCostumeList_
=
emptyIntList
();
bitField0_
=
(
bitField0_
&
~
0x00000004
);
tempAvatarGuidList_
=
emptyLongList
();
bitField0_
=
(
bitField0_
&
~
0x00000008
);
internalGetMutableAvatarTeamMap
().
clear
();
chooseAvatarGuid_
=
0L
;
curAvatarTeamId_
=
0
;
return
this
;
}
...
...
@@ -969,33 +1070,38 @@ public final class AvatarDataNotifyOuterClass {
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
result
=
new
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
(
this
);
int
from_bitField0_
=
bitField0_
;
if
(((
bitField0_
&
0x00000001
)
!=
0
))
{
owned
Flycloak
List_
.
makeImmutable
();
owned
Costume
List_
.
makeImmutable
();
bitField0_
=
(
bitField0_
&
~
0x00000001
);
}
result
.
ownedFlycloakList_
=
ownedFlycloakList_
;
result
.
curAvatarTeamId_
=
curAvatarTeamId_
;
if
(
avatarListBuilder_
==
null
)
{
if
(((
bitField0_
&
0x00000002
)
!=
0
))
{
avatarList_
=
java
.
util
.
Collections
.
unmodifiableList
(
avatarList_
);
bitField0_
=
(
bitField0_
&
~
0x00000002
);
}
result
.
avatarList_
=
avatarList_
;
}
else
{
result
.
avatarList_
=
avatarListBuilder_
.
build
();
}
result
.
ownedCostumeList_
=
ownedCostumeList_
;
result
.
chooseAvatarGuid_
=
chooseAvatarGuid_
;
result
.
avatarTeamMap_
=
internalGetAvatarTeamMap
();
result
.
avatarTeamMap_
.
makeImmutable
();
if
(((
bitField0_
&
0x00000004
)
!=
0
))
{
ownedCostumeList
_
.
makeImmutable
();
unk3000NIGPICLBHMA
_
.
makeImmutable
();
bitField0_
=
(
bitField0_
&
~
0x00000004
);
}
result
.
ownedCostumeList_
=
ownedCostumeList
_
;
result
.
unk3000NIGPICLBHMA_
=
unk3000NIGPICLBHMA
_
;
if
(((
bitField0_
&
0x00000008
)
!=
0
))
{
tempAvatarGuidList_
.
makeImmutable
();
bitField0_
=
(
bitField0_
&
~
0x00000008
);
}
result
.
tempAvatarGuidList_
=
tempAvatarGuidList_
;
result
.
avatarTeamMap_
=
internalGetAvatarTeamMap
();
result
.
avatarTeamMap_
.
makeImmutable
();
result
.
chooseAvatarGuid_
=
chooseAvatarGuid_
;
if
(((
bitField0_
&
0x00000010
)
!=
0
))
{
ownedFlycloakList_
.
makeImmutable
();
bitField0_
=
(
bitField0_
&
~
0x00000010
);
}
result
.
ownedFlycloakList_
=
ownedFlycloakList_
;
if
(
avatarListBuilder_
==
null
)
{
if
(((
bitField0_
&
0x00000020
)
!=
0
))
{
avatarList_
=
java
.
util
.
Collections
.
unmodifiableList
(
avatarList_
);
bitField0_
=
(
bitField0_
&
~
0x00000020
);
}
result
.
avatarList_
=
avatarList_
;
}
else
{
result
.
avatarList_
=
avatarListBuilder_
.
build
();
}
result
.
curAvatarTeamId_
=
curAvatarTeamId_
;
onBuilt
();
return
result
;
}
...
...
@@ -1044,24 +1150,56 @@ public final class AvatarDataNotifyOuterClass {
public
Builder
mergeFrom
(
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
other
)
{
if
(
other
==
emu
.
grasscutter
.
net
.
proto
.
AvatarDataNotifyOuterClass
.
AvatarDataNotify
.
getDefaultInstance
())
return
this
;
if
(!
other
.
ownedFlycloakList_
.
isEmpty
())
{
if
(
ownedFlycloakList_
.
isEmpty
())
{
ownedFlycloakList_
=
other
.
ownedFlycloakList_
;
bitField0_
=
(
bitField0_
&
~
0x00000001
);
if
(!
other
.
ownedCostumeList_
.
isEmpty
())
{
if
(
ownedCostumeList_
.
isEmpty
())
{
ownedCostumeList_
=
other
.
ownedCostumeList_
;
bitField0_
=
(
bitField0_
&
~
0x00000001
);
}
else
{
ensureOwnedCostumeListIsMutable
();
ownedCostumeList_
.
addAll
(
other
.
ownedCostumeList_
);
}
onChanged
();
}
if
(
other
.
getChooseAvatarGuid
()
!=
0L
)
{
setChooseAvatarGuid
(
other
.
getChooseAvatarGuid
());
}
internalGetMutableAvatarTeamMap
().
mergeFrom
(
other
.
internalGetAvatarTeamMap
());
if
(!
other
.
unk3000NIGPICLBHMA_
.
isEmpty
())
{
if
(
unk3000NIGPICLBHMA_
.
isEmpty
())
{
unk3000NIGPICLBHMA_
=
other
.
unk3000NIGPICLBHMA_
;
bitField0_
=
(
bitField0_
&
~
0x00000004
);
}
else
{
ensureUnk3000NIGPICLBHMAIsMutable
();
unk3000NIGPICLBHMA_
.
addAll
(
other
.
unk3000NIGPICLBHMA_
);
}
onChanged
();
}
if
(!
other
.
tempAvatarGuidList_
.
isEmpty
())
{
if
(
tempAvatarGuidList_
.
isEmpty
())
{
tempAvatarGuidList_
=
other
.
tempAvatarGuidList_
;
bitField0_
=
(
bitField0_
&
~
0x00000008
);
}
else
{
ensureTempAvatarGuidListIsMutable
();
tempAvatarGuidList_
.
addAll
(
other
.
tempAvatarGuidList_
);
}
onChanged
();
}
if
(!
other
.
ownedFlycloakList_
.
isEmpty
())
{
if
(
ownedFlycloakList_
.
isEmpty
())
{
ownedFlycloakList_
=
other
.
ownedFlycloakList_
;
bitField0_
=
(
bitField0_
&
~
0x00000010
);
}
else
{
ensureOwnedFlycloakListIsMutable
();
ownedFlycloakList_
.
addAll
(
other
.
ownedFlycloakList_
);
}
onChanged
();
}
if
(
other
.
getCurAvatarTeamId
()
!=
0
)
{
setCurAvatarTeamId
(
other
.
getCurAvatarTeamId
());
}
if
(
avatarListBuilder_
==
null
)
{
if
(!
other
.
avatarList_
.
isEmpty
())
{
if
(
avatarList_
.
isEmpty
())
{
avatarList_
=
other
.
avatarList_
;
bitField0_
=
(
bitField0_
&
~
0x000000
0
2
);
bitField0_
=
(
bitField0_
&
~
0x0000002
0
);
}
else
{
ensureAvatarListIsMutable
();
avatarList_
.
addAll
(
other
.
avatarList_
);
...
...
@@ -1074,7 +1212,7 @@ public final class AvatarDataNotifyOuterClass {
avatarListBuilder_
.
dispose
();
avatarListBuilder_
=
null
;
avatarList_
=
other
.
avatarList_
;
bitField0_
=
(
bitField0_
&
~
0x000000
0
2
);
bitField0_
=
(
bitField0_
&
~
0x0000002
0
);
avatarListBuilder_
=
com
.
google
.
protobuf
.
GeneratedMessageV3
.
alwaysUseFieldBuilders
?
getAvatarListFieldBuilder
()
:
null
;
...
...
@@ -1083,30 +1221,8 @@ public final class AvatarDataNotifyOuterClass {
}
}
}
if
(!
other
.
ownedCostumeList_
.
isEmpty
())
{
if
(
ownedCostumeList_
.
isEmpty
())
{
ownedCostumeList_
=
other
.
ownedCostumeList_
;
bitField0_
=
(
bitField0_
&
~
0x00000004
);
}
else
{
ensureOwnedCostumeListIsMutable
();
ownedCostumeList_
.
addAll
(
other
.
ownedCostumeList_
);
}
onChanged
();
}
if
(!
other
.
tempAvatarGuidList_
.
isEmpty
())
{
if
(
tempAvatarGuidList_
.
isEmpty
())
{
tempAvatarGuidList_
=
other
.
tempAvatarGuidList_
;
bitField0_
=
(
bitField0_
&
~
0x00000008
);
}
else
{
ensureTempAvatarGuidListIsMutable
();
tempAvatarGuidList_
.
addAll
(
other
.
tempAvatarGuidList_
);
}
onChanged
();
}
internalGetMutableAvatarTeamMap
().
mergeFrom
(
other
.
internalGetAvatarTeamMap
());
if
(
other
.
getChooseAvatarGuid
()
!=
0L
)
{
setChooseAvatarGuid
(
other
.
getChooseAvatarGuid
());
if
(
other
.
getCurAvatarTeamId
()
!=
0
)
{
setCurAvatarTeamId
(
other
.
getCurAvatarTeamId
());
}
this
.
mergeUnknownFields
(
other
.
unknownFields
);
onChanged
();
...
...
@@ -1138,430 +1254,318 @@ public final class AvatarDataNotifyOuterClass {
}
private
int
bitField0_
;
private
com
.
google
.
protobuf
.
Internal
.
IntList
owned
Flycloak
List_
=
emptyIntList
();
private
void
ensureOwned
Flycloak
ListIsMutable
()
{
private
com
.
google
.
protobuf
.
Internal
.
IntList
owned
Costume
List_
=
emptyIntList
();
private
void
ensureOwned
Costume
ListIsMutable
()
{
if
(!((
bitField0_
&
0x00000001
)
!=
0
))
{
owned
Flycloak
List_
=
mutableCopy
(
owned
Flycloak
List_
);
owned
Costume
List_
=
mutableCopy
(
owned
Costume
List_
);
bitField0_
|=
0x00000001
;
}
}
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* @return A list containing the owned
Flycloak
List.
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @return A list containing the owned
Costume
List.
*/
public
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwned
Flycloak
ListList
()
{
getOwned
Costume
ListList
()
{
return
((
bitField0_
&
0x00000001
)
!=
0
)
?
java
.
util
.
Collections
.
unmodifiableList
(
owned
Flycloak
List_
)
:
owned
Flycloak
List_
;
java
.
util
.
Collections
.
unmodifiableList
(
owned
Costume
List_
)
:
owned
Costume
List_
;
}
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* @return The count of owned
Flycloak
List.
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @return The count of owned
Costume
List.
*/
public
int
getOwned
Flycloak
ListCount
()
{
return
owned
Flycloak
List_
.
size
();
public
int
getOwned
Costume
ListCount
()
{
return
owned
Costume
List_
.
size
();
}
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @param index The index of the element to return.
* @return The owned
Flycloak
List at the given index.
* @return The owned
Costume
List at the given index.
*/
public
int
getOwned
Flycloak
List
(
int
index
)
{
return
owned
Flycloak
List_
.
getInt
(
index
);
public
int
getOwned
Costume
List
(
int
index
)
{
return
owned
Costume
List_
.
getInt
(
index
);
}
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @param index The index to set the value at.
* @param value The owned
Flycloak
List to set.
* @param value The owned
Costume
List to set.
* @return This builder for chaining.
*/
public
Builder
setOwned
Flycloak
List
(
public
Builder
setOwned
Costume
List
(
int
index
,
int
value
)
{
ensureOwned
Flycloak
ListIsMutable
();
owned
Flycloak
List_
.
setInt
(
index
,
value
);
ensureOwned
Costume
ListIsMutable
();
owned
Costume
List_
.
setInt
(
index
,
value
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* @param value The owned
Flycloak
List to add.
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @param value The owned
Costume
List to add.
* @return This builder for chaining.
*/
public
Builder
addOwned
Flycloak
List
(
int
value
)
{
ensureOwned
Flycloak
ListIsMutable
();
owned
Flycloak
List_
.
addInt
(
value
);
public
Builder
addOwned
Costume
List
(
int
value
)
{
ensureOwned
Costume
ListIsMutable
();
owned
Costume
List_
.
addInt
(
value
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* @param values The owned
Flycloak
List to add.
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @param values The owned
Costume
List to add.
* @return This builder for chaining.
*/
public
Builder
addAllOwned
Flycloak
List
(
public
Builder
addAllOwned
Costume
List
(
java
.
lang
.
Iterable
<?
extends
java
.
lang
.
Integer
>
values
)
{
ensureOwned
Flycloak
ListIsMutable
();
ensureOwned
Costume
ListIsMutable
();
com
.
google
.
protobuf
.
AbstractMessageLite
.
Builder
.
addAll
(
values
,
owned
Flycloak
List_
);
values
,
owned
Costume
List_
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32 owned_
flycloak
_list = 1;</code>
* <code>repeated uint32 owned_
costume
_list =
1
1;</code>
* @return This builder for chaining.
*/
public
Builder
clearOwned
Flycloak
List
()
{
owned
Flycloak
List_
=
emptyIntList
();
public
Builder
clearOwned
Costume
List
()
{
owned
Costume
List_
=
emptyIntList
();
bitField0_
=
(
bitField0_
&
~
0x00000001
);
onChanged
();
return
this
;
}
private
int
cur
Avatar
TeamI
d_
;
private
long
choose
Avatar
Gui
d_
;
/**
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* @return The c
ur
Avatar
TeamI
d.
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* @return The c
hoose
Avatar
Gui
d.
*/
@java
.
lang
.
Override
public
int
getC
ur
Avatar
TeamI
d
()
{
return
c
ur
Avatar
TeamI
d_
;
public
long
getC
hoose
Avatar
Gui
d
()
{
return
c
hoose
Avatar
Gui
d_
;
}
/**
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* @param value The c
ur
Avatar
TeamI
d to set.
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* @param value The c
hoose
Avatar
Gui
d to set.
* @return This builder for chaining.
*/
public
Builder
setC
ur
Avatar
TeamId
(
int
value
)
{
public
Builder
setC
hoose
Avatar
Guid
(
long
value
)
{
c
ur
Avatar
TeamI
d_
=
value
;
c
hoose
Avatar
Gui
d_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* @return This builder for chaining.
*/
public
Builder
clearC
ur
Avatar
TeamI
d
()
{
public
Builder
clearC
hoose
Avatar
Gui
d
()
{
c
ur
Avatar
TeamI
d_
=
0
;
c
hoose
Avatar
Gui
d_
=
0
L
;
onChanged
();
return
this
;
}
private
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
avatarList_
=
java
.
util
.
Collections
.
emptyList
();
private
void
ensureAvatarListIsMutable
()
{
if
(!((
bitField0_
&
0x00000002
)
!=
0
))
{
avatarList_
=
new
java
.
util
.
ArrayList
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>(
avatarList_
);
bitField0_
|=
0x00000002
;
}
private
com
.
google
.
protobuf
.
MapField
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
avatarTeamMap_
;
private
com
.
google
.
protobuf
.
MapField
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
internalGetAvatarTeamMap
()
{
if
(
avatarTeamMap_
==
null
)
{
return
com
.
google
.
protobuf
.
MapField
.
emptyMapField
(
AvatarTeamMapDefaultEntryHolder
.
defaultEntry
);
}
return
avatarTeamMap_
;
}
private
com
.
google
.
protobuf
.
MapField
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
internalGetMutableAvatarTeamMap
()
{
onChanged
();;
if
(
avatarTeamMap_
==
null
)
{
avatarTeamMap_
=
com
.
google
.
protobuf
.
MapField
.
newMapField
(
AvatarTeamMapDefaultEntryHolder
.
defaultEntry
);
}
if
(!
avatarTeamMap_
.
isMutable
())
{
avatarTeamMap_
=
avatarTeamMap_
.
copy
();
}
return
avatarTeamMap_
;
}
p
rivate
com
.
google
.
protobuf
.
RepeatedFieldBuilderV3
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
avatarListBuilder_
;
p
ublic
int
getAvatarTeamMapCount
()
{
return
internalGetAvatarTeamMap
().
getMap
().
size
()
;
}
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
public
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
getAvatarListList
()
{
if
(
avatarListBuilder_
==
null
)
{
return
java
.
util
.
Collections
.
unmodifiableList
(
avatarList_
);
}
else
{
return
avatarListBuilder_
.
getMessageList
();
}
@java
.
lang
.
Override
public
boolean
containsAvatarTeamMap
(
int
key
)
{
return
internalGetAvatarTeamMap
().
getMap
().
containsKey
(
key
);
}
/**
*
<code>repeated .AvatarInfo avatar_list = 6;</code>
*
Use {@link #getAvatarTeamMapMap()} instead.
*/
public
int
getAvatarListCount
()
{
if
(
avatarListBuilder_
==
null
)
{
return
avatarList_
.
size
();
}
else
{
return
avatarListBuilder_
.
getCount
();
}
@java
.
lang
.
Override
@java
.
lang
.
Deprecated
public
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getAvatarTeamMap
()
{
return
getAvatarTeamMapMap
();
}
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
getAvatarList
(
int
index
)
{
if
(
avatarListBuilder_
==
null
)
{
return
avatarList_
.
get
(
index
);
}
else
{
return
avatarListBuilder_
.
getMessage
(
index
);
}
@java
.
lang
.
Override
public
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getAvatarTeamMapMap
()
{
return
internalGetAvatarTeamMap
().
getMap
();
}
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
public
Builder
setAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
value
)
{
if
(
avatarListBuilder_
==
null
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
ensureAvatarListIsMutable
();
avatarList_
.
set
(
index
,
value
);
onChanged
();
}
else
{
avatarListBuilder_
.
setMessage
(
index
,
value
);
}
return
this
;
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrDefault
(
int
key
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
defaultValue
)
{
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
map
=
internalGetAvatarTeamMap
().
getMap
();
return
map
.
containsKey
(
key
)
?
map
.
get
(
key
)
:
defaultValue
;
}
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
public
Builder
setAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
builderForValue
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
set
(
index
,
builderForValue
.
build
());
onChanged
();
}
else
{
avatarListBuilder_
.
setMessage
(
index
,
builderForValue
.
build
());
}
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
addAvatarList
(
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
value
)
{
if
(
avatarListBuilder_
==
null
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
ensureAvatarListIsMutable
();
avatarList_
.
add
(
value
);
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
value
);
}
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
addAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
value
)
{
if
(
avatarListBuilder_
==
null
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
ensureAvatarListIsMutable
();
avatarList_
.
add
(
index
,
value
);
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
index
,
value
);
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrThrow
(
int
key
)
{
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
map
=
internalGetAvatarTeamMap
().
getMap
();
if
(!
map
.
containsKey
(
key
))
{
throw
new
java
.
lang
.
IllegalArgumentException
();
}
return
this
;
return
map
.
get
(
key
)
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
addAvatarList
(
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
builderForValue
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
add
(
builderForValue
.
build
());
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
builderForValue
.
build
());
}
public
Builder
clearAvatarTeamMap
()
{
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
clear
();
return
this
;
}
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
public
Builder
addAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
builderForValue
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
add
(
index
,
builderForValue
.
build
());
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
index
,
builderForValue
.
build
());
}
public
Builder
removeAvatarTeamMap
(
int
key
)
{
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
remove
(
key
);
return
this
;
}
/**
*
<code>repeated .AvatarInfo avatar_list = 6;</code>
*
Use alternate mutation accessors instead.
*/
public
Builder
addAllAvatarList
(
java
.
lang
.
Iterable
<?
extends
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
values
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
com
.
google
.
protobuf
.
AbstractMessageLite
.
Builder
.
addAll
(
values
,
avatarList_
);
onChanged
();
}
else
{
avatarListBuilder_
.
addAllMessages
(
values
);
}
return
this
;
@java
.
lang
.
Deprecated
public
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getMutableAvatarTeamMap
()
{
return
internalGetMutableAvatarTeamMap
().
getMutableMap
();
}
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
public
Builder
clearAvatarList
()
{
if
(
avatarListBuilder_
==
null
)
{
avatarList_
=
java
.
util
.
Collections
.
emptyList
();
bitField0_
=
(
bitField0_
&
~
0x00000002
);
onChanged
();
}
else
{
avatarListBuilder_
.
clear
();
}
public
Builder
putAvatarTeamMap
(
int
key
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
value
)
{
if
(
value
==
null
)
{
throw
new
java
.
lang
.
NullPointerException
();
}
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
put
(
key
,
value
);
return
this
;
}
/**
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
*/
public
Builder
removeAvatarList
(
int
index
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
remove
(
index
);
onChanged
();
}
else
{
avatarListBuilder_
.
remove
(
index
);
}
public
Builder
putAllAvatarTeamMap
(
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
values
)
{
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
putAll
(
values
);
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
getAvatarListBuilder
(
int
index
)
{
return
getAvatarListFieldBuilder
().
getBuilder
(
index
);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
getAvatarListOrBuilder
(
int
index
)
{
if
(
avatarListBuilder_
==
null
)
{
return
avatarList_
.
get
(
index
);
}
else
{
return
avatarListBuilder_
.
getMessageOrBuilder
(
index
);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
java
.
util
.
List
<?
extends
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
getAvatarListOrBuilderList
()
{
if
(
avatarListBuilder_
!=
null
)
{
return
avatarListBuilder_
.
getMessageOrBuilderList
();
}
else
{
return
java
.
util
.
Collections
.
unmodifiableList
(
avatarList_
);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
addAvatarListBuilder
()
{
return
getAvatarListFieldBuilder
().
addBuilder
(
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
getDefaultInstance
());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
addAvatarListBuilder
(
int
index
)
{
return
getAvatarListFieldBuilder
().
addBuilder
(
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
getDefaultInstance
());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
>
getAvatarListBuilderList
()
{
return
getAvatarListFieldBuilder
().
getBuilderList
();
}
private
com
.
google
.
protobuf
.
RepeatedFieldBuilderV3
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
getAvatarListFieldBuilder
()
{
if
(
avatarListBuilder_
==
null
)
{
avatarListBuilder_
=
new
com
.
google
.
protobuf
.
RepeatedFieldBuilderV3
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>(
avatarList_
,
((
bitField0_
&
0x00000002
)
!=
0
),
getParentForChildren
(),
isClean
());
avatarList_
=
null
;
}
return
avatarListBuilder_
;
}
private
com
.
google
.
protobuf
.
Internal
.
IntList
ownedCostumeList
_
=
emptyIntList
();
private
void
ensure
OwnedCostumeList
IsMutable
()
{
private
com
.
google
.
protobuf
.
Internal
.
IntList
unk3000NIGPICLBHMA
_
=
emptyIntList
();
private
void
ensure
Unk3000NIGPICLBHMA
IsMutable
()
{
if
(!((
bitField0_
&
0x00000004
)
!=
0
))
{
ownedCostumeList_
=
mutableCopy
(
ownedCostumeList
_
);
unk3000NIGPICLBHMA_
=
mutableCopy
(
unk3000NIGPICLBHMA
_
);
bitField0_
|=
0x00000004
;
}
}
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* @return A list containing the
ownedCostumeList
.
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @return A list containing the
unk3000NIGPICLBHMA
.
*/
public
java
.
util
.
List
<
java
.
lang
.
Integer
>
get
OwnedCostumeList
List
()
{
get
Unk3000NIGPICLBHMA
List
()
{
return
((
bitField0_
&
0x00000004
)
!=
0
)
?
java
.
util
.
Collections
.
unmodifiableList
(
ownedCostumeList_
)
:
ownedCostumeList
_
;
java
.
util
.
Collections
.
unmodifiableList
(
unk3000NIGPICLBHMA_
)
:
unk3000NIGPICLBHMA
_
;
}
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* @return The count of
ownedCostumeList
.
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @return The count of
unk3000NIGPICLBHMA
.
*/
public
int
get
OwnedCostumeList
Count
()
{
return
ownedCostumeList
_
.
size
();
public
int
get
Unk3000NIGPICLBHMA
Count
()
{
return
unk3000NIGPICLBHMA
_
.
size
();
}
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @param index The index of the element to return.
* @return The
ownedCostumeList
at the given index.
* @return The
unk3000NIGPICLBHMA
at the given index.
*/
public
int
get
OwnedCostumeList
(
int
index
)
{
return
ownedCostumeList
_
.
getInt
(
index
);
public
int
get
Unk3000NIGPICLBHMA
(
int
index
)
{
return
unk3000NIGPICLBHMA
_
.
getInt
(
index
);
}
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @param index The index to set the value at.
* @param value The
ownedCostumeList
to set.
* @param value The
unk3000NIGPICLBHMA
to set.
* @return This builder for chaining.
*/
public
Builder
set
OwnedCostumeList
(
public
Builder
set
Unk3000NIGPICLBHMA
(
int
index
,
int
value
)
{
ensure
OwnedCostumeList
IsMutable
();
ownedCostumeList
_
.
setInt
(
index
,
value
);
ensure
Unk3000NIGPICLBHMA
IsMutable
();
unk3000NIGPICLBHMA
_
.
setInt
(
index
,
value
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* @param value The
ownedCostumeList
to add.
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @param value The
unk3000NIGPICLBHMA
to add.
* @return This builder for chaining.
*/
public
Builder
add
OwnedCostumeList
(
int
value
)
{
ensure
OwnedCostumeList
IsMutable
();
ownedCostumeList
_
.
addInt
(
value
);
public
Builder
add
Unk3000NIGPICLBHMA
(
int
value
)
{
ensure
Unk3000NIGPICLBHMA
IsMutable
();
unk3000NIGPICLBHMA
_
.
addInt
(
value
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* @param values The
ownedCostumeList
to add.
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @param values The
unk3000NIGPICLBHMA
to add.
* @return This builder for chaining.
*/
public
Builder
addAll
OwnedCostumeList
(
public
Builder
addAll
Unk3000NIGPICLBHMA
(
java
.
lang
.
Iterable
<?
extends
java
.
lang
.
Integer
>
values
)
{
ensure
OwnedCostumeList
IsMutable
();
ensure
Unk3000NIGPICLBHMA
IsMutable
();
com
.
google
.
protobuf
.
AbstractMessageLite
.
Builder
.
addAll
(
values
,
ownedCostumeList
_
);
values
,
unk3000NIGPICLBHMA
_
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32
owned_costume_list
=
11
;</code>
* <code>repeated uint32
Unk3000_NIGPICLBHMA
=
9
;</code>
* @return This builder for chaining.
*/
public
Builder
clear
OwnedCostumeList
()
{
ownedCostumeList
_
=
emptyIntList
();
public
Builder
clear
Unk3000NIGPICLBHMA
()
{
unk3000NIGPICLBHMA
_
=
emptyIntList
();
bitField0_
=
(
bitField0_
&
~
0x00000004
);
onChanged
();
return
this
;
...
...
@@ -1646,161 +1650,352 @@ public final class AvatarDataNotifyOuterClass {
return
this
;
}
private
com
.
google
.
protobuf
.
MapField
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
avatarTeamMap_
;
private
com
.
google
.
protobuf
.
MapField
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
internalGetAvatarTeamMap
()
{
if
(
avatarTeamMap_
==
null
)
{
return
com
.
google
.
protobuf
.
MapField
.
emptyMapField
(
AvatarTeamMapDefaultEntryHolder
.
defaultEntry
);
}
return
avatarTeamMap_
;
}
private
com
.
google
.
protobuf
.
MapField
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
internalGetMutableAvatarTeamMap
()
{
onChanged
();;
if
(
avatarTeamMap_
==
null
)
{
avatarTeamMap_
=
com
.
google
.
protobuf
.
MapField
.
newMapField
(
AvatarTeamMapDefaultEntryHolder
.
defaultEntry
);
}
if
(!
avatarTeamMap_
.
isMutable
())
{
avatarTeamMap_
=
avatarTeamMap_
.
copy
();
}
return
avatarTeamMap_
;
}
public
int
getAvatarTeamMapCount
()
{
return
internalGetAvatarTeamMap
().
getMap
().
size
();
private
com
.
google
.
protobuf
.
Internal
.
IntList
ownedFlycloakList_
=
emptyIntList
();
private
void
ensureOwnedFlycloakListIsMutable
()
{
if
(!((
bitField0_
&
0x00000010
)
!=
0
))
{
ownedFlycloakList_
=
mutableCopy
(
ownedFlycloakList_
);
bitField0_
|=
0x00000010
;
}
}
/**
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return A list containing the ownedFlycloakList.
*/
@java
.
lang
.
Override
public
boolean
containsAvatarTeamMap
(
int
key
)
{
return
internalGetAvatarTeamMap
().
getMap
().
containsKey
(
key
);
public
java
.
util
.
List
<
java
.
lang
.
Integer
>
getOwnedFlycloakListList
()
{
return
((
bitField0_
&
0x00000010
)
!=
0
)
?
java
.
util
.
Collections
.
unmodifiableList
(
ownedFlycloakList_
)
:
ownedFlycloakList_
;
}
/**
* Use {@link #getAvatarTeamMapMap()} instead.
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return The count of ownedFlycloakList.
*/
@java
.
lang
.
Override
@java
.
lang
.
Deprecated
public
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getAvatarTeamMap
()
{
return
getAvatarTeamMapMap
();
public
int
getOwnedFlycloakListCount
()
{
return
ownedFlycloakList_
.
size
();
}
/**
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index of the element to return.
* @return The ownedFlycloakList at the given index.
*/
@java
.
lang
.
Override
public
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getAvatarTeamMapMap
()
{
return
internalGetAvatarTeamMap
().
getMap
();
public
int
getOwnedFlycloakList
(
int
index
)
{
return
ownedFlycloakList_
.
getInt
(
index
);
}
/**
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param index The index to set the value at.
* @param value The ownedFlycloakList to set.
* @return This builder for chaining.
*/
@java
.
lang
.
Override
public
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrDefault
(
int
key
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
defaultValue
)
{
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
map
=
internalGetAvatarTeamMap
().
getMap
();
return
map
.
containsKey
(
key
)
?
map
.
get
(
key
)
:
defaultValue
;
public
Builder
setOwnedFlycloakList
(
int
index
,
int
value
)
{
ensureOwnedFlycloakListIsMutable
();
ownedFlycloakList_
.
setInt
(
index
,
value
);
onChanged
();
return
this
;
}
/**
* <code>map<uint32, .AvatarTeam> avatar_team_map = 7;</code>
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param value The ownedFlycloakList to add.
* @return This builder for chaining.
*/
@java
.
lang
.
Override
public
Builder
addOwnedFlycloakList
(
int
value
)
{
ensureOwnedFlycloakListIsMutable
();
ownedFlycloakList_
.
addInt
(
value
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @param values The ownedFlycloakList to add.
* @return This builder for chaining.
*/
public
Builder
addAllOwnedFlycloakList
(
java
.
lang
.
Iterable
<?
extends
java
.
lang
.
Integer
>
values
)
{
ensureOwnedFlycloakListIsMutable
();
com
.
google
.
protobuf
.
AbstractMessageLite
.
Builder
.
addAll
(
values
,
ownedFlycloakList_
);
onChanged
();
return
this
;
}
/**
* <code>repeated uint32 owned_flycloak_list = 1;</code>
* @return This builder for chaining.
*/
public
Builder
clearOwnedFlycloakList
()
{
ownedFlycloakList_
=
emptyIntList
();
bitField0_
=
(
bitField0_
&
~
0x00000010
);
onChanged
();
return
this
;
}
public
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
getAvatarTeamMapOrThrow
(
int
key
)
{
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
map
=
internalGetAvatarTeamMap
().
getMap
();
if
(!
map
.
containsKey
(
key
))
{
throw
new
java
.
lang
.
IllegalArgumentException
();
}
return
map
.
get
(
key
);
private
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
avatarList_
=
java
.
util
.
Collections
.
emptyList
();
private
void
ensureAvatarListIsMutable
()
{
if
(!((
bitField0_
&
0x00000020
)
!=
0
))
{
avatarList_
=
new
java
.
util
.
ArrayList
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>(
avatarList_
);
bitField0_
|=
0x00000020
;
}
}
public
Builder
clearAvatarTeamMap
()
{
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
clear
();
private
com
.
google
.
protobuf
.
RepeatedFieldBuilderV3
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
avatarListBuilder_
;
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
getAvatarListList
()
{
if
(
avatarListBuilder_
==
null
)
{
return
java
.
util
.
Collections
.
unmodifiableList
(
avatarList_
);
}
else
{
return
avatarListBuilder_
.
getMessageList
();
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
int
getAvatarListCount
()
{
if
(
avatarListBuilder_
==
null
)
{
return
avatarList_
.
size
();
}
else
{
return
avatarListBuilder_
.
getCount
();
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
getAvatarList
(
int
index
)
{
if
(
avatarListBuilder_
==
null
)
{
return
avatarList_
.
get
(
index
);
}
else
{
return
avatarListBuilder_
.
getMessage
(
index
);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
setAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
value
)
{
if
(
avatarListBuilder_
==
null
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
ensureAvatarListIsMutable
();
avatarList_
.
set
(
index
,
value
);
onChanged
();
}
else
{
avatarListBuilder_
.
setMessage
(
index
,
value
);
}
return
this
;
}
/**
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
*/
public
Builder
removeAvatarTeamMap
(
int
key
)
{
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
remove
(
key
);
public
Builder
setAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
builderForValue
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
set
(
index
,
builderForValue
.
build
());
onChanged
();
}
else
{
avatarListBuilder_
.
setMessage
(
index
,
builderForValue
.
build
());
}
return
this
;
}
/**
*
Use alternate mutation accessors instead.
*
<code>repeated .AvatarInfo avatar_list = 6;</code>
*/
@java
.
lang
.
Deprecated
public
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
getMutableAvatarTeamMap
()
{
return
internalGetMutableAvatarTeamMap
().
getMutableMap
();
public
Builder
addAvatarList
(
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
value
)
{
if
(
avatarListBuilder_
==
null
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
ensureAvatarListIsMutable
();
avatarList_
.
add
(
value
);
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
value
);
}
return
this
;
}
/**
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
*/
public
Builder
putAvatarTeamMap
(
int
key
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
value
)
{
if
(
value
==
null
)
{
throw
new
java
.
lang
.
NullPointerException
();
}
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
put
(
key
,
value
);
public
Builder
addAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
value
)
{
if
(
avatarListBuilder_
==
null
)
{
if
(
value
==
null
)
{
throw
new
NullPointerException
();
}
ensureAvatarListIsMutable
();
avatarList_
.
add
(
index
,
value
);
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
index
,
value
);
}
return
this
;
}
/**
* <code>
map<uint32, .AvatarTeam> avatar_team_map
=
7
;</code>
* <code>
repeated .AvatarInfo avatar_list
=
6
;</code>
*/
public
Builder
putAllAvatarTeamMap
(
java
.
util
.
Map
<
java
.
lang
.
Integer
,
emu
.
grasscutter
.
net
.
proto
.
AvatarTeamOuterClass
.
AvatarTeam
>
values
)
{
internalGetMutableAvatarTeamMap
().
getMutableMap
()
.
putAll
(
values
);
public
Builder
addAvatarList
(
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
builderForValue
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
add
(
builderForValue
.
build
());
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
builderForValue
.
build
());
}
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
addAvatarList
(
int
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
builderForValue
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
add
(
index
,
builderForValue
.
build
());
onChanged
();
}
else
{
avatarListBuilder_
.
addMessage
(
index
,
builderForValue
.
build
());
}
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
addAllAvatarList
(
java
.
lang
.
Iterable
<?
extends
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
>
values
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
com
.
google
.
protobuf
.
AbstractMessageLite
.
Builder
.
addAll
(
values
,
avatarList_
);
onChanged
();
}
else
{
avatarListBuilder_
.
addAllMessages
(
values
);
}
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
clearAvatarList
()
{
if
(
avatarListBuilder_
==
null
)
{
avatarList_
=
java
.
util
.
Collections
.
emptyList
();
bitField0_
=
(
bitField0_
&
~
0x00000020
);
onChanged
();
}
else
{
avatarListBuilder_
.
clear
();
}
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
Builder
removeAvatarList
(
int
index
)
{
if
(
avatarListBuilder_
==
null
)
{
ensureAvatarListIsMutable
();
avatarList_
.
remove
(
index
);
onChanged
();
}
else
{
avatarListBuilder_
.
remove
(
index
);
}
return
this
;
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
getAvatarListBuilder
(
int
index
)
{
return
getAvatarListFieldBuilder
().
getBuilder
(
index
);
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
getAvatarListOrBuilder
(
int
index
)
{
if
(
avatarListBuilder_
==
null
)
{
return
avatarList_
.
get
(
index
);
}
else
{
return
avatarListBuilder_
.
getMessageOrBuilder
(
index
);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
java
.
util
.
List
<?
extends
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
getAvatarListOrBuilderList
()
{
if
(
avatarListBuilder_
!=
null
)
{
return
avatarListBuilder_
.
getMessageOrBuilderList
();
}
else
{
return
java
.
util
.
Collections
.
unmodifiableList
(
avatarList_
);
}
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
addAvatarListBuilder
()
{
return
getAvatarListFieldBuilder
().
addBuilder
(
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
getDefaultInstance
());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
addAvatarListBuilder
(
int
index
)
{
return
getAvatarListFieldBuilder
().
addBuilder
(
index
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
getDefaultInstance
());
}
/**
* <code>repeated .AvatarInfo avatar_list = 6;</code>
*/
public
java
.
util
.
List
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
>
getAvatarListBuilderList
()
{
return
getAvatarListFieldBuilder
().
getBuilderList
();
}
private
com
.
google
.
protobuf
.
RepeatedFieldBuilderV3
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>
getAvatarListFieldBuilder
()
{
if
(
avatarListBuilder_
==
null
)
{
avatarListBuilder_
=
new
com
.
google
.
protobuf
.
RepeatedFieldBuilderV3
<
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfo
.
Builder
,
emu
.
grasscutter
.
net
.
proto
.
AvatarInfoOuterClass
.
AvatarInfoOrBuilder
>(
avatarList_
,
((
bitField0_
&
0x00000020
)
!=
0
),
getParentForChildren
(),
isClean
());
avatarList_
=
null
;
}
return
avatarListBuilder_
;
}
private
long
choose
Avatar
Gui
d_
;
private
int
cur
Avatar
TeamI
d_
;
/**
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* @return The c
hoose
Avatar
Gui
d.
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* @return The c
ur
Avatar
TeamI
d.
*/
@java
.
lang
.
Override
public
long
getC
hoose
Avatar
Gui
d
()
{
return
c
hoose
Avatar
Gui
d_
;
public
int
getC
ur
Avatar
TeamI
d
()
{
return
c
ur
Avatar
TeamI
d_
;
}
/**
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* @param value The c
hoose
Avatar
Gui
d to set.
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* @param value The c
ur
Avatar
TeamI
d to set.
* @return This builder for chaining.
*/
public
Builder
setC
hoose
Avatar
Guid
(
long
value
)
{
public
Builder
setC
ur
Avatar
TeamId
(
int
value
)
{
c
hoose
Avatar
Gui
d_
=
value
;
c
ur
Avatar
TeamI
d_
=
value
;
onChanged
();
return
this
;
}
/**
* <code>uint
64 choose
_avatar_
gu
id =
8
;</code>
* <code>uint
32 cur
_avatar_
team_
id =
2
;</code>
* @return This builder for chaining.
*/
public
Builder
clearC
hoose
Avatar
Gui
d
()
{
public
Builder
clearC
ur
Avatar
TeamI
d
()
{
c
hoose
Avatar
Gui
d_
=
0
L
;
c
ur
Avatar
TeamI
d_
=
0
;
onChanged
();
return
this
;
}
...
...
@@ -1877,16 +2072,17 @@ public final class AvatarDataNotifyOuterClass {
static
{
java
.
lang
.
String
[]
descriptorData
=
{
"\n\026AvatarDataNotify.proto\032\020AvatarInfo.pro"
+
"to\032\020AvatarTeam.proto\"\306\002\n\020AvatarDataNotif"
+
"y\022\033\n\023owned_flycloak_list\030\001 \003(\r\022\032\n\022cur_av"
+
"atar_team_id\030\002 \001(\r\022 \n\013avatar_list\030\006 \003(\0132"
+
"\013.AvatarInfo\022\032\n\022owned_costume_list\030\013 \003(\r"
+
"\022\035\n\025temp_avatar_guid_list\030\014 \003(\004\022=\n\017avata"
+
"r_team_map\030\007 \003(\0132$.AvatarDataNotify.Avat"
+
"arTeamMapEntry\022\032\n\022choose_avatar_guid\030\010 \001"
+
"(\004\032A\n\022AvatarTeamMapEntry\022\013\n\003key\030\001 \001(\r\022\032\n"
+
"\005value\030\002 \001(\0132\013.AvatarTeam:\0028\001B\033\n\031emu.gra"
+
"sscutter.net.protob\006proto3"
"to\032\020AvatarTeam.proto\"\343\002\n\020AvatarDataNotif"
+
"y\022\032\n\022owned_costume_list\030\013 \003(\r\022\032\n\022choose_"
+
"avatar_guid\030\010 \001(\004\022=\n\017avatar_team_map\030\007 \003"
+
"(\0132$.AvatarDataNotify.AvatarTeamMapEntry"
+
"\022\033\n\023Unk3000_NIGPICLBHMA\030\t \003(\r\022\035\n\025temp_av"
+
"atar_guid_list\030\014 \003(\004\022\033\n\023owned_flycloak_l"
+
"ist\030\001 \003(\r\022 \n\013avatar_list\030\006 \003(\0132\013.AvatarI"
+
"nfo\022\032\n\022cur_avatar_team_id\030\002 \001(\r\032A\n\022Avata"
+
"rTeamMapEntry\022\013\n\003key\030\001 \001(\r\022\032\n\005value\030\002 \001("
+
"\0132\013.AvatarTeam:\0028\001B\033\n\031emu.grasscutter.ne"
+
"t.protob\006proto3"
};
descriptor
=
com
.
google
.
protobuf
.
Descriptors
.
FileDescriptor
.
internalBuildGeneratedFileFrom
(
descriptorData
,
...
...
@@ -1899,7 +2095,7 @@ public final class AvatarDataNotifyOuterClass {
internal_static_AvatarDataNotify_fieldAccessorTable
=
new
com
.
google
.
protobuf
.
GeneratedMessageV3
.
FieldAccessorTable
(
internal_static_AvatarDataNotify_descriptor
,
new
java
.
lang
.
String
[]
{
"Owned
Flycloak
List"
,
"C
urAvatarTeamId"
,
"
AvatarList"
,
"Owned
Costume
List"
,
"
Temp
Avatar
Guid
List"
,
"AvatarTeam
Map"
,
"ChooseAvatarGui
d"
,
});
new
java
.
lang
.
String
[]
{
"Owned
Costume
List"
,
"C
hooseAvatarGuid"
,
"AvatarTeamMap"
,
"Unk3000NIGPICLBHMA"
,
"Temp
Avatar
Guid
List"
,
"Owned
Flycloak
List"
,
"AvatarList"
,
"
Cur
AvatarTeam
I
d"
,
});
internal_static_AvatarDataNotify_AvatarTeamMapEntry_descriptor
=
internal_static_AvatarDataNotify_descriptor
.
getNestedTypes
().
get
(
0
);
internal_static_AvatarDataNotify_AvatarTeamMapEntry_fieldAccessorTable
=
new
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarDieAnimationEndReqOuterClass.java
View file @
d575d1cc
...
...
@@ -49,7 +49,7 @@ public final class AvatarDieAnimationEndReqOuterClass {
* <pre>
* CmdId: 1610
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -387,7 +387,7 @@ public final class AvatarDieAnimationEndReqOuterClass {
* <pre>
* CmdId: 1610
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarDieAnimationEndRspOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,8 @@ public final class AvatarDieAnimationEndRspOuterClass {
* <pre>
* CmdId: 1694
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDieAnimationEndRsp}
...
...
@@ -349,7 +350,8 @@ public final class AvatarDieAnimationEndRspOuterClass {
* <pre>
* CmdId: 1694
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarDieAnimationEndRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarEquipChangeNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -76,7 +76,7 @@ public final class AvatarEquipChangeNotifyOuterClass {
* <pre>
* CmdId: 647
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -524,7 +524,7 @@ public final class AvatarEquipChangeNotifyOuterClass {
* <pre>
* CmdId: 647
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionAllDataRspOuterClass.java
View file @
d575d1cc
...
...
@@ -85,7 +85,8 @@ public final class AvatarExpeditionAllDataRspOuterClass {
* <pre>
* CmdId: 1648
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionAllDataRsp}
...
...
@@ -576,7 +577,8 @@ public final class AvatarExpeditionAllDataRspOuterClass {
* <pre>
* CmdId: 1648
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionAllDataRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionCallBackReqOuterClass.java
View file @
d575d1cc
...
...
@@ -39,7 +39,7 @@ public final class AvatarExpeditionCallBackReqOuterClass {
* <pre>
* CmdId: 1752
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -349,7 +349,7 @@ public final class AvatarExpeditionCallBackReqOuterClass {
* <pre>
* CmdId: 1752
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionCallBackRspOuterClass.java
View file @
d575d1cc
...
...
@@ -62,7 +62,8 @@ public final class AvatarExpeditionCallBackRspOuterClass {
* <pre>
* CmdId: 1726
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionCallBackRsp}
...
...
@@ -445,7 +446,8 @@ public final class AvatarExpeditionCallBackRspOuterClass {
* <pre>
* CmdId: 1726
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionCallBackRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionDataNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -56,7 +56,8 @@ public final class AvatarExpeditionDataNotifyOuterClass {
* <pre>
* CmdId: 1771
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionDataNotify}
...
...
@@ -412,7 +413,8 @@ public final class AvatarExpeditionDataNotifyOuterClass {
* <pre>
* CmdId: 1771
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionDataNotify}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionGetRewardReqOuterClass.java
View file @
d575d1cc
...
...
@@ -28,7 +28,7 @@ public final class AvatarExpeditionGetRewardReqOuterClass {
* <pre>
* CmdId: 1623
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -284,7 +284,7 @@ public final class AvatarExpeditionGetRewardReqOuterClass {
* <pre>
* CmdId: 1623
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionGetRewardRspOuterClass.java
View file @
d575d1cc
...
...
@@ -110,7 +110,8 @@ public final class AvatarExpeditionGetRewardRspOuterClass {
* <pre>
* CmdId: 1784
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionGetRewardRsp}
...
...
@@ -625,7 +626,8 @@ public final class AvatarExpeditionGetRewardRspOuterClass {
* <pre>
* CmdId: 1784
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionGetRewardRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionStartReqOuterClass.java
View file @
d575d1cc
...
...
@@ -40,7 +40,7 @@ public final class AvatarExpeditionStartReqOuterClass {
* <pre>
* CmdId: 1715
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
@@ -350,7 +350,7 @@ public final class AvatarExpeditionStartReqOuterClass {
* <pre>
* CmdId: 1715
* EnetChannelId: 0
* EnetIsReliable:
tru
e
* EnetIsReliable:
fals
e
* IsAllowClient: true
* </pre>
*
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarExpeditionStartRspOuterClass.java
View file @
d575d1cc
...
...
@@ -62,7 +62,8 @@ public final class AvatarExpeditionStartRspOuterClass {
* <pre>
* CmdId: 1719
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionStartRsp}
...
...
@@ -445,7 +446,8 @@ public final class AvatarExpeditionStartRspOuterClass {
* <pre>
* CmdId: 1719
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarExpeditionStartRsp}
...
...
src/generated/main/java/emu/grasscutter/net/proto/AvatarFetterDataNotifyOuterClass.java
View file @
d575d1cc
...
...
@@ -56,7 +56,8 @@ public final class AvatarFetterDataNotifyOuterClass {
* <pre>
* CmdId: 1782
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarFetterDataNotify}
...
...
@@ -412,7 +413,8 @@ public final class AvatarFetterDataNotifyOuterClass {
* <pre>
* CmdId: 1782
* EnetChannelId: 0
* EnetIsReliable: true
* EnetIsReliable: false
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code AvatarFetterDataNotify}
...
...
Prev
1
2
3
4
5
6
…
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