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

View File

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

View File

@ -18,46 +18,47 @@ public final class MusicGameSettleRspOuterClass {
com.google.protobuf.MessageOrBuilder { 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> * <code>uint32 music_basic_id = 5;</code>
*
* @return The isUnlockNextLevel.
*/
boolean getIsUnlockNextLevel();
/**
* <code>uint32 music_basic_id = 14;</code>
* *
* @return The musicBasicId. * @return The musicBasicId.
*/ */
int getMusicBasicId(); int getMusicBasicId();
/** /**
* <code>bool is_new_record = 7;</code> * <code>bool is_new_record = 6;</code>
* *
* @return The isNewRecord. * @return The isNewRecord.
*/ */
boolean getIsNewRecord(); 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> * <pre>
* Name: ANDLNOABFII * CmdId: 8673 (3.2)
* CmdId: 8542 * EnetChannelId: 0
* EnetIsReliable: true
* </pre> * </pre>
* *
* Protobuf type {@code MusicGameSettleRsp} * Protobuf type {@code MusicGameSettleRsp}
@ -103,27 +104,27 @@ public final class MusicGameSettleRspOuterClass {
case 0: case 0:
done = true; done = true;
break; break;
case 40: case 16:
{ {
isUnlockNextLevel_ = input.readBool(); isUnlockNextLevel_ = input.readBool();
break; break;
} }
case 56: case 40:
{
isNewRecord_ = input.readBool();
break;
}
case 72:
{
ugcGuid_ = input.readUInt64();
break;
}
case 112:
{ {
musicBasicId_ = input.readUInt32(); musicBasicId_ = input.readUInt32();
break; break;
} }
case 120: case 48:
{
isNewRecord_ = input.readBool();
break;
}
case 80:
{
ugcGuid_ = input.readUInt64();
break;
}
case 88:
{ {
retcode_ = input.readInt32(); retcode_ = input.readInt32();
break; break;
@ -163,34 +164,22 @@ public final class MusicGameSettleRspOuterClass {
.class); .class);
} }
public static final int UGC_GUID_FIELD_NUMBER = 9; public static final int RETCODE_FIELD_NUMBER = 11;
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 @java.lang.Override
public long getUgcGuid() { public int getRetcode() {
return ugcGuid_; return retcode_;
} }
public static final int IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER = 5; public static final int MUSIC_BASIC_ID_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;
private int musicBasicId_; private int musicBasicId_;
/** /**
* <code>uint32 music_basic_id = 14;</code> * <code>uint32 music_basic_id = 5;</code>
* *
* @return The musicBasicId. * @return The musicBasicId.
*/ */
@ -199,10 +188,10 @@ public final class MusicGameSettleRspOuterClass {
return musicBasicId_; 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_; private boolean isNewRecord_;
/** /**
* <code>bool is_new_record = 7;</code> * <code>bool is_new_record = 6;</code>
* *
* @return The isNewRecord. * @return The isNewRecord.
*/ */
@ -211,16 +200,28 @@ public final class MusicGameSettleRspOuterClass {
return isNewRecord_; return isNewRecord_;
} }
public static final int RETCODE_FIELD_NUMBER = 15; public static final int IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER = 2;
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 @java.lang.Override
public int getRetcode() { public boolean getIsUnlockNextLevel() {
return retcode_; 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; private byte memoizedIsInitialized = -1;
@ -238,19 +239,19 @@ public final class MusicGameSettleRspOuterClass {
@java.lang.Override @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (isUnlockNextLevel_ != false) { if (isUnlockNextLevel_ != false) {
output.writeBool(5, isUnlockNextLevel_); output.writeBool(2, isUnlockNextLevel_);
}
if (isNewRecord_ != false) {
output.writeBool(7, isNewRecord_);
}
if (ugcGuid_ != 0L) {
output.writeUInt64(9, ugcGuid_);
} }
if (musicBasicId_ != 0) { 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) { if (retcode_ != 0) {
output.writeInt32(15, retcode_); output.writeInt32(11, retcode_);
} }
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@ -262,19 +263,19 @@ public final class MusicGameSettleRspOuterClass {
size = 0; size = 0;
if (isUnlockNextLevel_ != false) { if (isUnlockNextLevel_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, isUnlockNextLevel_); size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, isUnlockNextLevel_);
}
if (isNewRecord_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, isNewRecord_);
}
if (ugcGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(9, ugcGuid_);
} }
if (musicBasicId_ != 0) { 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) { if (retcode_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(15, retcode_); size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, retcode_);
} }
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
@ -293,11 +294,11 @@ public final class MusicGameSettleRspOuterClass {
emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp other = emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp other =
(emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp) obj; (emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp) obj;
if (getUgcGuid() != other.getUgcGuid()) return false; if (getRetcode() != other.getRetcode()) return false;
if (getIsUnlockNextLevel() != other.getIsUnlockNextLevel()) return false;
if (getMusicBasicId() != other.getMusicBasicId()) return false; if (getMusicBasicId() != other.getMusicBasicId()) return false;
if (getIsNewRecord() != other.getIsNewRecord()) 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; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
@ -309,16 +310,16 @@ public final class MusicGameSettleRspOuterClass {
} }
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + UGC_GUID_FIELD_NUMBER; hash = (37 * hash) + RETCODE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUgcGuid()); 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) + MUSIC_BASIC_ID_FIELD_NUMBER; hash = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId(); hash = (53 * hash) + getMusicBasicId();
hash = (37 * hash) + IS_NEW_RECORD_FIELD_NUMBER; hash = (37 * hash) + IS_NEW_RECORD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsNewRecord()); hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsNewRecord());
hash = (37 * hash) + RETCODE_FIELD_NUMBER; hash = (37 * hash) + IS_UNLOCK_NEXT_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getRetcode(); 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(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
@ -431,8 +432,9 @@ public final class MusicGameSettleRspOuterClass {
* *
* *
* <pre> * <pre>
* Name: ANDLNOABFII * CmdId: 8673 (3.2)
* CmdId: 8542 * EnetChannelId: 0
* EnetIsReliable: true
* </pre> * </pre>
* *
* Protobuf type {@code MusicGameSettleRsp} * Protobuf type {@code MusicGameSettleRsp}
@ -476,15 +478,15 @@ public final class MusicGameSettleRspOuterClass {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
ugcGuid_ = 0L; retcode_ = 0;
isUnlockNextLevel_ = false;
musicBasicId_ = 0; musicBasicId_ = 0;
isNewRecord_ = false; isNewRecord_ = false;
retcode_ = 0; isUnlockNextLevel_ = false;
ugcGuid_ = 0L;
return this; return this;
} }
@ -517,11 +519,11 @@ public final class MusicGameSettleRspOuterClass {
buildPartial() { buildPartial() {
emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp result = emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp result =
new emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp(this); new emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp(this);
result.ugcGuid_ = ugcGuid_; result.retcode_ = retcode_;
result.isUnlockNextLevel_ = isUnlockNextLevel_;
result.musicBasicId_ = musicBasicId_; result.musicBasicId_ = musicBasicId_;
result.isNewRecord_ = isNewRecord_; result.isNewRecord_ = isNewRecord_;
result.retcode_ = retcode_; result.isUnlockNextLevel_ = isUnlockNextLevel_;
result.ugcGuid_ = ugcGuid_;
onBuilt(); onBuilt();
return result; return result;
} }
@ -578,11 +580,8 @@ public final class MusicGameSettleRspOuterClass {
if (other if (other
== emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp == emu.grasscutter.net.proto.MusicGameSettleRspOuterClass.MusicGameSettleRsp
.getDefaultInstance()) return this; .getDefaultInstance()) return this;
if (other.getUgcGuid() != 0L) { if (other.getRetcode() != 0) {
setUgcGuid(other.getUgcGuid()); setRetcode(other.getRetcode());
}
if (other.getIsUnlockNextLevel() != false) {
setIsUnlockNextLevel(other.getIsUnlockNextLevel());
} }
if (other.getMusicBasicId() != 0) { if (other.getMusicBasicId() != 0) {
setMusicBasicId(other.getMusicBasicId()); setMusicBasicId(other.getMusicBasicId());
@ -590,8 +589,11 @@ public final class MusicGameSettleRspOuterClass {
if (other.getIsNewRecord() != false) { if (other.getIsNewRecord() != false) {
setIsNewRecord(other.getIsNewRecord()); setIsNewRecord(other.getIsNewRecord());
} }
if (other.getRetcode() != 0) { if (other.getIsUnlockNextLevel() != false) {
setRetcode(other.getRetcode()); setIsUnlockNextLevel(other.getIsUnlockNextLevel());
}
if (other.getUgcGuid() != 0L) {
setUgcGuid(other.getUgcGuid());
} }
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
@ -625,77 +627,43 @@ public final class MusicGameSettleRspOuterClass {
return this; 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 @java.lang.Override
public long getUgcGuid() { public int getRetcode() {
return ugcGuid_; 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. * @return This builder for chaining.
*/ */
public Builder setUgcGuid(long value) { public Builder setRetcode(int value) {
ugcGuid_ = value; retcode_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>uint64 ugc_guid = 9;</code> * <code>int32 retcode = 11;</code>
* *
* @return This builder for chaining. * @return This builder for chaining.
*/ */
public Builder clearUgcGuid() { public Builder clearRetcode() {
ugcGuid_ = 0L; retcode_ = 0;
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;
onChanged(); onChanged();
return this; return this;
} }
private int musicBasicId_; private int musicBasicId_;
/** /**
* <code>uint32 music_basic_id = 14;</code> * <code>uint32 music_basic_id = 5;</code>
* *
* @return The musicBasicId. * @return The musicBasicId.
*/ */
@ -704,7 +672,7 @@ public final class MusicGameSettleRspOuterClass {
return musicBasicId_; return musicBasicId_;
} }
/** /**
* <code>uint32 music_basic_id = 14;</code> * <code>uint32 music_basic_id = 5;</code>
* *
* @param value The musicBasicId to set. * @param value The musicBasicId to set.
* @return This builder for chaining. * @return This builder for chaining.
@ -716,7 +684,7 @@ public final class MusicGameSettleRspOuterClass {
return this; return this;
} }
/** /**
* <code>uint32 music_basic_id = 14;</code> * <code>uint32 music_basic_id = 5;</code>
* *
* @return This builder for chaining. * @return This builder for chaining.
*/ */
@ -729,7 +697,7 @@ public final class MusicGameSettleRspOuterClass {
private boolean isNewRecord_; private boolean isNewRecord_;
/** /**
* <code>bool is_new_record = 7;</code> * <code>bool is_new_record = 6;</code>
* *
* @return The isNewRecord. * @return The isNewRecord.
*/ */
@ -738,7 +706,7 @@ public final class MusicGameSettleRspOuterClass {
return isNewRecord_; return isNewRecord_;
} }
/** /**
* <code>bool is_new_record = 7;</code> * <code>bool is_new_record = 6;</code>
* *
* @param value The isNewRecord to set. * @param value The isNewRecord to set.
* @return This builder for chaining. * @return This builder for chaining.
@ -750,7 +718,7 @@ public final class MusicGameSettleRspOuterClass {
return this; return this;
} }
/** /**
* <code>bool is_new_record = 7;</code> * <code>bool is_new_record = 6;</code>
* *
* @return This builder for chaining. * @return This builder for chaining.
*/ */
@ -761,36 +729,70 @@ public final class MusicGameSettleRspOuterClass {
return this; 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 @java.lang.Override
public int getRetcode() { public boolean getIsUnlockNextLevel() {
return retcode_; 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. * @return This builder for chaining.
*/ */
public Builder setRetcode(int value) { public Builder setIsUnlockNextLevel(boolean value) {
retcode_ = value; isUnlockNextLevel_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>int32 retcode = 15;</code> * <code>bool is_unlock_next_level = 2;</code>
* *
* @return This builder for chaining. * @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(); onChanged();
return this; return this;
} }
@ -865,10 +867,10 @@ public final class MusicGameSettleRspOuterClass {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\030MusicGameSettleRsp.proto\"\204\001\n\022MusicGame" "\n\030MusicGameSettleRsp.proto\"\204\001\n\022MusicGame"
+ "SettleRsp\022\020\n\010ugc_guid\030\t \001(\004\022\034\n\024is_unlock" + "SettleRsp\022\017\n\007retcode\030\013 \001(\005\022\026\n\016music_basi"
+ "_next_level\030\005 \001(\010\022\026\n\016music_basic_id\030\016 \001(" + "c_id\030\005 \001(\r\022\025\n\ris_new_record\030\006 \001(\010\022\034\n\024is_"
+ "\r\022\025\n\ris_new_record\030\007 \001(\010\022\017\n\007retcode\030\017 \001(" + "unlock_next_level\030\002 \001(\010\022\020\n\010ugc_guid\030\n \001("
+ "\005B\033\n\031emu.grasscutter.net.protob\006proto3" + "\004B\033\n\031emu.grasscutter.net.protob\006proto3"
}; };
descriptor = descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@ -878,7 +880,7 @@ public final class MusicGameSettleRspOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameSettleRsp_descriptor, internal_static_MusicGameSettleRsp_descriptor,
new java.lang.String[] { 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 { 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. * @return The isSaveScore.
*/ */
boolean getIsSaveScore(); 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> * <pre>
* Name: KIECLHFBINF * CmdId: 8406 (3.2)
* CmdId: 8103 * EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code MusicGameStartReq} * Protobuf type {@code MusicGameStartReq}
@ -89,21 +91,21 @@ public final class MusicGameStartReqOuterClass {
case 0: case 0:
done = true; done = true;
break; break;
case 32: case 16:
{ {
musicBasicId_ = input.readUInt32(); musicBasicId_ = input.readUInt32();
break; break;
} }
case 56: case 24:
{
isSaveScore_ = input.readBool();
break;
}
case 104:
{ {
ugcGuid_ = input.readUInt64(); ugcGuid_ = input.readUInt64();
break; break;
} }
case 88:
{
isSaveScore_ = input.readBool();
break;
}
default: default:
{ {
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@ -139,22 +141,22 @@ public final class MusicGameStartReqOuterClass {
.class); .class);
} }
public static final int UGC_GUID_FIELD_NUMBER = 13; public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 2;
private long ugcGuid_; 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 @java.lang.Override
public long getUgcGuid() { public int getMusicBasicId() {
return ugcGuid_; 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_; private boolean isSaveScore_;
/** /**
* <code>bool is_save_score = 7;</code> * <code>bool is_save_score = 11;</code>
* *
* @return The isSaveScore. * @return The isSaveScore.
*/ */
@ -163,16 +165,16 @@ public final class MusicGameStartReqOuterClass {
return isSaveScore_; return isSaveScore_;
} }
public static final int MUSIC_BASIC_ID_FIELD_NUMBER = 4; public static final int UGC_GUID_FIELD_NUMBER = 3;
private int musicBasicId_; 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 @java.lang.Override
public int getMusicBasicId() { public long getUgcGuid() {
return musicBasicId_; return ugcGuid_;
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@ -190,13 +192,13 @@ public final class MusicGameStartReqOuterClass {
@java.lang.Override @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (musicBasicId_ != 0) { if (musicBasicId_ != 0) {
output.writeUInt32(4, musicBasicId_); output.writeUInt32(2, musicBasicId_);
}
if (isSaveScore_ != false) {
output.writeBool(7, isSaveScore_);
} }
if (ugcGuid_ != 0L) { if (ugcGuid_ != 0L) {
output.writeUInt64(13, ugcGuid_); output.writeUInt64(3, ugcGuid_);
}
if (isSaveScore_ != false) {
output.writeBool(11, isSaveScore_);
} }
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@ -208,13 +210,13 @@ public final class MusicGameStartReqOuterClass {
size = 0; size = 0;
if (musicBasicId_ != 0) { if (musicBasicId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(4, musicBasicId_); size += com.google.protobuf.CodedOutputStream.computeUInt32Size(2, musicBasicId_);
}
if (isSaveScore_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, isSaveScore_);
} }
if (ugcGuid_ != 0L) { 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(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
@ -233,9 +235,9 @@ public final class MusicGameStartReqOuterClass {
emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq other = emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq other =
(emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq) obj; (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 (getMusicBasicId() != other.getMusicBasicId()) return false;
if (getIsSaveScore() != other.getIsSaveScore()) return false;
if (getUgcGuid() != other.getUgcGuid()) return false;
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
} }
@ -247,12 +249,12 @@ public final class MusicGameStartReqOuterClass {
} }
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); 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 = (37 * hash) + MUSIC_BASIC_ID_FIELD_NUMBER;
hash = (53 * hash) + getMusicBasicId(); 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(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
return hash; return hash;
@ -360,8 +362,10 @@ public final class MusicGameStartReqOuterClass {
* *
* *
* <pre> * <pre>
* Name: KIECLHFBINF * CmdId: 8406 (3.2)
* CmdId: 8103 * EnetChannelId: 0
* EnetIsReliable: true
* IsAllowClient: true
* </pre> * </pre>
* *
* Protobuf type {@code MusicGameStartReq} * Protobuf type {@code MusicGameStartReq}
@ -405,11 +409,11 @@ public final class MusicGameStartReqOuterClass {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
ugcGuid_ = 0L; musicBasicId_ = 0;
isSaveScore_ = false; isSaveScore_ = false;
musicBasicId_ = 0; ugcGuid_ = 0L;
return this; return this;
} }
@ -442,9 +446,9 @@ public final class MusicGameStartReqOuterClass {
buildPartial() { buildPartial() {
emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq result = emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq result =
new emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq(this); new emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq(this);
result.ugcGuid_ = ugcGuid_;
result.isSaveScore_ = isSaveScore_;
result.musicBasicId_ = musicBasicId_; result.musicBasicId_ = musicBasicId_;
result.isSaveScore_ = isSaveScore_;
result.ugcGuid_ = ugcGuid_;
onBuilt(); onBuilt();
return result; return result;
} }
@ -501,14 +505,14 @@ public final class MusicGameStartReqOuterClass {
if (other if (other
== emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq == emu.grasscutter.net.proto.MusicGameStartReqOuterClass.MusicGameStartReq
.getDefaultInstance()) return this; .getDefaultInstance()) return this;
if (other.getUgcGuid() != 0L) { if (other.getMusicBasicId() != 0) {
setUgcGuid(other.getUgcGuid()); setMusicBasicId(other.getMusicBasicId());
} }
if (other.getIsSaveScore() != false) { if (other.getIsSaveScore() != false) {
setIsSaveScore(other.getIsSaveScore()); setIsSaveScore(other.getIsSaveScore());
} }
if (other.getMusicBasicId() != 0) { if (other.getUgcGuid() != 0L) {
setMusicBasicId(other.getMusicBasicId()); setUgcGuid(other.getUgcGuid());
} }
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
@ -542,77 +546,9 @@ public final class MusicGameStartReqOuterClass {
return this; 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_; private int musicBasicId_;
/** /**
* <code>uint32 music_basic_id = 4;</code> * <code>uint32 music_basic_id = 2;</code>
* *
* @return The musicBasicId. * @return The musicBasicId.
*/ */
@ -621,7 +557,7 @@ public final class MusicGameStartReqOuterClass {
return musicBasicId_; return musicBasicId_;
} }
/** /**
* <code>uint32 music_basic_id = 4;</code> * <code>uint32 music_basic_id = 2;</code>
* *
* @param value The musicBasicId to set. * @param value The musicBasicId to set.
* @return This builder for chaining. * @return This builder for chaining.
@ -633,7 +569,7 @@ public final class MusicGameStartReqOuterClass {
return this; return this;
} }
/** /**
* <code>uint32 music_basic_id = 4;</code> * <code>uint32 music_basic_id = 2;</code>
* *
* @return This builder for chaining. * @return This builder for chaining.
*/ */
@ -644,6 +580,74 @@ public final class MusicGameStartReqOuterClass {
return this; 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 @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) { final com.google.protobuf.UnknownFieldSet unknownFields) {
@ -714,8 +718,8 @@ public final class MusicGameStartReqOuterClass {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\027MusicGameStartReq.proto\"T\n\021MusicGameSt" "\n\027MusicGameStartReq.proto\"T\n\021MusicGameSt"
+ "artReq\022\020\n\010ugc_guid\030\r \001(\004\022\025\n\ris_save_scor" + "artReq\022\026\n\016music_basic_id\030\002 \001(\r\022\025\n\ris_sav"
+ "e\030\007 \001(\010\022\026\n\016music_basic_id\030\004 \001(\rB\033\n\031emu.g" + "e_score\030\013 \001(\010\022\020\n\010ugc_guid\030\003 \001(\004B\033\n\031emu.g"
+ "rasscutter.net.protob\006proto3" + "rasscutter.net.protob\006proto3"
}; };
descriptor = descriptor =
@ -726,7 +730,7 @@ public final class MusicGameStartReqOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameStartReq_descriptor, internal_static_MusicGameStartReq_descriptor,
new java.lang.String[] { new java.lang.String[] {
"UgcGuid", "IsSaveScore", "MusicBasicId", "MusicBasicId", "IsSaveScore", "UgcGuid",
}); });
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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