Fix existing protocol classes

Using `gc-quest-fix`
This commit is contained in:
KingRainbow44 2023-04-01 19:53:46 -04:00
parent daa51e53b7
commit 29956421f0
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
13 changed files with 3659 additions and 3409 deletions

View File

@ -340,33 +340,51 @@ public final class ActivityInfoOuterClass {
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*
* @return Whether the trialAvatarInfo field is set.
*/
boolean hasTrialAvatarInfo();
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*
* @return The trialAvatarInfo.
*/
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass.TrialAvatarActivityDetailInfo
getTrialAvatarInfo();
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfoOrBuilder
getTrialAvatarInfoOrBuilder();
/**
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*
* @return Whether the musicGameInfo field is set.
*/
boolean hasMusicGameInfo();
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*
* @return The musicGameInfo.
*/
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.MusicGameActivityDetailInfo
getMusicGameInfo();
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfoOrBuilder
getMusicGameInfoOrBuilder();
@ -500,6 +518,33 @@ public final class ActivityInfoOuterClass {
cJDFLBKBNPL_ = input.readBool();
break;
}
case 98:
{
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder
subBuilder = null;
if (detailCase_ == 12) {
subBuilder =
((emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_)
.toBuilder();
}
detail_ =
input.readMessage(
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.parser(),
extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_);
detail_ = subBuilder.buildPartial();
}
detailCase_ = 12;
break;
}
case 104:
{
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
@ -771,6 +816,7 @@ public final class ActivityInfoOuterClass {
implements
com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TRIAL_AVATAR_INFO(12),
MUSIC_GAME_INFO(1966),
DETAIL_NOT_SET(0);
private final int value;
@ -790,6 +836,8 @@ public final class ActivityInfoOuterClass {
public static DetailCase forNumber(int value) {
switch (value) {
case 12:
return TRIAL_AVATAR_INFO;
case 1966:
return MUSIC_GAME_INFO;
case 0:
@ -1388,7 +1436,7 @@ public final class ActivityInfoOuterClass {
return eFJOLIOFLBG_;
}
public static final int MUSIC_GAME_INFO_FIELD_NUMBER = 1966;
public static final int TRIAL_AVATAR_INFO_FIELD_NUMBER = 12;
/**
*
*
@ -1396,6 +1444,61 @@ public final class ActivityInfoOuterClass {
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*
* @return Whether the trialAvatarInfo field is set.
*/
@java.lang.Override
public boolean hasTrialAvatarInfo() {
return detailCase_ == 12;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*
* @return The trialAvatarInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
getTrialAvatarInfo() {
if (detailCase_ == 12) {
return (emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_;
}
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance();
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfoOrBuilder
getTrialAvatarInfoOrBuilder() {
if (detailCase_ == 12) {
return (emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_;
}
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance();
}
public static final int MUSIC_GAME_INFO_FIELD_NUMBER = 1966;
/**
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*
* @return Whether the musicGameInfo field is set.
@ -1405,12 +1508,6 @@ public final class ActivityInfoOuterClass {
return detailCase_ == 1966;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*
* @return The musicGameInfo.
@ -1427,15 +1524,7 @@ public final class ActivityInfoOuterClass {
return emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfo.getDefaultInstance();
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfoOrBuilder
@ -1492,6 +1581,13 @@ public final class ActivityInfoOuterClass {
if (cJDFLBKBNPL_ != false) {
output.writeBool(10, cJDFLBKBNPL_);
}
if (detailCase_ == 12) {
output.writeMessage(
12,
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_);
}
if (getExpireCondListList().size() > 0) {
output.writeUInt32NoTag(106);
output.writeUInt32NoTag(expireCondListMemoizedSerializedSize);
@ -1604,6 +1700,14 @@ public final class ActivityInfoOuterClass {
if (cJDFLBKBNPL_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, cJDFLBKBNPL_);
}
if (detailCase_ == 12) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
12,
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_);
}
{
int dataSize = 0;
for (int i = 0; i < expireCondList_.size(); i++) {
@ -1751,6 +1855,9 @@ public final class ActivityInfoOuterClass {
if (getEFJOLIOFLBG() != other.getEFJOLIOFLBG()) return false;
if (!getDetailCase().equals(other.getDetailCase())) return false;
switch (detailCase_) {
case 12:
if (!getTrialAvatarInfo().equals(other.getTrialAvatarInfo())) return false;
break;
case 1966:
if (!getMusicGameInfo().equals(other.getMusicGameInfo())) return false;
break;
@ -1833,6 +1940,10 @@ public final class ActivityInfoOuterClass {
hash = (37 * hash) + EFJOLIOFLBG_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEFJOLIOFLBG());
switch (detailCase_) {
case 12:
hash = (37 * hash) + TRIAL_AVATAR_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarInfo().hashCode();
break;
case 1966:
hash = (37 * hash) + MUSIC_GAME_INFO_FIELD_NUMBER;
hash = (53 * hash) + getMusicGameInfo().hashCode();
@ -2159,6 +2270,13 @@ public final class ActivityInfoOuterClass {
result.firstDayStartTime_ = firstDayStartTime_;
result.curScore_ = curScore_;
result.eFJOLIOFLBG_ = eFJOLIOFLBG_;
if (detailCase_ == 12) {
if (trialAvatarInfoBuilder_ == null) {
result.detail_ = detail_;
} else {
result.detail_ = trialAvatarInfoBuilder_.build();
}
}
if (detailCase_ == 1966) {
if (musicGameInfoBuilder_ == null) {
result.detail_ = detail_;
@ -2366,6 +2484,11 @@ public final class ActivityInfoOuterClass {
setEFJOLIOFLBG(other.getEFJOLIOFLBG());
}
switch (other.getDetailCase()) {
case TRIAL_AVATAR_INFO:
{
mergeTrialAvatarInfo(other.getTrialAvatarInfo());
break;
}
case MUSIC_GAME_INFO:
{
mergeMusicGameInfo(other.getMusicGameInfo());
@ -4125,6 +4248,254 @@ public final class ActivityInfoOuterClass {
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfoOrBuilder>
trialAvatarInfoBuilder_;
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*
* @return Whether the trialAvatarInfo field is set.
*/
@java.lang.Override
public boolean hasTrialAvatarInfo() {
return detailCase_ == 12;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*
* @return The trialAvatarInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
getTrialAvatarInfo() {
if (trialAvatarInfoBuilder_ == null) {
if (detailCase_ == 12) {
return (emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_;
}
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance();
} else {
if (detailCase_ == 12) {
return trialAvatarInfoBuilder_.getMessage();
}
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance();
}
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
public Builder setTrialAvatarInfo(
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
value) {
if (trialAvatarInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
detail_ = value;
onChanged();
} else {
trialAvatarInfoBuilder_.setMessage(value);
}
detailCase_ = 12;
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
public Builder setTrialAvatarInfo(
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder
builderForValue) {
if (trialAvatarInfoBuilder_ == null) {
detail_ = builderForValue.build();
onChanged();
} else {
trialAvatarInfoBuilder_.setMessage(builderForValue.build());
}
detailCase_ = 12;
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
public Builder mergeTrialAvatarInfo(
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo
value) {
if (trialAvatarInfoBuilder_ == null) {
if (detailCase_ == 12
&& detail_
!= emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance()) {
detail_ =
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.newBuilder(
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_)
.mergeFrom(value)
.buildPartial();
} else {
detail_ = value;
}
onChanged();
} else {
if (detailCase_ == 12) {
trialAvatarInfoBuilder_.mergeFrom(value);
}
trialAvatarInfoBuilder_.setMessage(value);
}
detailCase_ = 12;
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
public Builder clearTrialAvatarInfo() {
if (trialAvatarInfoBuilder_ == null) {
if (detailCase_ == 12) {
detailCase_ = 0;
detail_ = null;
onChanged();
}
} else {
if (detailCase_ == 12) {
detailCase_ = 0;
detail_ = null;
}
trialAvatarInfoBuilder_.clear();
}
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder
getTrialAvatarInfoBuilder() {
return getTrialAvatarInfoFieldBuilder().getBuilder();
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfoOrBuilder
getTrialAvatarInfoOrBuilder() {
if ((detailCase_ == 12) && (trialAvatarInfoBuilder_ != null)) {
return trialAvatarInfoBuilder_.getMessageOrBuilder();
} else {
if (detailCase_ == 12) {
return (emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_;
}
return emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance();
}
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.TrialAvatarActivityDetailInfo trial_avatar_info = 12;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfoOrBuilder>
getTrialAvatarInfoFieldBuilder() {
if (trialAvatarInfoBuilder_ == null) {
if (!(detailCase_ == 12)) {
detail_ =
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.getDefaultInstance();
}
trialAvatarInfoBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo.Builder,
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfoOrBuilder>(
(emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass
.TrialAvatarActivityDetailInfo)
detail_,
getParentForChildren(),
isClean());
detail_ = null;
}
detailCase_ = 12;
onChanged();
;
return trialAvatarInfoBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfo,
@ -4134,12 +4505,6 @@ public final class ActivityInfoOuterClass {
.MusicGameActivityDetailInfoOrBuilder>
musicGameInfoBuilder_;
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*
* @return Whether the musicGameInfo field is set.
@ -4149,12 +4514,6 @@ public final class ActivityInfoOuterClass {
return detailCase_ == 1966;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*
* @return The musicGameInfo.
@ -4179,15 +4538,7 @@ public final class ActivityInfoOuterClass {
.MusicGameActivityDetailInfo.getDefaultInstance();
}
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
public Builder setMusicGameInfo(
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfo
@ -4204,15 +4555,7 @@ public final class ActivityInfoOuterClass {
detailCase_ = 1966;
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
public Builder setMusicGameInfo(
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfo.Builder
@ -4226,15 +4569,7 @@ public final class ActivityInfoOuterClass {
detailCase_ = 1966;
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
public Builder mergeMusicGameInfo(
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfo
@ -4265,15 +4600,7 @@ public final class ActivityInfoOuterClass {
detailCase_ = 1966;
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
public Builder clearMusicGameInfo() {
if (musicGameInfoBuilder_ == null) {
if (detailCase_ == 1966) {
@ -4290,29 +4617,13 @@ public final class ActivityInfoOuterClass {
}
return this;
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
public emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfo.Builder
getMusicGameInfoBuilder() {
return getMusicGameInfoFieldBuilder().getBuilder();
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfoOrBuilder
@ -4329,15 +4640,7 @@ public final class ActivityInfoOuterClass {
.MusicGameActivityDetailInfo.getDefaultInstance();
}
}
/**
*
*
* <pre>
* event gc
* </pre>
*
* <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code>
*/
/** <code>.MusicGameActivityDetailInfo music_game_info = 1966;</code> */
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass
.MusicGameActivityDetailInfo,
@ -4451,30 +4754,33 @@ public final class ActivityInfoOuterClass {
java.lang.String[] descriptorData = {
"\n\022ActivityInfo.proto\032\032ActivityPushTipsDa"
+ "ta.proto\032\031ActivityWatcherInfo.proto\032!Mus"
+ "icGameActivityDetailInfo.proto\"\360\006\n\014Activ"
+ "ityInfo\022\024\n\013ANGGLPJEBLE\030\266\003 \001(\r\022\023\n\013schedul"
+ "e_id\030\016 \001(\r\022\023\n\013FLFGIDFALEK\030\017 \001(\010\022\024\n\013LPOCN"
+ "CICJHM\030\345\003 \001(\r\022>\n\021activity_coin_map\030\277\005 \003("
+ "\0132\".ActivityInfo.ActivityCoinMapEntry\022\026\n"
+ "\016meet_cond_list\030\002 \003(\r\022\020\n\010end_time\030\004 \001(\r\022"
+ "\024\n\013GLOONPBGOHM\030\263\n \001(\010\022<\n\034activity_push_t"
+ "ips_data_list\030\243\016 \003(\0132\025.ActivityPushTipsD"
+ "ata\022\030\n\020expire_cond_list\030\r \003(\r\022\023\n\013is_fini"
+ "shed\030\006 \001(\010\022\032\n\021taken_reward_list\030\376\006 \003(\r\022/"
+ "\n\021watcher_info_list\030\010 \003(\0132\024.ActivityWatc"
+ "herInfo\022\025\n\ractivity_type\030\005 \001(\r\022\023\n\013activi"
+ "ty_id\030\007 \001(\r\022\023\n\013CJDFLBKBNPL\030\n \001(\010\022=\n\021wish"
+ "_gift_num_map\030\263\013 \003(\0132!.ActivityInfo.Wish"
+ "GiftNumMapEntry\022\024\n\013OEBHLKFBCOG\030\270\005 \001(\010\022\024\n"
+ "\013LGKOJCGDGBH\030\310\r \001(\010\022\022\n\nbegin_time\030\t \001(\r\022"
+ "\024\n\013DDBJAKPEPLC\030\212\006 \003(\r\022\035\n\024first_day_start"
+ "_time\030\215\r \001(\r\022\022\n\tcur_score\030\355\007 \001(\r\022\024\n\013EFJO"
+ "LIOFLBG\030\202\004 \001(\010\0228\n\017music_game_info\030\256\017 \001(\013"
+ "2\034.MusicGameActivityDetailInfoH\000\0326\n\024Acti"
+ "vityCoinMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002"
+ " \001(\r:\0028\001\0325\n\023WishGiftNumMapEntry\022\013\n\003key\030\001"
+ " \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\010\n\006detailB\033\n\031emu"
+ ".grasscutter.net.protob\006proto3"
+ "icGameActivityDetailInfo.proto\032#TrialAva"
+ "tarActivityDetailInfo.proto\"\255\007\n\014Activity"
+ "Info\022\024\n\013ANGGLPJEBLE\030\266\003 \001(\r\022\023\n\013schedule_i"
+ "d\030\016 \001(\r\022\023\n\013FLFGIDFALEK\030\017 \001(\010\022\024\n\013LPOCNCIC"
+ "JHM\030\345\003 \001(\r\022>\n\021activity_coin_map\030\277\005 \003(\0132\""
+ ".ActivityInfo.ActivityCoinMapEntry\022\026\n\016me"
+ "et_cond_list\030\002 \003(\r\022\020\n\010end_time\030\004 \001(\r\022\024\n\013"
+ "GLOONPBGOHM\030\263\n \001(\010\022<\n\034activity_push_tips"
+ "_data_list\030\243\016 \003(\0132\025.ActivityPushTipsData"
+ "\022\030\n\020expire_cond_list\030\r \003(\r\022\023\n\013is_finishe"
+ "d\030\006 \001(\010\022\032\n\021taken_reward_list\030\376\006 \003(\r\022/\n\021w"
+ "atcher_info_list\030\010 \003(\0132\024.ActivityWatcher"
+ "Info\022\025\n\ractivity_type\030\005 \001(\r\022\023\n\013activity_"
+ "id\030\007 \001(\r\022\023\n\013CJDFLBKBNPL\030\n \001(\010\022=\n\021wish_gi"
+ "ft_num_map\030\263\013 \003(\0132!.ActivityInfo.WishGif"
+ "tNumMapEntry\022\024\n\013OEBHLKFBCOG\030\270\005 \001(\010\022\024\n\013LG"
+ "KOJCGDGBH\030\310\r \001(\010\022\022\n\nbegin_time\030\t \001(\r\022\024\n\013"
+ "DDBJAKPEPLC\030\212\006 \003(\r\022\035\n\024first_day_start_ti"
+ "me\030\215\r \001(\r\022\022\n\tcur_score\030\355\007 \001(\r\022\024\n\013EFJOLIO"
+ "FLBG\030\202\004 \001(\010\022;\n\021trial_avatar_info\030\014 \001(\0132\036"
+ ".TrialAvatarActivityDetailInfoH\000\0228\n\017musi"
+ "c_game_info\030\256\017 \001(\0132\034.MusicGameActivityDe"
+ "tailInfoH\000\0326\n\024ActivityCoinMapEntry\022\013\n\003ke"
+ "y\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001\0325\n\023WishGiftNu"
+ "mMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028"
+ "\001B\010\n\006detailB\033\n\031emu.grasscutter.net.proto"
+ "b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@ -4483,6 +4789,7 @@ public final class ActivityInfoOuterClass {
emu.grasscutter.net.proto.ActivityPushTipsDataOuterClass.getDescriptor(),
emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass.getDescriptor(),
});
internal_static_ActivityInfo_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_ActivityInfo_fieldAccessorTable =
@ -4513,6 +4820,7 @@ public final class ActivityInfoOuterClass {
"FirstDayStartTime",
"CurScore",
"EFJOLIOFLBG",
"TrialAvatarInfo",
"MusicGameInfo",
"Detail",
});
@ -4535,6 +4843,7 @@ public final class ActivityInfoOuterClass {
emu.grasscutter.net.proto.ActivityPushTipsDataOuterClass.getDescriptor();
emu.grasscutter.net.proto.ActivityWatcherInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.MusicGameActivityDetailInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.TrialAvatarActivityDetailInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)

View File

@ -18,21 +18,21 @@ public final class MusicGameRecordOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool is_unlock = 12;</code>
* <code>bool is_unlock = 9;</code>
*
* @return The isUnlock.
*/
boolean getIsUnlock();
/**
* <code>uint32 max_score = 4;</code>
* <code>uint32 max_score = 11;</code>
*
* @return The maxScore.
*/
int getMaxScore();
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 6;</code>
*
* @return The maxCombo.
*/
@ -42,7 +42,7 @@ public final class MusicGameRecordOuterClass {
*
*
* <pre>
* Name: MPJJDJEINNM
* 3.2
* </pre>
*
* Protobuf type {@code MusicGameRecord}
@ -88,21 +88,21 @@ public final class MusicGameRecordOuterClass {
case 0:
done = true;
break;
case 32:
{
maxScore_ = input.readUInt32();
break;
}
case 56:
case 48:
{
maxCombo_ = input.readUInt32();
break;
}
case 96:
case 72:
{
isUnlock_ = input.readBool();
break;
}
case 88:
{
maxScore_ = input.readUInt32();
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@ -137,10 +137,10 @@ public final class MusicGameRecordOuterClass {
emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord.Builder.class);
}
public static final int IS_UNLOCK_FIELD_NUMBER = 12;
public static final int IS_UNLOCK_FIELD_NUMBER = 9;
private boolean isUnlock_;
/**
* <code>bool is_unlock = 12;</code>
* <code>bool is_unlock = 9;</code>
*
* @return The isUnlock.
*/
@ -149,10 +149,10 @@ public final class MusicGameRecordOuterClass {
return isUnlock_;
}
public static final int MAX_SCORE_FIELD_NUMBER = 4;
public static final int MAX_SCORE_FIELD_NUMBER = 11;
private int maxScore_;
/**
* <code>uint32 max_score = 4;</code>
* <code>uint32 max_score = 11;</code>
*
* @return The maxScore.
*/
@ -161,10 +161,10 @@ public final class MusicGameRecordOuterClass {
return maxScore_;
}
public static final int MAX_COMBO_FIELD_NUMBER = 7;
public static final int MAX_COMBO_FIELD_NUMBER = 6;
private int maxCombo_;
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 6;</code>
*
* @return The maxCombo.
*/
@ -187,14 +187,14 @@ public final class MusicGameRecordOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (maxScore_ != 0) {
output.writeUInt32(4, maxScore_);
}
if (maxCombo_ != 0) {
output.writeUInt32(7, maxCombo_);
output.writeUInt32(6, maxCombo_);
}
if (isUnlock_ != false) {
output.writeBool(12, isUnlock_);
output.writeBool(9, isUnlock_);
}
if (maxScore_ != 0) {
output.writeUInt32(11, maxScore_);
}
unknownFields.writeTo(output);
}
@ -205,14 +205,14 @@ public final class MusicGameRecordOuterClass {
if (size != -1) return size;
size = 0;
if (maxScore_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, maxScore_);
}
if (maxCombo_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(7, maxCombo_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, maxCombo_);
}
if (isUnlock_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, isUnlock_);
size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, isUnlock_);
}
if (maxScore_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, maxScore_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@ -357,7 +357,7 @@ public final class MusicGameRecordOuterClass {
*
*
* <pre>
* Name: MPJJDJEINNM
* 3.2
* </pre>
*
* Protobuf type {@code MusicGameRecord}
@ -535,7 +535,7 @@ public final class MusicGameRecordOuterClass {
private boolean isUnlock_;
/**
* <code>bool is_unlock = 12;</code>
* <code>bool is_unlock = 9;</code>
*
* @return The isUnlock.
*/
@ -544,7 +544,7 @@ public final class MusicGameRecordOuterClass {
return isUnlock_;
}
/**
* <code>bool is_unlock = 12;</code>
* <code>bool is_unlock = 9;</code>
*
* @param value The isUnlock to set.
* @return This builder for chaining.
@ -556,7 +556,7 @@ public final class MusicGameRecordOuterClass {
return this;
}
/**
* <code>bool is_unlock = 12;</code>
* <code>bool is_unlock = 9;</code>
*
* @return This builder for chaining.
*/
@ -569,7 +569,7 @@ public final class MusicGameRecordOuterClass {
private int maxScore_;
/**
* <code>uint32 max_score = 4;</code>
* <code>uint32 max_score = 11;</code>
*
* @return The maxScore.
*/
@ -578,7 +578,7 @@ public final class MusicGameRecordOuterClass {
return maxScore_;
}
/**
* <code>uint32 max_score = 4;</code>
* <code>uint32 max_score = 11;</code>
*
* @param value The maxScore to set.
* @return This builder for chaining.
@ -590,7 +590,7 @@ public final class MusicGameRecordOuterClass {
return this;
}
/**
* <code>uint32 max_score = 4;</code>
* <code>uint32 max_score = 11;</code>
*
* @return This builder for chaining.
*/
@ -603,7 +603,7 @@ public final class MusicGameRecordOuterClass {
private int maxCombo_;
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 6;</code>
*
* @return The maxCombo.
*/
@ -612,7 +612,7 @@ public final class MusicGameRecordOuterClass {
return maxCombo_;
}
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 6;</code>
*
* @param value The maxCombo to set.
* @return This builder for chaining.
@ -624,7 +624,7 @@ public final class MusicGameRecordOuterClass {
return this;
}
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 6;</code>
*
* @return This builder for chaining.
*/
@ -704,8 +704,8 @@ public final class MusicGameRecordOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\025MusicGameRecord.proto\"J\n\017MusicGameReco"
+ "rd\022\021\n\tis_unlock\030\014 \001(\010\022\021\n\tmax_score\030\004 \001(\r"
+ "\022\021\n\tmax_combo\030\007 \001(\rB\033\n\031emu.grasscutter.n"
+ "rd\022\021\n\tis_unlock\030\t \001(\010\022\021\n\tmax_score\030\013 \001(\r"
+ "\022\021\n\tmax_combo\030\006 \001(\rB\033\n\031emu.grasscutter.n"
+ "et.protob\006proto3"
};
descriptor =

View File

@ -18,46 +18,47 @@ public final class MusicGameSettleRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint64 ugc_guid = 9;</code>
* <code>int32 retcode = 11;</code>
*
* @return The ugcGuid.
* @return The retcode.
*/
long getUgcGuid();
int getRetcode();
/**
* <code>bool is_unlock_next_level = 5;</code>
*
* @return The isUnlockNextLevel.
*/
boolean getIsUnlockNextLevel();
/**
* <code>uint32 music_basic_id = 14;</code>
* <code>uint32 music_basic_id = 5;</code>
*
* @return The musicBasicId.
*/
int getMusicBasicId();
/**
* <code>bool is_new_record = 7;</code>
* <code>bool is_new_record = 6;</code>
*
* @return The isNewRecord.
*/
boolean getIsNewRecord();
/**
* <code>int32 retcode = 15;</code>
* <code>bool is_unlock_next_level = 2;</code>
*
* @return The retcode.
* @return The isUnlockNextLevel.
*/
int getRetcode();
boolean getIsUnlockNextLevel();
/**
* <code>uint64 ugc_guid = 10;</code>
*
* @return The ugcGuid.
*/
long getUgcGuid();
}
/**
*
*
* <pre>
* Name: ANDLNOABFII
* CmdId: 8542
* CmdId: 8673 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code MusicGameSettleRsp}
@ -103,27 +104,27 @@ public final class MusicGameSettleRspOuterClass {
case 0:
done = true;
break;
case 40:
case 16:
{
isUnlockNextLevel_ = input.readBool();
break;
}
case 56:
{
isNewRecord_ = input.readBool();
break;
}
case 72:
{
ugcGuid_ = input.readUInt64();
break;
}
case 112:
case 40:
{
musicBasicId_ = input.readUInt32();
break;
}
case 120:
case 48:
{
isNewRecord_ = input.readBool();
break;
}
case 80:
{
ugcGuid_ = input.readUInt64();
break;
}
case 88:
{
retcode_ = input.readInt32();
break;
@ -163,34 +164,22 @@ public final class MusicGameSettleRspOuterClass {
.class);
}
public static final int UGC_GUID_FIELD_NUMBER = 9;
private long ugcGuid_;
public static final int RETCODE_FIELD_NUMBER = 11;
private int retcode_;
/**
* <code>uint64 ugc_guid = 9;</code>
* <code>int32 retcode = 11;</code>
*
* @return The ugcGuid.
* @return The retcode.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
public int getRetcode() {
return retcode_;
}
public static final int IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER = 5;
private boolean isUnlockNextLevel_;
/**
* <code>bool is_unlock_next_level = 5;</code>
*
* @return The isUnlockNextLevel.
*/
@java.lang.Override
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
}
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 14;
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 5;
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 14;</code>
* <code>uint32 music_basic_id = 5;</code>
*
* @return The musicBasicId.
*/
@ -199,10 +188,10 @@ public final class MusicGameSettleRspOuterClass {
return musicBasicId_;
}
public static final int IS_NEW_RECORD_FIELD_NUMBER = 7;
public static final int IS_NEW_RECORD_FIELD_NUMBER = 6;
private boolean isNewRecord_;
/**
* <code>bool is_new_record = 7;</code>
* <code>bool is_new_record = 6;</code>
*
* @return The isNewRecord.
*/
@ -211,16 +200,28 @@ public final class MusicGameSettleRspOuterClass {
return isNewRecord_;
}
public static final int RETCODE_FIELD_NUMBER = 15;
private int retcode_;
public static final int IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER = 2;
private boolean isUnlockNextLevel_;
/**
* <code>int32 retcode = 15;</code>
* <code>bool is_unlock_next_level = 2;</code>
*
* @return The retcode.
* @return The isUnlockNextLevel.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
}
public static final int UGC_GUID_FIELD_NUMBER = 10;
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 10;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
private byte memoizedIsInitialized = -1;
@ -238,19 +239,19 @@ public final class MusicGameSettleRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (isUnlockNextLevel_ != false) {
output.writeBool(5, isUnlockNextLevel_);
}
if (isNewRecord_ != false) {
output.writeBool(7, isNewRecord_);
}
if (ugcGuid_ != 0L) {
output.writeUInt64(9, ugcGuid_);
output.writeBool(2, isUnlockNextLevel_);
}
if (musicBasicId_ != 0) {
output.writeUInt32(14, musicBasicId_);
output.writeUInt32(5, musicBasicId_);
}
if (isNewRecord_ != false) {
output.writeBool(6, isNewRecord_);
}
if (ugcGuid_ != 0L) {
output.writeUInt64(10, ugcGuid_);
}
if (retcode_ != 0) {
output.writeInt32(15, retcode_);
output.writeInt32(11, retcode_);
}
unknownFields.writeTo(output);
}
@ -262,19 +263,19 @@ public final class MusicGameSettleRspOuterClass {
size = 0;
if (isUnlockNextLevel_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isUnlockNextLevel_);
}
if (isNewRecord_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, isNewRecord_);
}
if (ugcGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(9, ugcGuid_);
size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, isUnlockNextLevel_);
}
if (musicBasicId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(14, musicBasicId_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, musicBasicId_);
}
if (isNewRecord_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, isNewRecord_);
}
if (ugcGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(10, ugcGuid_);
}
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(15, retcode_);
size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, retcode_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@ -293,11 +294,11 @@ public final class MusicGameSettleRspOuterClass {
emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp other =
(emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp) obj;
if (getUgcGuid() != other.getUgcGuid()) return false;
if (getIsUnlockNextLevel() != other.getIsUnlockNextLevel()) return false;
if (getRetcode() != other.getRetcode()) return false;
if (getMusicBasicId() != other.getMusicBasicId()) return false;
if (getIsNewRecord() != other.getIsNewRecord()) return false;
if (getRetcode() != other.getRetcode()) return false;
if (getIsUnlockNextLevel() != other.getIsUnlockNextLevel()) return false;
if (getUgcGuid() != other.getUgcGuid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@ -309,16 +310,16 @@ public final class MusicGameSettleRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
hash = (37 * hash) + IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsUnlockNextLevel());
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId();
hash = (37 * hash) + IS_NEW_RECORD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsNewRecord());
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsUnlockNextLevel());
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@ -431,8 +432,9 @@ public final class MusicGameSettleRspOuterClass {
*
*
* <pre>
* Name: ANDLNOABFII
* CmdId: 8542
* CmdId: 8673 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code MusicGameSettleRsp}
@ -476,15 +478,15 @@ public final class MusicGameSettleRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
ugcGuid_ = 0L;
isUnlockNextLevel_ = false;
retcode_ = 0;
musicBasicId_ = 0;
isNewRecord_ = false;
retcode_ = 0;
isUnlockNextLevel_ = false;
ugcGuid_ = 0L;
return this;
}
@ -517,11 +519,11 @@ public final class MusicGameSettleRspOuterClass {
buildPartial() {
emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp result =
new emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp(this);
result.ugcGuid_ = ugcGuid_;
result.isUnlockNextLevel_ = isUnlockNextLevel_;
result.retcode_ = retcode_;
result.musicBasicId_ = musicBasicId_;
result.isNewRecord_ = isNewRecord_;
result.retcode_ = retcode_;
result.isUnlockNextLevel_ = isUnlockNextLevel_;
result.ugcGuid_ = ugcGuid_;
onBuilt();
return result;
}
@ -578,11 +580,8 @@ public final class MusicGameSettleRspOuterClass {
if (other
== emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp
.getDefaultInstance()) return this;
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
}
if (other.getIsUnlockNextLevel() != false) {
setIsUnlockNextLevel(other.getIsUnlockNextLevel());
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
@ -590,8 +589,11 @@ public final class MusicGameSettleRspOuterClass {
if (other.getIsNewRecord() != false) {
setIsNewRecord(other.getIsNewRecord());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
if (other.getIsUnlockNextLevel() != false) {
setIsUnlockNextLevel(other.getIsUnlockNextLevel());
}
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@ -625,77 +627,43 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
private long ugcGuid_;
private int retcode_;
/**
* <code>uint64 ugc_guid = 9;</code>
* <code>int32 retcode = 11;</code>
*
* @return The ugcGuid.
* @return The retcode.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
public int getRetcode() {
return retcode_;
}
/**
* <code>uint64 ugc_guid = 9;</code>
* <code>int32 retcode = 11;</code>
*
* @param value The ugcGuid to set.
* @param value The retcode to set.
* @return This builder for chaining.
*/
public Builder setUgcGuid(long value) {
public Builder setRetcode(int value) {
ugcGuid_ = value;
retcode_ = value;
onChanged();
return this;
}
/**
* <code>uint64 ugc_guid = 9;</code>
* <code>int32 retcode = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcGuid() {
public Builder clearRetcode() {
ugcGuid_ = 0L;
onChanged();
return this;
}
private boolean isUnlockNextLevel_;
/**
* <code>bool is_unlock_next_level = 5;</code>
*
* @return The isUnlockNextLevel.
*/
@java.lang.Override
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
}
/**
* <code>bool is_unlock_next_level = 5;</code>
*
* @param value The isUnlockNextLevel to set.
* @return This builder for chaining.
*/
public Builder setIsUnlockNextLevel(boolean value) {
isUnlockNextLevel_ = value;
onChanged();
return this;
}
/**
* <code>bool is_unlock_next_level = 5;</code>
*
* @return This builder for chaining.
*/
public Builder clearIsUnlockNextLevel() {
isUnlockNextLevel_ = false;
retcode_ = 0;
onChanged();
return this;
}
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 14;</code>
* <code>uint32 music_basic_id = 5;</code>
*
* @return The musicBasicId.
*/
@ -704,7 +672,7 @@ public final class MusicGameSettleRspOuterClass {
return musicBasicId_;
}
/**
* <code>uint32 music_basic_id = 14;</code>
* <code>uint32 music_basic_id = 5;</code>
*
* @param value The musicBasicId to set.
* @return This builder for chaining.
@ -716,7 +684,7 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
/**
* <code>uint32 music_basic_id = 14;</code>
* <code>uint32 music_basic_id = 5;</code>
*
* @return This builder for chaining.
*/
@ -729,7 +697,7 @@ public final class MusicGameSettleRspOuterClass {
private boolean isNewRecord_;
/**
* <code>bool is_new_record = 7;</code>
* <code>bool is_new_record = 6;</code>
*
* @return The isNewRecord.
*/
@ -738,7 +706,7 @@ public final class MusicGameSettleRspOuterClass {
return isNewRecord_;
}
/**
* <code>bool is_new_record = 7;</code>
* <code>bool is_new_record = 6;</code>
*
* @param value The isNewRecord to set.
* @return This builder for chaining.
@ -750,7 +718,7 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
/**
* <code>bool is_new_record = 7;</code>
* <code>bool is_new_record = 6;</code>
*
* @return This builder for chaining.
*/
@ -761,36 +729,70 @@ public final class MusicGameSettleRspOuterClass {
return this;
}
private int retcode_;
private boolean isUnlockNextLevel_;
/**
* <code>int32 retcode = 15;</code>
* <code>bool is_unlock_next_level = 2;</code>
*
* @return The retcode.
* @return The isUnlockNextLevel.
*/
@java.lang.Override
public int getRetcode() {
return retcode_;
public boolean getIsUnlockNextLevel() {
return isUnlockNextLevel_;
}
/**
* <code>int32 retcode = 15;</code>
* <code>bool is_unlock_next_level = 2;</code>
*
* @param value The retcode to set.
* @param value The isUnlockNextLevel to set.
* @return This builder for chaining.
*/
public Builder setRetcode(int value) {
public Builder setIsUnlockNextLevel(boolean value) {
retcode_ = value;
isUnlockNextLevel_ = value;
onChanged();
return this;
}
/**
* <code>int32 retcode = 15;</code>
* <code>bool is_unlock_next_level = 2;</code>
*
* @return This builder for chaining.
*/
public Builder clearRetcode() {
public Builder clearIsUnlockNextLevel() {
retcode_ = 0;
isUnlockNextLevel_ = false;
onChanged();
return this;
}
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 10;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
/**
* <code>uint64 ugc_guid = 10;</code>
*
* @param value The ugcGuid to set.
* @return This builder for chaining.
*/
public Builder setUgcGuid(long value) {
ugcGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint64 ugc_guid = 10;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcGuid() {
ugcGuid_ = 0L;
onChanged();
return this;
}
@ -865,10 +867,10 @@ public final class MusicGameSettleRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\030MusicGameSettleRsp.proto\"\204\001\n\022MusicGame"
+ "SettleRsp\022\020\n\010ugc_guid\030\t \001(\004\022\034\n\024is_unlock"
+ "_next_level\030\005 \001(\010\022\026\n\016music_basic_id\030\016 \001("
+ "\r\022\025\n\ris_new_record\030\007 \001(\010\022\017\n\007retcode\030\017 \001("
+ "\005B\033\n\031emu.grasscutter.net.protob\006proto3"
+ "SettleRsp\022\017\n\007retcode\030\013 \001(\005\022\026\n\016music_basi"
+ "c_id\030\005 \001(\r\022\025\n\ris_new_record\030\006 \001(\010\022\034\n\024is_"
+ "unlock_next_level\030\002 \001(\010\022\020\n\010ugc_guid\030\n \001("
+ "\004B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@ -878,7 +880,7 @@ public final class MusicGameSettleRspOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameSettleRsp_descriptor,
new java.lang.String[] {
"UgcGuid", "IsUnlockNextLevel", "MusicBasicId", "IsNewRecord", "Retcode",
"Retcode", "MusicBasicId", "IsNewRecord", "IsUnlockNextLevel", "UgcGuid",
});
}

View File

@ -18,32 +18,34 @@ public final class MusicGameStartReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint64 ugc_guid = 13;</code>
* <code>uint32 music_basic_id = 2;</code>
*
* @return The ugcGuid.
* @return The musicBasicId.
*/
long getUgcGuid();
int getMusicBasicId();
/**
* <code>bool is_save_score = 7;</code>
* <code>bool is_save_score = 11;</code>
*
* @return The isSaveScore.
*/
boolean getIsSaveScore();
/**
* <code>uint32 music_basic_id = 4;</code>
* <code>uint64 ugc_guid = 3;</code>
*
* @return The musicBasicId.
* @return The ugcGuid.
*/
int getMusicBasicId();
long getUgcGuid();
}
/**
*
*
* <pre>
* Name: KIECLHFBINF
* CmdId: 8103
* CmdId: 8406 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code MusicGameStartReq}
@ -89,21 +91,21 @@ public final class MusicGameStartReqOuterClass {
case 0:
done = true;
break;
case 32:
case 16:
{
musicBasicId_ = input.readUInt32();
break;
}
case 56:
{
isSaveScore_ = input.readBool();
break;
}
case 104:
case 24:
{
ugcGuid_ = input.readUInt64();
break;
}
case 88:
{
isSaveScore_ = input.readBool();
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@ -139,22 +141,22 @@ public final class MusicGameStartReqOuterClass {
.class);
}
public static final int UGC_GUID_FIELD_NUMBER = 13;
private long ugcGuid_;
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 2;
private int musicBasicId_;
/**
* <code>uint64 ugc_guid = 13;</code>
* <code>uint32 music_basic_id = 2;</code>
*
* @return The ugcGuid.
* @return The musicBasicId.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
public int getMusicBasicId() {
return musicBasicId_;
}
public static final int IS_SAVE_SCORE_FIELD_NUMBER = 7;
public static final int IS_SAVE_SCORE_FIELD_NUMBER = 11;
private boolean isSaveScore_;
/**
* <code>bool is_save_score = 7;</code>
* <code>bool is_save_score = 11;</code>
*
* @return The isSaveScore.
*/
@ -163,16 +165,16 @@ public final class MusicGameStartReqOuterClass {
return isSaveScore_;
}
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 4;
private int musicBasicId_;
public static final int UGC_GUID_FIELD_NUMBER = 3;
private long ugcGuid_;
/**
* <code>uint32 music_basic_id = 4;</code>
* <code>uint64 ugc_guid = 3;</code>
*
* @return The musicBasicId.
* @return The ugcGuid.
*/
@java.lang.Override
public int getMusicBasicId() {
return musicBasicId_;
public long getUgcGuid() {
return ugcGuid_;
}
private byte memoizedIsInitialized = -1;
@ -190,13 +192,13 @@ public final class MusicGameStartReqOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (musicBasicId_ != 0) {
output.writeUInt32(4, musicBasicId_);
}
if (isSaveScore_ != false) {
output.writeBool(7, isSaveScore_);
output.writeUInt32(2, musicBasicId_);
}
if (ugcGuid_ != 0L) {
output.writeUInt64(13, ugcGuid_);
output.writeUInt64(3, ugcGuid_);
}
if (isSaveScore_ != false) {
output.writeBool(11, isSaveScore_);
}
unknownFields.writeTo(output);
}
@ -208,13 +210,13 @@ public final class MusicGameStartReqOuterClass {
size = 0;
if (musicBasicId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, musicBasicId_);
}
if (isSaveScore_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, isSaveScore_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(2, musicBasicId_);
}
if (ugcGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(13, ugcGuid_);
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3, ugcGuid_);
}
if (isSaveScore_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, isSaveScore_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@ -233,9 +235,9 @@ public final class MusicGameStartReqOuterClass {
emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq other =
(emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq) obj;
if (getUgcGuid() != other.getUgcGuid()) return false;
if (getIsSaveScore() != other.getIsSaveScore()) return false;
if (getMusicBasicId() != other.getMusicBasicId()) return false;
if (getIsSaveScore() != other.getIsSaveScore()) return false;
if (getUgcGuid() != other.getUgcGuid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@ -247,12 +249,12 @@ public final class MusicGameStartReqOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
hash = (37 * hash) + IS_SAVE_SCORE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsSaveScore());
hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId();
hash = (37 * hash) + IS_SAVE_SCORE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsSaveScore());
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@ -360,8 +362,10 @@ public final class MusicGameStartReqOuterClass {
*
*
* <pre>
* Name: KIECLHFBINF
* CmdId: 8103
* CmdId: 8406 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre>
*
* Protobuf type {@code MusicGameStartReq}
@ -405,11 +409,11 @@ public final class MusicGameStartReqOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
ugcGuid_ = 0L;
musicBasicId_ = 0;
isSaveScore_ = false;
musicBasicId_ = 0;
ugcGuid_ = 0L;
return this;
}
@ -442,9 +446,9 @@ public final class MusicGameStartReqOuterClass {
buildPartial() {
emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq result =
new emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq(this);
result.ugcGuid_ = ugcGuid_;
result.isSaveScore_ = isSaveScore_;
result.musicBasicId_ = musicBasicId_;
result.isSaveScore_ = isSaveScore_;
result.ugcGuid_ = ugcGuid_;
onBuilt();
return result;
}
@ -501,14 +505,14 @@ public final class MusicGameStartReqOuterClass {
if (other
== emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq
.getDefaultInstance()) return this;
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
}
if (other.getIsSaveScore() != false) {
setIsSaveScore(other.getIsSaveScore());
}
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@ -542,77 +546,9 @@ public final class MusicGameStartReqOuterClass {
return this;
}
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 13;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
/**
* <code>uint64 ugc_guid = 13;</code>
*
* @param value The ugcGuid to set.
* @return This builder for chaining.
*/
public Builder setUgcGuid(long value) {
ugcGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint64 ugc_guid = 13;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcGuid() {
ugcGuid_ = 0L;
onChanged();
return this;
}
private boolean isSaveScore_;
/**
* <code>bool is_save_score = 7;</code>
*
* @return The isSaveScore.
*/
@java.lang.Override
public boolean getIsSaveScore() {
return isSaveScore_;
}
/**
* <code>bool is_save_score = 7;</code>
*
* @param value The isSaveScore to set.
* @return This builder for chaining.
*/
public Builder setIsSaveScore(boolean value) {
isSaveScore_ = value;
onChanged();
return this;
}
/**
* <code>bool is_save_score = 7;</code>
*
* @return This builder for chaining.
*/
public Builder clearIsSaveScore() {
isSaveScore_ = false;
onChanged();
return this;
}
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 4;</code>
* <code>uint32 music_basic_id = 2;</code>
*
* @return The musicBasicId.
*/
@ -621,7 +557,7 @@ public final class MusicGameStartReqOuterClass {
return musicBasicId_;
}
/**
* <code>uint32 music_basic_id = 4;</code>
* <code>uint32 music_basic_id = 2;</code>
*
* @param value The musicBasicId to set.
* @return This builder for chaining.
@ -633,7 +569,7 @@ public final class MusicGameStartReqOuterClass {
return this;
}
/**
* <code>uint32 music_basic_id = 4;</code>
* <code>uint32 music_basic_id = 2;</code>
*
* @return This builder for chaining.
*/
@ -644,6 +580,74 @@ public final class MusicGameStartReqOuterClass {
return this;
}
private boolean isSaveScore_;
/**
* <code>bool is_save_score = 11;</code>
*
* @return The isSaveScore.
*/
@java.lang.Override
public boolean getIsSaveScore() {
return isSaveScore_;
}
/**
* <code>bool is_save_score = 11;</code>
*
* @param value The isSaveScore to set.
* @return This builder for chaining.
*/
public Builder setIsSaveScore(boolean value) {
isSaveScore_ = value;
onChanged();
return this;
}
/**
* <code>bool is_save_score = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearIsSaveScore() {
isSaveScore_ = false;
onChanged();
return this;
}
private long ugcGuid_;
/**
* <code>uint64 ugc_guid = 3;</code>
*
* @return The ugcGuid.
*/
@java.lang.Override
public long getUgcGuid() {
return ugcGuid_;
}
/**
* <code>uint64 ugc_guid = 3;</code>
*
* @param value The ugcGuid to set.
* @return This builder for chaining.
*/
public Builder setUgcGuid(long value) {
ugcGuid_ = value;
onChanged();
return this;
}
/**
* <code>uint64 ugc_guid = 3;</code>
*
* @return This builder for chaining.
*/
public Builder clearUgcGuid() {
ugcGuid_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@ -714,8 +718,8 @@ public final class MusicGameStartReqOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\027MusicGameStartReq.proto\"T\n\021MusicGameSt"
+ "artReq\022\020\n\010ugc_guid\030\r \001(\004\022\025\n\ris_save_scor"
+ "e\030\007 \001(\010\022\026\n\016music_basic_id\030\004 \001(\rB\033\n\031emu.g"
+ "artReq\022\026\n\016music_basic_id\030\002 \001(\r\022\025\n\ris_sav"
+ "e_score\030\013 \001(\010\022\020\n\010ugc_guid\030\003 \001(\004B\033\n\031emu.g"
+ "rasscutter.net.protob\006proto3"
};
descriptor =
@ -726,7 +730,7 @@ public final class MusicGameStartReqOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameStartReq_descriptor,
new java.lang.String[] {
"UgcGuid", "IsSaveScore", "MusicBasicId",
"MusicBasicId", "IsSaveScore", "UgcGuid",
});
}

View File

@ -18,7 +18,14 @@ public final class MusicGameStartRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>int32 retcode = 9;</code>
* <code>uint32 music_basic_id = 4;</code>
*
* @return The musicBasicId.
*/
int getMusicBasicId();
/**
* <code>int32 retcode = 1;</code>
*
* @return The retcode.
*/
@ -30,20 +37,14 @@ public final class MusicGameStartRspOuterClass {
* @return The ugcGuid.
*/
long getUgcGuid();
/**
* <code>uint32 music_basic_id = 11;</code>
*
* @return The musicBasicId.
*/
int getMusicBasicId();
}
/**
*
*
* <pre>
* Name: GGFNHKHDDKC
* CmdId: 8334
* CmdId: 8326 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code MusicGameStartRsp}
@ -89,12 +90,12 @@ public final class MusicGameStartRspOuterClass {
case 0:
done = true;
break;
case 72:
case 8:
{
retcode_ = input.readInt32();
break;
}
case 88:
case 32:
{
musicBasicId_ = input.readUInt32();
break;
@ -139,10 +140,22 @@ public final class MusicGameStartRspOuterClass {
.class);
}
public static final int RETCODE_FIELD_NUMBER = 9;
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 4;
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 4;</code>
*
* @return The musicBasicId.
*/
@java.lang.Override
public int getMusicBasicId() {
return musicBasicId_;
}
public static final int RETCODE_FIELD_NUMBER = 1;
private int retcode_;
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 1;</code>
*
* @return The retcode.
*/
@ -163,18 +176,6 @@ public final class MusicGameStartRspOuterClass {
return ugcGuid_;
}
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 11;
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 11;</code>
*
* @return The musicBasicId.
*/
@java.lang.Override
public int getMusicBasicId() {
return musicBasicId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
@ -190,10 +191,10 @@ public final class MusicGameStartRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (retcode_ != 0) {
output.writeInt32(9, retcode_);
output.writeInt32(1, retcode_);
}
if (musicBasicId_ != 0) {
output.writeUInt32(11, musicBasicId_);
output.writeUInt32(4, musicBasicId_);
}
if (ugcGuid_ != 0L) {
output.writeUInt64(15, ugcGuid_);
@ -208,10 +209,10 @@ public final class MusicGameStartRspOuterClass {
size = 0;
if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, retcode_);
size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retcode_);
}
if (musicBasicId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, musicBasicId_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, musicBasicId_);
}
if (ugcGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(15, ugcGuid_);
@ -233,9 +234,9 @@ public final class MusicGameStartRspOuterClass {
emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp other =
(emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp) obj;
if (getMusicBasicId() != other.getMusicBasicId()) return false;
if (getRetcode() != other.getRetcode()) return false;
if (getUgcGuid() != other.getUgcGuid()) return false;
if (getMusicBasicId() != other.getMusicBasicId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@ -247,12 +248,12 @@ public final class MusicGameStartRspOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId();
hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + getRetcode();
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid());
hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@ -360,8 +361,9 @@ public final class MusicGameStartRspOuterClass {
*
*
* <pre>
* Name: GGFNHKHDDKC
* CmdId: 8334
* CmdId: 8326 (3.2)
* EnetChannelId: 0
* EnetIsReliable: true
* </pre>
*
* Protobuf type {@code MusicGameStartRsp}
@ -405,12 +407,12 @@ public final class MusicGameStartRspOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
musicBasicId_ = 0;
retcode_ = 0;
ugcGuid_ = 0L;
musicBasicId_ = 0;
return this;
}
@ -442,9 +444,9 @@ public final class MusicGameStartRspOuterClass {
buildPartial() {
emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp result =
new emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp(this);
result.musicBasicId_ = musicBasicId_;
result.retcode_ = retcode_;
result.ugcGuid_ = ugcGuid_;
result.musicBasicId_ = musicBasicId_;
onBuilt();
return result;
}
@ -501,15 +503,15 @@ public final class MusicGameStartRspOuterClass {
if (other
== emu.grasscutter.net.proto.MusicGameStartRspOuterClass.MusicGameStartRsp
.getDefaultInstance()) return this;
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
}
if (other.getRetcode() != 0) {
setRetcode(other.getRetcode());
}
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
}
if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@ -542,9 +544,43 @@ public final class MusicGameStartRspOuterClass {
return this;
}
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 4;</code>
*
* @return The musicBasicId.
*/
@java.lang.Override
public int getMusicBasicId() {
return musicBasicId_;
}
/**
* <code>uint32 music_basic_id = 4;</code>
*
* @param value The musicBasicId to set.
* @return This builder for chaining.
*/
public Builder setMusicBasicId(int value) {
musicBasicId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 music_basic_id = 4;</code>
*
* @return This builder for chaining.
*/
public Builder clearMusicBasicId() {
musicBasicId_ = 0;
onChanged();
return this;
}
private int retcode_;
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 1;</code>
*
* @return The retcode.
*/
@ -553,7 +589,7 @@ public final class MusicGameStartRspOuterClass {
return retcode_;
}
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 1;</code>
*
* @param value The retcode to set.
* @return This builder for chaining.
@ -565,7 +601,7 @@ public final class MusicGameStartRspOuterClass {
return this;
}
/**
* <code>int32 retcode = 9;</code>
* <code>int32 retcode = 1;</code>
*
* @return This builder for chaining.
*/
@ -610,40 +646,6 @@ public final class MusicGameStartRspOuterClass {
return this;
}
private int musicBasicId_;
/**
* <code>uint32 music_basic_id = 11;</code>
*
* @return The musicBasicId.
*/
@java.lang.Override
public int getMusicBasicId() {
return musicBasicId_;
}
/**
* <code>uint32 music_basic_id = 11;</code>
*
* @param value The musicBasicId to set.
* @return This builder for chaining.
*/
public Builder setMusicBasicId(int value) {
musicBasicId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 music_basic_id = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearMusicBasicId() {
musicBasicId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@ -714,8 +716,8 @@ public final class MusicGameStartRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\027MusicGameStartRsp.proto\"N\n\021MusicGameSt"
+ "artRsp\022\017\n\007retcode\030\t \001(\005\022\020\n\010ugc_guid\030\017 \001("
+ "\004\022\026\n\016music_basic_id\030\013 \001(\rB\033\n\031emu.grasscu"
+ "artRsp\022\026\n\016music_basic_id\030\004 \001(\r\022\017\n\007retcod"
+ "e\030\001 \001(\005\022\020\n\010ugc_guid\030\017 \001(\004B\033\n\031emu.grasscu"
+ "tter.net.protob\006proto3"
};
descriptor =
@ -726,7 +728,7 @@ public final class MusicGameStartRspOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameStartRsp_descriptor,
new java.lang.String[] {
"Retcode", "UgcGuid", "MusicBasicId",
"MusicBasicId", "Retcode", "UgcGuid",
});
}

View File

@ -18,14 +18,14 @@ public final class UgcMusicNoteOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 start_time = 15;</code>
* <code>uint32 start_time = 12;</code>
*
* @return The startTime.
*/
int getStartTime();
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 5;</code>
*
* @return The endTime.
*/
@ -35,7 +35,7 @@ public final class UgcMusicNoteOuterClass {
*
*
* <pre>
* Name: KELICPOLEGO
* 3.2
* </pre>
*
* Protobuf type {@code UgcMusicNote}
@ -81,12 +81,12 @@ public final class UgcMusicNoteOuterClass {
case 0:
done = true;
break;
case 64:
case 40:
{
endTime_ = input.readUInt32();
break;
}
case 120:
case 96:
{
startTime_ = input.readUInt32();
break;
@ -125,10 +125,10 @@ public final class UgcMusicNoteOuterClass {
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder.class);
}
public static final int START_TIME_FIELD_NUMBER = 15;
public static final int START_TIME_FIELD_NUMBER = 12;
private int startTime_;
/**
* <code>uint32 start_time = 15;</code>
* <code>uint32 start_time = 12;</code>
*
* @return The startTime.
*/
@ -137,10 +137,10 @@ public final class UgcMusicNoteOuterClass {
return startTime_;
}
public static final int END_TIME_FIELD_NUMBER = 8;
public static final int END_TIME_FIELD_NUMBER = 5;
private int endTime_;
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 5;</code>
*
* @return The endTime.
*/
@ -164,10 +164,10 @@ public final class UgcMusicNoteOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (endTime_ != 0) {
output.writeUInt32(8, endTime_);
output.writeUInt32(5, endTime_);
}
if (startTime_ != 0) {
output.writeUInt32(15, startTime_);
output.writeUInt32(12, startTime_);
}
unknownFields.writeTo(output);
}
@ -179,10 +179,10 @@ public final class UgcMusicNoteOuterClass {
size = 0;
if (endTime_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(8, endTime_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, endTime_);
}
if (startTime_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(15, startTime_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(12, startTime_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@ -323,7 +323,7 @@ public final class UgcMusicNoteOuterClass {
*
*
* <pre>
* Name: KELICPOLEGO
* 3.2
* </pre>
*
* Protobuf type {@code UgcMusicNote}
@ -492,7 +492,7 @@ public final class UgcMusicNoteOuterClass {
private int startTime_;
/**
* <code>uint32 start_time = 15;</code>
* <code>uint32 start_time = 12;</code>
*
* @return The startTime.
*/
@ -501,7 +501,7 @@ public final class UgcMusicNoteOuterClass {
return startTime_;
}
/**
* <code>uint32 start_time = 15;</code>
* <code>uint32 start_time = 12;</code>
*
* @param value The startTime to set.
* @return This builder for chaining.
@ -513,7 +513,7 @@ public final class UgcMusicNoteOuterClass {
return this;
}
/**
* <code>uint32 start_time = 15;</code>
* <code>uint32 start_time = 12;</code>
*
* @return This builder for chaining.
*/
@ -526,7 +526,7 @@ public final class UgcMusicNoteOuterClass {
private int endTime_;
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 5;</code>
*
* @return The endTime.
*/
@ -535,7 +535,7 @@ public final class UgcMusicNoteOuterClass {
return endTime_;
}
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 5;</code>
*
* @param value The endTime to set.
* @return This builder for chaining.
@ -547,7 +547,7 @@ public final class UgcMusicNoteOuterClass {
return this;
}
/**
* <code>uint32 end_time = 8;</code>
* <code>uint32 end_time = 5;</code>
*
* @return This builder for chaining.
*/
@ -627,7 +627,7 @@ public final class UgcMusicNoteOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\022UgcMusicNote.proto\"4\n\014UgcMusicNote\022\022\n\n"
+ "start_time\030\017 \001(\r\022\020\n\010end_time\030\010 \001(\rB\033\n\031em"
+ "start_time\030\014 \001(\r\022\020\n\010end_time\030\005 \001(\rB\033\n\031em"
+ "u.grasscutter.net.protob\006proto3"
};
descriptor =

View File

@ -17,33 +17,33 @@ public final class UgcMusicRecordOuterClass {
// @@protoc_insertion_point(interface_extends:UgcMusicRecord)
com.google.protobuf.MessageOrBuilder {
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
java.util.List<emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack>
getMusicTrackListList();
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack getMusicTrackList(int index);
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
int getMusicTrackListCount();
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
java.util.List<
? extends emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder>
getMusicTrackListOrBuilderList();
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder
getMusicTrackListOrBuilder(int index);
/**
* <code>uint32 music_id = 6;</code>
* <code>uint32 music_id = 13;</code>
*
* @return The musicId.
*/
int getMusicId();
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
java.util.List<emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack>
getMusicTrackListList();
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack getMusicTrackList(int index);
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
int getMusicTrackListCount();
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
java.util.List<
? extends emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder>
getMusicTrackListOrBuilderList();
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder
getMusicTrackListOrBuilder(int index);
}
/**
*
*
* <pre>
* Name: AMAEJCFDLLP
* 3.2
* </pre>
*
* Protobuf type {@code UgcMusicRecord}
@ -92,7 +92,7 @@ public final class UgcMusicRecordOuterClass {
case 0:
done = true;
break;
case 18:
case 34:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
musicTrackList_ =
@ -106,7 +106,7 @@ public final class UgcMusicRecordOuterClass {
extensionRegistry));
break;
}
case 48:
case 104:
{
musicId_ = input.readUInt32();
break;
@ -148,52 +148,52 @@ public final class UgcMusicRecordOuterClass {
emu.grasscutter.net.proto.UgcMusicRecordOuterClass.UgcMusicRecord.Builder.class);
}
public static final int MUSIC_ID_FIELD_NUMBER = 6;
private int musicId_;
/**
* <code>uint32 music_id = 6;</code>
*
* @return The musicId.
*/
@java.lang.Override
public int getMusicId() {
return musicId_;
}
public static final int MUSIC_TRACK_LIST_FIELD_NUMBER = 2;
public static final int MUSIC_TRACK_LIST_FIELD_NUMBER = 4;
private java.util.List<emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack>
musicTrackList_;
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack>
getMusicTrackListList() {
return musicTrackList_;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
@java.lang.Override
public java.util.List<
? extends emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder>
getMusicTrackListOrBuilderList() {
return musicTrackList_;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
@java.lang.Override
public int getMusicTrackListCount() {
return musicTrackList_.size();
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack getMusicTrackList(
int index) {
return musicTrackList_.get(index);
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder
getMusicTrackListOrBuilder(int index) {
return musicTrackList_.get(index);
}
public static final int MUSIC_ID_FIELD_NUMBER = 13;
private int musicId_;
/**
* <code>uint32 music_id = 13;</code>
*
* @return The musicId.
*/
@java.lang.Override
public int getMusicId() {
return musicId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
@ -209,10 +209,10 @@ public final class UgcMusicRecordOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < musicTrackList_.size(); i++) {
output.writeMessage(2, musicTrackList_.get(i));
output.writeMessage(4, musicTrackList_.get(i));
}
if (musicId_ != 0) {
output.writeUInt32(6, musicId_);
output.writeUInt32(13, musicId_);
}
unknownFields.writeTo(output);
}
@ -224,10 +224,10 @@ public final class UgcMusicRecordOuterClass {
size = 0;
for (int i = 0; i < musicTrackList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, musicTrackList_.get(i));
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, musicTrackList_.get(i));
}
if (musicId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, musicId_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(13, musicId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@ -245,8 +245,8 @@ public final class UgcMusicRecordOuterClass {
emu.grasscutter.net.proto.UgcMusicRecordOuterClass.UgcMusicRecord other =
(emu.grasscutter.net.proto.UgcMusicRecordOuterClass.UgcMusicRecord) obj;
if (getMusicId() != other.getMusicId()) return false;
if (!getMusicTrackListList().equals(other.getMusicTrackListList())) return false;
if (getMusicId() != other.getMusicId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@ -258,12 +258,12 @@ public final class UgcMusicRecordOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MUSIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicId();
if (getMusicTrackListCount() > 0) {
hash = (37 * hash) + MUSIC_TRACK_LIST_FIELD_NUMBER;
hash = (53 * hash) + getMusicTrackListList().hashCode();
}
hash = (37 * hash) + MUSIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@ -371,7 +371,7 @@ public final class UgcMusicRecordOuterClass {
*
*
* <pre>
* Name: AMAEJCFDLLP
* 3.2
* </pre>
*
* Protobuf type {@code UgcMusicRecord}
@ -416,14 +416,14 @@ public final class UgcMusicRecordOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
musicId_ = 0;
if (musicTrackListBuilder_ == null) {
musicTrackList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
musicTrackListBuilder_.clear();
}
musicId_ = 0;
return this;
}
@ -454,7 +454,6 @@ public final class UgcMusicRecordOuterClass {
emu.grasscutter.net.proto.UgcMusicRecordOuterClass.UgcMusicRecord result =
new emu.grasscutter.net.proto.UgcMusicRecordOuterClass.UgcMusicRecord(this);
int from_bitField0_ = bitField0_;
result.musicId_ = musicId_;
if (musicTrackListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
musicTrackList_ = java.util.Collections.unmodifiableList(musicTrackList_);
@ -464,6 +463,7 @@ public final class UgcMusicRecordOuterClass {
} else {
result.musicTrackList_ = musicTrackListBuilder_.build();
}
result.musicId_ = musicId_;
onBuilt();
return result;
}
@ -519,9 +519,6 @@ public final class UgcMusicRecordOuterClass {
if (other
== emu.grasscutter.net.proto.UgcMusicRecordOuterClass.UgcMusicRecord
.getDefaultInstance()) return this;
if (other.getMusicId() != 0) {
setMusicId(other.getMusicId());
}
if (musicTrackListBuilder_ == null) {
if (!other.musicTrackList_.isEmpty()) {
if (musicTrackList_.isEmpty()) {
@ -549,6 +546,9 @@ public final class UgcMusicRecordOuterClass {
}
}
}
if (other.getMusicId() != 0) {
setMusicId(other.getMusicId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@ -582,40 +582,6 @@ public final class UgcMusicRecordOuterClass {
private int bitField0_;
private int musicId_;
/**
* <code>uint32 music_id = 6;</code>
*
* @return The musicId.
*/
@java.lang.Override
public int getMusicId() {
return musicId_;
}
/**
* <code>uint32 music_id = 6;</code>
*
* @param value The musicId to set.
* @return This builder for chaining.
*/
public Builder setMusicId(int value) {
musicId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 music_id = 6;</code>
*
* @return This builder for chaining.
*/
public Builder clearMusicId() {
musicId_ = 0;
onChanged();
return this;
}
private java.util.List<emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack>
musicTrackList_ = java.util.Collections.emptyList();
@ -634,7 +600,7 @@ public final class UgcMusicRecordOuterClass {
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder>
musicTrackListBuilder_;
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public java.util.List<emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack>
getMusicTrackListList() {
if (musicTrackListBuilder_ == null) {
@ -643,7 +609,7 @@ public final class UgcMusicRecordOuterClass {
return musicTrackListBuilder_.getMessageList();
}
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public int getMusicTrackListCount() {
if (musicTrackListBuilder_ == null) {
return musicTrackList_.size();
@ -651,7 +617,7 @@ public final class UgcMusicRecordOuterClass {
return musicTrackListBuilder_.getCount();
}
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack getMusicTrackList(
int index) {
if (musicTrackListBuilder_ == null) {
@ -660,7 +626,7 @@ public final class UgcMusicRecordOuterClass {
return musicTrackListBuilder_.getMessage(index);
}
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder setMusicTrackList(
int index, emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack value) {
if (musicTrackListBuilder_ == null) {
@ -675,7 +641,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder setMusicTrackList(
int index,
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder builderForValue) {
@ -688,7 +654,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder addMusicTrackList(
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack value) {
if (musicTrackListBuilder_ == null) {
@ -703,7 +669,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder addMusicTrackList(
int index, emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack value) {
if (musicTrackListBuilder_ == null) {
@ -718,7 +684,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder addMusicTrackList(
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder builderForValue) {
if (musicTrackListBuilder_ == null) {
@ -730,7 +696,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder addMusicTrackList(
int index,
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder builderForValue) {
@ -743,7 +709,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder addAllMusicTrackList(
java.lang.Iterable<
? extends emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack>
@ -757,7 +723,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder clearMusicTrackList() {
if (musicTrackListBuilder_ == null) {
musicTrackList_ = java.util.Collections.emptyList();
@ -768,7 +734,7 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public Builder removeMusicTrackList(int index) {
if (musicTrackListBuilder_ == null) {
ensureMusicTrackListIsMutable();
@ -779,12 +745,12 @@ public final class UgcMusicRecordOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder
getMusicTrackListBuilder(int index) {
return getMusicTrackListFieldBuilder().getBuilder(index);
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder
getMusicTrackListOrBuilder(int index) {
if (musicTrackListBuilder_ == null) {
@ -793,7 +759,7 @@ public final class UgcMusicRecordOuterClass {
return musicTrackListBuilder_.getMessageOrBuilder(index);
}
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public java.util.List<
? extends emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrackOrBuilder>
getMusicTrackListOrBuilderList() {
@ -803,7 +769,7 @@ public final class UgcMusicRecordOuterClass {
return java.util.Collections.unmodifiableList(musicTrackList_);
}
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder
addMusicTrackListBuilder() {
return getMusicTrackListFieldBuilder()
@ -811,7 +777,7 @@ public final class UgcMusicRecordOuterClass {
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack
.getDefaultInstance());
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder
addMusicTrackListBuilder(int index) {
return getMusicTrackListFieldBuilder()
@ -820,7 +786,7 @@ public final class UgcMusicRecordOuterClass {
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack
.getDefaultInstance());
}
/** <code>repeated .UgcMusicTrack music_track_list = 2;</code> */
/** <code>repeated .UgcMusicTrack music_track_list = 4;</code> */
public java.util.List<emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder>
getMusicTrackListBuilderList() {
return getMusicTrackListFieldBuilder().getBuilderList();
@ -846,6 +812,40 @@ public final class UgcMusicRecordOuterClass {
return musicTrackListBuilder_;
}
private int musicId_;
/**
* <code>uint32 music_id = 13;</code>
*
* @return The musicId.
*/
@java.lang.Override
public int getMusicId() {
return musicId_;
}
/**
* <code>uint32 music_id = 13;</code>
*
* @param value The musicId to set.
* @return This builder for chaining.
*/
public Builder setMusicId(int value) {
musicId_ = value;
onChanged();
return this;
}
/**
* <code>uint32 music_id = 13;</code>
*
* @return This builder for chaining.
*/
public Builder clearMusicId() {
musicId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@ -915,9 +915,9 @@ public final class UgcMusicRecordOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\024UgcMusicRecord.proto\032\023UgcMusicTrack.pr"
+ "oto\"L\n\016UgcMusicRecord\022\020\n\010music_id\030\006 \001(\r\022"
+ "(\n\020music_track_list\030\002 \003(\0132\016.UgcMusicTrac"
+ "kB\033\n\031emu.grasscutter.net.protob\006proto3"
+ "oto\"L\n\016UgcMusicRecord\022(\n\020music_track_lis"
+ "t\030\004 \003(\0132\016.UgcMusicTrack\022\020\n\010music_id\030\r \001("
+ "\rB\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@ -930,7 +930,7 @@ public final class UgcMusicRecordOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_UgcMusicRecord_descriptor,
new java.lang.String[] {
"MusicId", "MusicTrackList",
"MusicTrackList", "MusicId",
});
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.getDescriptor();
}

View File

@ -17,17 +17,17 @@ public final class UgcMusicTrackOuterClass {
// @@protoc_insertion_point(interface_extends:UgcMusicTrack)
com.google.protobuf.MessageOrBuilder {
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
java.util.List<emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote>
getMusicNoteListList();
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote getMusicNoteList(int index);
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
int getMusicNoteListCount();
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
java.util.List<? extends emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNoteOrBuilder>
getMusicNoteListOrBuilderList();
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNoteOrBuilder
getMusicNoteListOrBuilder(int index);
}
@ -35,7 +35,7 @@ public final class UgcMusicTrackOuterClass {
*
*
* <pre>
* Name: PNNCHCKBNDL
* 3.2
* </pre>
*
* Protobuf type {@code UgcMusicTrack}
@ -84,7 +84,7 @@ public final class UgcMusicTrackOuterClass {
case 0:
done = true;
break;
case 18:
case 50:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
musicNoteList_ =
@ -135,34 +135,34 @@ public final class UgcMusicTrackOuterClass {
emu.grasscutter.net.proto.UgcMusicTrackOuterClass.UgcMusicTrack.Builder.class);
}
public static final int MUSIC_NOTE_LIST_FIELD_NUMBER = 2;
public static final int MUSIC_NOTE_LIST_FIELD_NUMBER = 6;
private java.util.List<emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote>
musicNoteList_;
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
@java.lang.Override
public java.util.List<emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote>
getMusicNoteListList() {
return musicNoteList_;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
@java.lang.Override
public java.util.List<
? extends emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNoteOrBuilder>
getMusicNoteListOrBuilderList() {
return musicNoteList_;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
@java.lang.Override
public int getMusicNoteListCount() {
return musicNoteList_.size();
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote getMusicNoteList(
int index) {
return musicNoteList_.get(index);
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
@java.lang.Override
public emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNoteOrBuilder
getMusicNoteListOrBuilder(int index) {
@ -184,7 +184,7 @@ public final class UgcMusicTrackOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < musicNoteList_.size(); i++) {
output.writeMessage(2, musicNoteList_.get(i));
output.writeMessage(6, musicNoteList_.get(i));
}
unknownFields.writeTo(output);
}
@ -196,7 +196,7 @@ public final class UgcMusicTrackOuterClass {
size = 0;
for (int i = 0; i < musicNoteList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, musicNoteList_.get(i));
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, musicNoteList_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@ -337,7 +337,7 @@ public final class UgcMusicTrackOuterClass {
*
*
* <pre>
* Name: PNNCHCKBNDL
* 3.2
* </pre>
*
* Protobuf type {@code UgcMusicTrack}
@ -558,7 +558,7 @@ public final class UgcMusicTrackOuterClass {
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNoteOrBuilder>
musicNoteListBuilder_;
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public java.util.List<emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote>
getMusicNoteListList() {
if (musicNoteListBuilder_ == null) {
@ -567,7 +567,7 @@ public final class UgcMusicTrackOuterClass {
return musicNoteListBuilder_.getMessageList();
}
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public int getMusicNoteListCount() {
if (musicNoteListBuilder_ == null) {
return musicNoteList_.size();
@ -575,7 +575,7 @@ public final class UgcMusicTrackOuterClass {
return musicNoteListBuilder_.getCount();
}
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote getMusicNoteList(
int index) {
if (musicNoteListBuilder_ == null) {
@ -584,7 +584,7 @@ public final class UgcMusicTrackOuterClass {
return musicNoteListBuilder_.getMessage(index);
}
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder setMusicNoteList(
int index, emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote value) {
if (musicNoteListBuilder_ == null) {
@ -599,7 +599,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder setMusicNoteList(
int index,
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder builderForValue) {
@ -612,7 +612,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder addMusicNoteList(
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote value) {
if (musicNoteListBuilder_ == null) {
@ -627,7 +627,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder addMusicNoteList(
int index, emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote value) {
if (musicNoteListBuilder_ == null) {
@ -642,7 +642,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder addMusicNoteList(
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder builderForValue) {
if (musicNoteListBuilder_ == null) {
@ -654,7 +654,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder addMusicNoteList(
int index,
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder builderForValue) {
@ -667,7 +667,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder addAllMusicNoteList(
java.lang.Iterable<
? extends emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote>
@ -681,7 +681,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder clearMusicNoteList() {
if (musicNoteListBuilder_ == null) {
musicNoteList_ = java.util.Collections.emptyList();
@ -692,7 +692,7 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public Builder removeMusicNoteList(int index) {
if (musicNoteListBuilder_ == null) {
ensureMusicNoteListIsMutable();
@ -703,12 +703,12 @@ public final class UgcMusicTrackOuterClass {
}
return this;
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder
getMusicNoteListBuilder(int index) {
return getMusicNoteListFieldBuilder().getBuilder(index);
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNoteOrBuilder
getMusicNoteListOrBuilder(int index) {
if (musicNoteListBuilder_ == null) {
@ -717,7 +717,7 @@ public final class UgcMusicTrackOuterClass {
return musicNoteListBuilder_.getMessageOrBuilder(index);
}
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public java.util.List<
? extends emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNoteOrBuilder>
getMusicNoteListOrBuilderList() {
@ -727,14 +727,14 @@ public final class UgcMusicTrackOuterClass {
return java.util.Collections.unmodifiableList(musicNoteList_);
}
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder
addMusicNoteListBuilder() {
return getMusicNoteListFieldBuilder()
.addBuilder(
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.getDefaultInstance());
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder
addMusicNoteListBuilder(int index) {
return getMusicNoteListFieldBuilder()
@ -742,7 +742,7 @@ public final class UgcMusicTrackOuterClass {
index,
emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.getDefaultInstance());
}
/** <code>repeated .UgcMusicNote music_note_list = 2;</code> */
/** <code>repeated .UgcMusicNote music_note_list = 6;</code> */
public java.util.List<emu.grasscutter.net.proto.UgcMusicNoteOuterClass.UgcMusicNote.Builder>
getMusicNoteListBuilderList() {
return getMusicNoteListFieldBuilder().getBuilderList();
@ -837,7 +837,7 @@ public final class UgcMusicTrackOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\023UgcMusicTrack.proto\032\022UgcMusicNote.prot"
+ "o\"7\n\rUgcMusicTrack\022&\n\017music_note_list\030\002 "
+ "o\"7\n\rUgcMusicTrack\022&\n\017music_note_list\030\006 "
+ "\003(\0132\r.UgcMusicNoteB\033\n\031emu.grasscutter.ne"
+ "t.protob\006proto3"
};

View File

@ -15,7 +15,7 @@ public final class UgcTypeOuterClass {
*
*
* <pre>
* Name: MOCGOKGHGNG
* 3.2
* </pre>
*
* Protobuf enum {@code UgcType}

View File

@ -1,6 +1,6 @@
package emu.grasscutter.net.packet;
public class PacketOpcodes {
public final class PacketOpcodes {
// Empty
public static final int NONE = 0;