Fix protocol definitions

This commit is contained in:
KingRainbow44 2023-05-29 03:44:55 -04:00
parent 4fd617cebd
commit be9fc452fa
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
15 changed files with 2202 additions and 2306 deletions

View File

@ -109,11 +109,11 @@ public final class AbilityAppliedModifierOuterClass {
int getApplyEntityId();
/**
* <code>bool DLOLFHNNEKI = 10;</code>
* <code>bool is_attached_parent_ability = 10;</code>
*
* @return The dLOLFHNNEKI.
* @return The isAttachedParentAbility.
*/
boolean getDLOLFHNNEKI();
boolean getIsAttachedParentAbility();
/**
* <code>.ModifierDurability modifier_durability = 11;</code>
@ -284,7 +284,7 @@ public final class AbilityAppliedModifierOuterClass {
}
case 80:
{
dLOLFHNNEKI_ = input.readBool();
isAttachedParentAbility_ = input.readBool();
break;
}
case 90:
@ -516,16 +516,16 @@ public final class AbilityAppliedModifierOuterClass {
return applyEntityId_;
}
public static final int DLOLFHNNEKI_FIELD_NUMBER = 10;
private boolean dLOLFHNNEKI_;
public static final int IS_ATTACHED_PARENT_ABILITY_FIELD_NUMBER = 10;
private boolean isAttachedParentAbility_;
/**
* <code>bool DLOLFHNNEKI = 10;</code>
* <code>bool is_attached_parent_ability = 10;</code>
*
* @return The dLOLFHNNEKI.
* @return The isAttachedParentAbility.
*/
@java.lang.Override
public boolean getDLOLFHNNEKI() {
return dLOLFHNNEKI_;
public boolean getIsAttachedParentAbility() {
return isAttachedParentAbility_;
}
public static final int MODIFIER_DURABILITY_FIELD_NUMBER = 11;
@ -625,8 +625,8 @@ public final class AbilityAppliedModifierOuterClass {
if (applyEntityId_ != 0) {
output.writeUInt32(9, applyEntityId_);
}
if (dLOLFHNNEKI_ != false) {
output.writeBool(10, dLOLFHNNEKI_);
if (isAttachedParentAbility_ != false) {
output.writeBool(10, isAttachedParentAbility_);
}
if (modifierDurability_ != null) {
output.writeMessage(11, getModifierDurability());
@ -676,8 +676,8 @@ public final class AbilityAppliedModifierOuterClass {
if (applyEntityId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(9, applyEntityId_);
}
if (dLOLFHNNEKI_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, dLOLFHNNEKI_);
if (isAttachedParentAbility_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, isAttachedParentAbility_);
}
if (modifierDurability_ != null) {
size +=
@ -727,7 +727,7 @@ public final class AbilityAppliedModifierOuterClass {
return false;
}
if (getApplyEntityId() != other.getApplyEntityId()) return false;
if (getDLOLFHNNEKI() != other.getDLOLFHNNEKI()) return false;
if (getIsAttachedParentAbility() != other.getIsAttachedParentAbility()) return false;
if (hasModifierDurability() != other.hasModifierDurability()) return false;
if (hasModifierDurability()) {
if (!getModifierDurability().equals(other.getModifierDurability())) return false;
@ -769,8 +769,8 @@ public final class AbilityAppliedModifierOuterClass {
}
hash = (37 * hash) + APPLY_ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getApplyEntityId();
hash = (37 * hash) + DLOLFHNNEKI_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDLOLFHNNEKI());
hash = (37 * hash) + IS_ATTACHED_PARENT_ABILITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsAttachedParentAbility());
if (hasModifierDurability()) {
hash = (37 * hash) + MODIFIER_DURABILITY_FIELD_NUMBER;
hash = (53 * hash) + getModifierDurability().hashCode();
@ -967,7 +967,7 @@ public final class AbilityAppliedModifierOuterClass {
}
applyEntityId_ = 0;
dLOLFHNNEKI_ = false;
isAttachedParentAbility_ = false;
if (modifierDurabilityBuilder_ == null) {
modifierDurability_ = null;
@ -1033,7 +1033,7 @@ public final class AbilityAppliedModifierOuterClass {
result.attachedInstancedModifier_ = attachedInstancedModifierBuilder_.build();
}
result.applyEntityId_ = applyEntityId_;
result.dLOLFHNNEKI_ = dLOLFHNNEKI_;
result.isAttachedParentAbility_ = isAttachedParentAbility_;
if (modifierDurabilityBuilder_ == null) {
result.modifierDurability_ = modifierDurability_;
} else {
@ -1126,8 +1126,8 @@ public final class AbilityAppliedModifierOuterClass {
if (other.getApplyEntityId() != 0) {
setApplyEntityId(other.getApplyEntityId());
}
if (other.getDLOLFHNNEKI() != false) {
setDLOLFHNNEKI(other.getDLOLFHNNEKI());
if (other.getIsAttachedParentAbility() != false) {
setIsAttachedParentAbility(other.getIsAttachedParentAbility());
}
if (other.hasModifierDurability()) {
mergeModifierDurability(other.getModifierDurability());
@ -1763,36 +1763,36 @@ public final class AbilityAppliedModifierOuterClass {
return this;
}
private boolean dLOLFHNNEKI_;
private boolean isAttachedParentAbility_;
/**
* <code>bool DLOLFHNNEKI = 10;</code>
* <code>bool is_attached_parent_ability = 10;</code>
*
* @return The dLOLFHNNEKI.
* @return The isAttachedParentAbility.
*/
@java.lang.Override
public boolean getDLOLFHNNEKI() {
return dLOLFHNNEKI_;
public boolean getIsAttachedParentAbility() {
return isAttachedParentAbility_;
}
/**
* <code>bool DLOLFHNNEKI = 10;</code>
* <code>bool is_attached_parent_ability = 10;</code>
*
* @param value The dLOLFHNNEKI to set.
* @param value The isAttachedParentAbility to set.
* @return This builder for chaining.
*/
public Builder setDLOLFHNNEKI(boolean value) {
public Builder setIsAttachedParentAbility(boolean value) {
dLOLFHNNEKI_ = value;
isAttachedParentAbility_ = value;
onChanged();
return this;
}
/**
* <code>bool DLOLFHNNEKI = 10;</code>
* <code>bool is_attached_parent_ability = 10;</code>
*
* @return This builder for chaining.
*/
public Builder clearDLOLFHNNEKI() {
public Builder clearIsAttachedParentAbility() {
dLOLFHNNEKI_ = false;
isAttachedParentAbility_ = false;
onChanged();
return this;
}
@ -2066,7 +2066,7 @@ public final class AbilityAppliedModifierOuterClass {
java.lang.String[] descriptorData = {
"\n\034AbilityAppliedModifier.proto\032\023AbilityS"
+ "tring.proto\032\035AbilityAttachedModifier.pro"
+ "to\032\030ModifierDurability.proto\"\332\003\n\026Ability"
+ "to\032\030ModifierDurability.proto\"\351\003\n\026Ability"
+ "AppliedModifier\022\031\n\021modifier_local_id\030\001 \001"
+ "(\005\022 \n\030parent_ability_entity_id\030\002 \001(\r\022+\n\023"
+ "parent_ability_name\030\003 \001(\0132\016.AbilityStrin"
@ -2075,11 +2075,11 @@ public final class AbilityAppliedModifierOuterClass {
+ "\022\035\n\025instanced_modifier_id\030\006 \001(\r\022\026\n\016exist"
+ "_duration\030\007 \001(\002\022=\n\033attached_instanced_mo"
+ "difier\030\010 \001(\0132\030.AbilityAttachedModifier\022\027"
+ "\n\017apply_entity_id\030\t \001(\r\022\023\n\013DLOLFHNNEKI\030\n"
+ " \001(\010\0220\n\023modifier_durability\030\013 \001(\0132\023.Modi"
+ "fierDurability\022\021\n\tsbuff_uid\030\014 \001(\r\022\036\n\026is_"
+ "serverbuff_modifier\030\r \001(\010B\033\n\031emu.grasscu"
+ "tter.net.protob\006proto3"
+ "\n\017apply_entity_id\030\t \001(\r\022\"\n\032is_attached_p"
+ "arent_ability\030\n \001(\010\0220\n\023modifier_durabili"
+ "ty\030\013 \001(\0132\023.ModifierDurability\022\021\n\tsbuff_u"
+ "id\030\014 \001(\r\022\036\n\026is_serverbuff_modifier\030\r \001(\010"
+ "B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@ -2103,7 +2103,7 @@ public final class AbilityAppliedModifierOuterClass {
"ExistDuration",
"AttachedInstancedModifier",
"ApplyEntityId",
"DLOLFHNNEKI",
"IsAttachedParentAbility",
"ModifierDurability",
"SbuffUid",
"IsServerbuffModifier",

View File

@ -25,17 +25,17 @@ public final class AchievementOuterClass {
int getId();
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @return The status.
*/
emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI getStatus();
emu.grasscutter.net.proto.StatusOuterClass.Status getStatus();
/**
* <code>uint32 total_progress = 14;</code>
@ -170,115 +170,6 @@ public final class AchievementOuterClass {
emu.grasscutter.net.proto.AchievementOuterClass.Achievement.Builder.class);
}
/** Protobuf enum {@code Achievement.OHCJGBIOHNI} */
public enum OHCJGBIOHNI implements com.google.protobuf.ProtocolMessageEnum {
/** <code>OPFLKOJMOIG_Invalid = 0;</code> */
OPFLKOJMOIG_Invalid(0),
/** <code>OPFLKOJMOIG_Unfinished = 1;</code> */
OPFLKOJMOIG_Unfinished(1),
/** <code>OPFLKOJMOIG_Finished = 2;</code> */
OPFLKOJMOIG_Finished(2),
/** <code>OPFLKOJMOIG_RewardTaken = 3;</code> */
OPFLKOJMOIG_RewardTaken(3),
UNRECOGNIZED(-1),
;
/** <code>OPFLKOJMOIG_Invalid = 0;</code> */
public static final int OPFLKOJMOIG_Invalid_VALUE = 0;
/** <code>OPFLKOJMOIG_Unfinished = 1;</code> */
public static final int OPFLKOJMOIG_Unfinished_VALUE = 1;
/** <code>OPFLKOJMOIG_Finished = 2;</code> */
public static final int OPFLKOJMOIG_Finished_VALUE = 2;
/** <code>OPFLKOJMOIG_RewardTaken = 3;</code> */
public static final int OPFLKOJMOIG_RewardTaken_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OHCJGBIOHNI valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static OHCJGBIOHNI forNumber(int value) {
switch (value) {
case 0:
return OPFLKOJMOIG_Invalid;
case 1:
return OPFLKOJMOIG_Unfinished;
case 2:
return OPFLKOJMOIG_Finished;
case 3:
return OPFLKOJMOIG_RewardTaken;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<OHCJGBIOHNI> internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<OHCJGBIOHNI> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<OHCJGBIOHNI>() {
public OHCJGBIOHNI findValueByNumber(int number) {
return OHCJGBIOHNI.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return emu.grasscutter.net.proto.AchievementOuterClass.Achievement.getDescriptor()
.getEnumTypes()
.get(0);
}
private static final OHCJGBIOHNI[] VALUES = values();
public static OHCJGBIOHNI valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private OHCJGBIOHNI(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Achievement.OHCJGBIOHNI)
}
public static final int ID_FIELD_NUMBER = 3;
private int id_;
/**
@ -294,7 +185,7 @@ public final class AchievementOuterClass {
public static final int STATUS_FIELD_NUMBER = 10;
private int status_;
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @return The enum numeric value on the wire for status.
*/
@ -303,17 +194,17 @@ public final class AchievementOuterClass {
return status_;
}
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @return The status.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI getStatus() {
public emu.grasscutter.net.proto.StatusOuterClass.Status getStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI result =
emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI.valueOf(status_);
emu.grasscutter.net.proto.StatusOuterClass.Status result =
emu.grasscutter.net.proto.StatusOuterClass.Status.valueOf(status_);
return result == null
? emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI.UNRECOGNIZED
? emu.grasscutter.net.proto.StatusOuterClass.Status.UNRECOGNIZED
: result;
}
@ -373,9 +264,7 @@ public final class AchievementOuterClass {
if (curProgress_ != 0) {
output.writeUInt32(5, curProgress_);
}
if (status_
!= emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI
.OPFLKOJMOIG_Invalid.getNumber()) {
if (status_ != emu.grasscutter.net.proto.StatusOuterClass.Status.STATUS_INVALID.getNumber()) {
output.writeEnum(10, status_);
}
if (totalProgress_ != 0) {
@ -399,9 +288,7 @@ public final class AchievementOuterClass {
if (curProgress_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, curProgress_);
}
if (status_
!= emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI
.OPFLKOJMOIG_Invalid.getNumber()) {
if (status_ != emu.grasscutter.net.proto.StatusOuterClass.Status.STATUS_INVALID.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, status_);
}
if (totalProgress_ != 0) {
@ -778,7 +665,7 @@ public final class AchievementOuterClass {
private int status_ = 0;
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @return The enum numeric value on the wire for status.
*/
@ -787,7 +674,7 @@ public final class AchievementOuterClass {
return status_;
}
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
@ -799,28 +686,26 @@ public final class AchievementOuterClass {
return this;
}
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @return The status.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI getStatus() {
public emu.grasscutter.net.proto.StatusOuterClass.Status getStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI result =
emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI.valueOf(
status_);
emu.grasscutter.net.proto.StatusOuterClass.Status result =
emu.grasscutter.net.proto.StatusOuterClass.Status.valueOf(status_);
return result == null
? emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI.UNRECOGNIZED
? emu.grasscutter.net.proto.StatusOuterClass.Status.UNRECOGNIZED
: result;
}
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
emu.grasscutter.net.proto.AchievementOuterClass.Achievement.OHCJGBIOHNI value) {
public Builder setStatus(emu.grasscutter.net.proto.StatusOuterClass.Status value) {
if (value == null) {
throw new NullPointerException();
}
@ -830,7 +715,7 @@ public final class AchievementOuterClass {
return this;
}
/**
* <code>.Achievement.OHCJGBIOHNI status = 10;</code>
* <code>.Status status = 10;</code>
*
* @return This builder for chaining.
*/
@ -1009,19 +894,18 @@ public final class AchievementOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\021Achievement.proto\"\206\002\n\013Achievement\022\n\n\002i"
+ "d\030\003 \001(\r\022(\n\006status\030\n \001(\0162\030.Achievement.OH"
+ "CJGBIOHNI\022\026\n\016total_progress\030\016 \001(\r\022\030\n\020fin"
+ "ish_timestamp\030\017 \001(\r\022\024\n\014cur_progress\030\005 \001("
+ "\r\"y\n\013OHCJGBIOHNI\022\027\n\023OPFLKOJMOIG_Invalid\020"
+ "\000\022\032\n\026OPFLKOJMOIG_Unfinished\020\001\022\030\n\024OPFLKOJ"
+ "MOIG_Finished\020\002\022\033\n\027OPFLKOJMOIG_RewardTak"
+ "en\020\003B\033\n\031emu.grasscutter.net.protob\006proto"
+ "3"
"\n\021Achievement.proto\032\014Status.proto\"z\n\013Ach"
+ "ievement\022\n\n\002id\030\003 \001(\r\022\027\n\006status\030\n \001(\0162\007.S"
+ "tatus\022\026\n\016total_progress\030\016 \001(\r\022\030\n\020finish_"
+ "timestamp\030\017 \001(\r\022\024\n\014cur_progress\030\005 \001(\rB\033\n"
+ "\031emu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.StatusOuterClass.getDescriptor(),
});
internal_static_Achievement_descriptor = getDescriptor().getMessageTypes().get(0);
internal_static_Achievement_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
@ -1029,6 +913,7 @@ public final class AchievementOuterClass {
new java.lang.String[] {
"Id", "Status", "TotalProgress", "FinishTimestamp", "CurProgress",
});
emu.grasscutter.net.proto.StatusOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)

View File

@ -18,21 +18,21 @@ public final class MusicGameRecordOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 max_score = 9;</code>
*
* @return The maxScore.
*/
int getMaxScore();
/**
* <code>bool is_unlock = 8;</code>
* <code>bool is_unlock = 9;</code>
*
* @return The isUnlock.
*/
boolean getIsUnlock();
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_score = 6;</code>
*
* @return The maxScore.
*/
int getMaxScore();
/**
* <code>uint32 max_combo = 5;</code>
*
* @return The maxCombo.
*/
@ -42,7 +42,7 @@ public final class MusicGameRecordOuterClass {
*
*
* <pre>
* Obf: PCJOIEMEFPK
* Name: OHBLLAGJHLI
* </pre>
*
* Protobuf type {@code MusicGameRecord}
@ -88,19 +88,19 @@ public final class MusicGameRecordOuterClass {
case 0:
done = true;
break;
case 56:
case 40:
{
maxCombo_ = input.readUInt32();
break;
}
case 64:
case 48:
{
isUnlock_ = input.readBool();
maxScore_ = input.readUInt32();
break;
}
case 72:
{
maxScore_ = input.readUInt32();
isUnlock_ = input.readBool();
break;
}
default:
@ -137,22 +137,10 @@ public final class MusicGameRecordOuterClass {
emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord.Builder.class);
}
public static final int MAX_SCORE_FIELD_NUMBER = 9;
private int maxScore_;
/**
* <code>uint32 max_score = 9;</code>
*
* @return The maxScore.
*/
@java.lang.Override
public int getMaxScore() {
return maxScore_;
}
public static final int IS_UNLOCK_FIELD_NUMBER = 8;
public static final int IS_UNLOCK_FIELD_NUMBER = 9;
private boolean isUnlock_;
/**
* <code>bool is_unlock = 8;</code>
* <code>bool is_unlock = 9;</code>
*
* @return The isUnlock.
*/
@ -161,10 +149,22 @@ public final class MusicGameRecordOuterClass {
return isUnlock_;
}
public static final int MAX_COMBO_FIELD_NUMBER = 7;
public static final int MAX_SCORE_FIELD_NUMBER = 6;
private int maxScore_;
/**
* <code>uint32 max_score = 6;</code>
*
* @return The maxScore.
*/
@java.lang.Override
public int getMaxScore() {
return maxScore_;
}
public static final int MAX_COMBO_FIELD_NUMBER = 5;
private int maxCombo_;
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 5;</code>
*
* @return The maxCombo.
*/
@ -188,13 +188,13 @@ public final class MusicGameRecordOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (maxCombo_ != 0) {
output.writeUInt32(7, maxCombo_);
}
if (isUnlock_ != false) {
output.writeBool(8, isUnlock_);
output.writeUInt32(5, maxCombo_);
}
if (maxScore_ != 0) {
output.writeUInt32(9, maxScore_);
output.writeUInt32(6, maxScore_);
}
if (isUnlock_ != false) {
output.writeBool(9, isUnlock_);
}
unknownFields.writeTo(output);
}
@ -206,13 +206,13 @@ public final class MusicGameRecordOuterClass {
size = 0;
if (maxCombo_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(7, maxCombo_);
}
if (isUnlock_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, isUnlock_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, maxCombo_);
}
if (maxScore_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(9, maxScore_);
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, maxScore_);
}
if (isUnlock_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, isUnlock_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@ -230,8 +230,8 @@ public final class MusicGameRecordOuterClass {
emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord other =
(emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord) obj;
if (getMaxScore() != other.getMaxScore()) return false;
if (getIsUnlock() != other.getIsUnlock()) return false;
if (getMaxScore() != other.getMaxScore()) return false;
if (getMaxCombo() != other.getMaxCombo()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
@ -244,10 +244,10 @@ public final class MusicGameRecordOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MAX_SCORE_FIELD_NUMBER;
hash = (53 * hash) + getMaxScore();
hash = (37 * hash) + IS_UNLOCK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsUnlock());
hash = (37 * hash) + MAX_SCORE_FIELD_NUMBER;
hash = (53 * hash) + getMaxScore();
hash = (37 * hash) + MAX_COMBO_FIELD_NUMBER;
hash = (53 * hash) + getMaxCombo();
hash = (29 * hash) + unknownFields.hashCode();
@ -357,7 +357,7 @@ public final class MusicGameRecordOuterClass {
*
*
* <pre>
* Obf: PCJOIEMEFPK
* Name: OHBLLAGJHLI
* </pre>
*
* Protobuf type {@code MusicGameRecord}
@ -400,10 +400,10 @@ public final class MusicGameRecordOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
maxScore_ = 0;
isUnlock_ = false;
maxScore_ = 0;
maxCombo_ = 0;
return this;
@ -435,8 +435,8 @@ public final class MusicGameRecordOuterClass {
public emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord buildPartial() {
emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord result =
new emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord(this);
result.maxScore_ = maxScore_;
result.isUnlock_ = isUnlock_;
result.maxScore_ = maxScore_;
result.maxCombo_ = maxCombo_;
onBuilt();
return result;
@ -493,12 +493,12 @@ public final class MusicGameRecordOuterClass {
if (other
== emu.grasscutter.net.proto.MusicGameRecordOuterClass.MusicGameRecord
.getDefaultInstance()) return this;
if (other.getMaxScore() != 0) {
setMaxScore(other.getMaxScore());
}
if (other.getIsUnlock() != false) {
setIsUnlock(other.getIsUnlock());
}
if (other.getMaxScore() != 0) {
setMaxScore(other.getMaxScore());
}
if (other.getMaxCombo() != 0) {
setMaxCombo(other.getMaxCombo());
}
@ -533,43 +533,9 @@ public final class MusicGameRecordOuterClass {
return this;
}
private int maxScore_;
/**
* <code>uint32 max_score = 9;</code>
*
* @return The maxScore.
*/
@java.lang.Override
public int getMaxScore() {
return maxScore_;
}
/**
* <code>uint32 max_score = 9;</code>
*
* @param value The maxScore to set.
* @return This builder for chaining.
*/
public Builder setMaxScore(int value) {
maxScore_ = value;
onChanged();
return this;
}
/**
* <code>uint32 max_score = 9;</code>
*
* @return This builder for chaining.
*/
public Builder clearMaxScore() {
maxScore_ = 0;
onChanged();
return this;
}
private boolean isUnlock_;
/**
* <code>bool is_unlock = 8;</code>
* <code>bool is_unlock = 9;</code>
*
* @return The isUnlock.
*/
@ -578,7 +544,7 @@ public final class MusicGameRecordOuterClass {
return isUnlock_;
}
/**
* <code>bool is_unlock = 8;</code>
* <code>bool is_unlock = 9;</code>
*
* @param value The isUnlock to set.
* @return This builder for chaining.
@ -590,7 +556,7 @@ public final class MusicGameRecordOuterClass {
return this;
}
/**
* <code>bool is_unlock = 8;</code>
* <code>bool is_unlock = 9;</code>
*
* @return This builder for chaining.
*/
@ -601,9 +567,43 @@ public final class MusicGameRecordOuterClass {
return this;
}
private int maxScore_;
/**
* <code>uint32 max_score = 6;</code>
*
* @return The maxScore.
*/
@java.lang.Override
public int getMaxScore() {
return maxScore_;
}
/**
* <code>uint32 max_score = 6;</code>
*
* @param value The maxScore to set.
* @return This builder for chaining.
*/
public Builder setMaxScore(int value) {
maxScore_ = value;
onChanged();
return this;
}
/**
* <code>uint32 max_score = 6;</code>
*
* @return This builder for chaining.
*/
public Builder clearMaxScore() {
maxScore_ = 0;
onChanged();
return this;
}
private int maxCombo_;
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 5;</code>
*
* @return The maxCombo.
*/
@ -612,7 +612,7 @@ public final class MusicGameRecordOuterClass {
return maxCombo_;
}
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 5;</code>
*
* @param value The maxCombo to set.
* @return This builder for chaining.
@ -624,7 +624,7 @@ public final class MusicGameRecordOuterClass {
return this;
}
/**
* <code>uint32 max_combo = 7;</code>
* <code>uint32 max_combo = 5;</code>
*
* @return This builder for chaining.
*/
@ -704,8 +704,8 @@ public final class MusicGameRecordOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\025MusicGameRecord.proto\"J\n\017MusicGameReco"
+ "rd\022\021\n\tmax_score\030\t \001(\r\022\021\n\tis_unlock\030\010 \001(\010"
+ "\022\021\n\tmax_combo\030\007 \001(\rB\033\n\031emu.grasscutter.n"
+ "rd\022\021\n\tis_unlock\030\t \001(\010\022\021\n\tmax_score\030\006 \001(\r"
+ "\022\021\n\tmax_combo\030\005 \001(\rB\033\n\031emu.grasscutter.n"
+ "et.protob\006proto3"
};
descriptor =
@ -716,7 +716,7 @@ public final class MusicGameRecordOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_MusicGameRecord_descriptor,
new java.lang.String[] {
"MaxScore", "IsUnlock", "MaxCombo",
"IsUnlock", "MaxScore", "MaxCombo",
});
}

View File

@ -57,7 +57,6 @@ public final class MusicGameSettleRspOuterClass {
*
* <pre>
* CmdId: 8828
* Obf: LNJBNJPOIOP
* </pre>
*
* Protobuf type {@code MusicGameSettleRsp}
@ -432,7 +431,6 @@ public final class MusicGameSettleRspOuterClass {
*
* <pre>
* CmdId: 8828
* Obf: LNJBNJPOIOP
* </pre>
*
* Protobuf type {@code MusicGameSettleRsp}

View File

@ -43,7 +43,6 @@ public final class MusicGameStartReqOuterClass {
*
* <pre>
* CmdId: 8583
* Obf: APIHLPKFBGN
* </pre>
*
* Protobuf type {@code MusicGameStartReq}
@ -361,7 +360,6 @@ public final class MusicGameStartReqOuterClass {
*
* <pre>
* CmdId: 8583
* Obf: APIHLPKFBGN
* </pre>
*
* Protobuf type {@code MusicGameStartReq}

View File

@ -43,7 +43,6 @@ public final class MusicGameStartRspOuterClass {
*
* <pre>
* CmdId: 8290
* Obf: DEEDIBPLJLB
* </pre>
*
* Protobuf type {@code MusicGameStartRsp}
@ -361,7 +360,6 @@ public final class MusicGameStartRspOuterClass {
*
* <pre>
* CmdId: 8290
* Obf: DEEDIBPLJLB
* </pre>
*
* Protobuf type {@code MusicGameStartRsp}

View File

@ -66,11 +66,11 @@ public final class ParentQuestOuterClass {
int getTimeVarMapOrThrow(int key);
/**
* <code>uint32 BENEFOELIBI = 11;</code>
* <code>uint32 parent_quest_state = 11;</code>
*
* @return The bENEFOELIBI.
* @return The parentQuestState.
*/
int getBENEFOELIBI();
int getParentQuestState();
/** <code>repeated .InferencePageInfo inference_page_list = 7;</code> */
java.util.List<emu.grasscutter.net.proto.InferencePageInfoOuterClass.InferencePageInfo>
@ -104,11 +104,11 @@ public final class ParentQuestOuterClass {
int index);
/**
* <code>uint32 NFAHBNHBHDE = 12;</code>
* <code>uint32 quest_var_seq = 12;</code>
*
* @return The nFAHBNHBHDE.
* @return The questVarSeq.
*/
int getNFAHBNHBHDE();
int getQuestVarSeq();
/**
* <code>uint64 video_key = 14;</code>
@ -274,12 +274,12 @@ public final class ParentQuestOuterClass {
}
case 88:
{
bENEFOELIBI_ = input.readUInt32();
parentQuestState_ = input.readUInt32();
break;
}
case 96:
{
nFAHBNHBHDE_ = input.readUInt32();
questVarSeq_ = input.readUInt32();
break;
}
case 106:
@ -495,16 +495,16 @@ public final class ParentQuestOuterClass {
return map.get(key);
}
public static final int BENEFOELIBI_FIELD_NUMBER = 11;
private int bENEFOELIBI_;
public static final int PARENT_QUEST_STATE_FIELD_NUMBER = 11;
private int parentQuestState_;
/**
* <code>uint32 BENEFOELIBI = 11;</code>
* <code>uint32 parent_quest_state = 11;</code>
*
* @return The bENEFOELIBI.
* @return The parentQuestState.
*/
@java.lang.Override
public int getBENEFOELIBI() {
return bENEFOELIBI_;
public int getParentQuestState() {
return parentQuestState_;
}
public static final int INFERENCE_PAGE_LIST_FIELD_NUMBER = 7;
@ -575,16 +575,16 @@ public final class ParentQuestOuterClass {
return childQuestList_.get(index);
}
public static final int NFAHBNHBHDE_FIELD_NUMBER = 12;
private int nFAHBNHBHDE_;
public static final int QUEST_VAR_SEQ_FIELD_NUMBER = 12;
private int questVarSeq_;
/**
* <code>uint32 NFAHBNHBHDE = 12;</code>
* <code>uint32 quest_var_seq = 12;</code>
*
* @return The nFAHBNHBHDE.
* @return The questVarSeq.
*/
@java.lang.Override
public int getNFAHBNHBHDE() {
return nFAHBNHBHDE_;
public int getQuestVarSeq() {
return questVarSeq_;
}
public static final int VIDEO_KEY_FIELD_NUMBER = 14;
@ -691,11 +691,11 @@ public final class ParentQuestOuterClass {
if (isRandom_ != false) {
output.writeBool(10, isRandom_);
}
if (bENEFOELIBI_ != 0) {
output.writeUInt32(11, bENEFOELIBI_);
if (parentQuestState_ != 0) {
output.writeUInt32(11, parentQuestState_);
}
if (nFAHBNHBHDE_ != 0) {
output.writeUInt32(12, nFAHBNHBHDE_);
if (questVarSeq_ != 0) {
output.writeUInt32(12, questVarSeq_);
}
com.google.protobuf.GeneratedMessageV3.serializeIntegerMapTo(
output, internalGetTimeVarMap(), TimeVarMapDefaultEntryHolder.defaultEntry, 13);
@ -740,11 +740,11 @@ public final class ParentQuestOuterClass {
if (isRandom_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, isRandom_);
}
if (bENEFOELIBI_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, bENEFOELIBI_);
if (parentQuestState_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, parentQuestState_);
}
if (nFAHBNHBHDE_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(12, nFAHBNHBHDE_);
if (questVarSeq_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(12, questVarSeq_);
}
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry :
internalGetTimeVarMap().getMap().entrySet()) {
@ -792,10 +792,10 @@ public final class ParentQuestOuterClass {
if (!getQuestVarList().equals(other.getQuestVarList())) return false;
if (getIsFinished() != other.getIsFinished()) return false;
if (!internalGetTimeVarMap().equals(other.internalGetTimeVarMap())) return false;
if (getBENEFOELIBI() != other.getBENEFOELIBI()) return false;
if (getParentQuestState() != other.getParentQuestState()) return false;
if (!getInferencePageListList().equals(other.getInferencePageListList())) return false;
if (!getChildQuestListList().equals(other.getChildQuestListList())) return false;
if (getNFAHBNHBHDE() != other.getNFAHBNHBHDE()) return false;
if (getQuestVarSeq() != other.getQuestVarSeq()) return false;
if (getVideoKey() != other.getVideoKey()) return false;
if (getIsRandom() != other.getIsRandom()) return false;
if (getParentQuestId() != other.getParentQuestId()) return false;
@ -826,8 +826,8 @@ public final class ParentQuestOuterClass {
hash = (37 * hash) + TIME_VAR_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetTimeVarMap().hashCode();
}
hash = (37 * hash) + BENEFOELIBI_FIELD_NUMBER;
hash = (53 * hash) + getBENEFOELIBI();
hash = (37 * hash) + PARENT_QUEST_STATE_FIELD_NUMBER;
hash = (53 * hash) + getParentQuestState();
if (getInferencePageListCount() > 0) {
hash = (37 * hash) + INFERENCE_PAGE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getInferencePageListList().hashCode();
@ -836,8 +836,8 @@ public final class ParentQuestOuterClass {
hash = (37 * hash) + CHILD_QUEST_LIST_FIELD_NUMBER;
hash = (53 * hash) + getChildQuestListList().hashCode();
}
hash = (37 * hash) + NFAHBNHBHDE_FIELD_NUMBER;
hash = (53 * hash) + getNFAHBNHBHDE();
hash = (37 * hash) + QUEST_VAR_SEQ_FIELD_NUMBER;
hash = (53 * hash) + getQuestVarSeq();
hash = (37 * hash) + VIDEO_KEY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVideoKey());
hash = (37 * hash) + IS_RANDOM_FIELD_NUMBER;
@ -1026,7 +1026,7 @@ public final class ParentQuestOuterClass {
isFinished_ = false;
internalGetMutableTimeVarMap().clear();
bENEFOELIBI_ = 0;
parentQuestState_ = 0;
if (inferencePageListBuilder_ == null) {
inferencePageList_ = java.util.Collections.emptyList();
@ -1040,7 +1040,7 @@ public final class ParentQuestOuterClass {
} else {
childQuestListBuilder_.clear();
}
nFAHBNHBHDE_ = 0;
questVarSeq_ = 0;
videoKey_ = 0L;
@ -1092,7 +1092,7 @@ public final class ParentQuestOuterClass {
result.isFinished_ = isFinished_;
result.timeVarMap_ = internalGetTimeVarMap();
result.timeVarMap_.makeImmutable();
result.bENEFOELIBI_ = bENEFOELIBI_;
result.parentQuestState_ = parentQuestState_;
if (inferencePageListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
inferencePageList_ = java.util.Collections.unmodifiableList(inferencePageList_);
@ -1111,7 +1111,7 @@ public final class ParentQuestOuterClass {
} else {
result.childQuestList_ = childQuestListBuilder_.build();
}
result.nFAHBNHBHDE_ = nFAHBNHBHDE_;
result.questVarSeq_ = questVarSeq_;
result.videoKey_ = videoKey_;
result.isRandom_ = isRandom_;
result.parentQuestId_ = parentQuestId_;
@ -1190,8 +1190,8 @@ public final class ParentQuestOuterClass {
setIsFinished(other.getIsFinished());
}
internalGetMutableTimeVarMap().mergeFrom(other.internalGetTimeVarMap());
if (other.getBENEFOELIBI() != 0) {
setBENEFOELIBI(other.getBENEFOELIBI());
if (other.getParentQuestState() != 0) {
setParentQuestState(other.getParentQuestState());
}
if (inferencePageListBuilder_ == null) {
if (!other.inferencePageList_.isEmpty()) {
@ -1247,8 +1247,8 @@ public final class ParentQuestOuterClass {
}
}
}
if (other.getNFAHBNHBHDE() != 0) {
setNFAHBNHBHDE(other.getNFAHBNHBHDE());
if (other.getQuestVarSeq() != 0) {
setQuestVarSeq(other.getQuestVarSeq());
}
if (other.getVideoKey() != 0L) {
setVideoKey(other.getVideoKey());
@ -1537,36 +1537,36 @@ public final class ParentQuestOuterClass {
return this;
}
private int bENEFOELIBI_;
private int parentQuestState_;
/**
* <code>uint32 BENEFOELIBI = 11;</code>
* <code>uint32 parent_quest_state = 11;</code>
*
* @return The bENEFOELIBI.
* @return The parentQuestState.
*/
@java.lang.Override
public int getBENEFOELIBI() {
return bENEFOELIBI_;
public int getParentQuestState() {
return parentQuestState_;
}
/**
* <code>uint32 BENEFOELIBI = 11;</code>
* <code>uint32 parent_quest_state = 11;</code>
*
* @param value The bENEFOELIBI to set.
* @param value The parentQuestState to set.
* @return This builder for chaining.
*/
public Builder setBENEFOELIBI(int value) {
public Builder setParentQuestState(int value) {
bENEFOELIBI_ = value;
parentQuestState_ = value;
onChanged();
return this;
}
/**
* <code>uint32 BENEFOELIBI = 11;</code>
* <code>uint32 parent_quest_state = 11;</code>
*
* @return This builder for chaining.
*/
public Builder clearBENEFOELIBI() {
public Builder clearParentQuestState() {
bENEFOELIBI_ = 0;
parentQuestState_ = 0;
onChanged();
return this;
}
@ -2037,36 +2037,36 @@ public final class ParentQuestOuterClass {
return childQuestListBuilder_;
}
private int nFAHBNHBHDE_;
private int questVarSeq_;
/**
* <code>uint32 NFAHBNHBHDE = 12;</code>
* <code>uint32 quest_var_seq = 12;</code>
*
* @return The nFAHBNHBHDE.
* @return The questVarSeq.
*/
@java.lang.Override
public int getNFAHBNHBHDE() {
return nFAHBNHBHDE_;
public int getQuestVarSeq() {
return questVarSeq_;
}
/**
* <code>uint32 NFAHBNHBHDE = 12;</code>
* <code>uint32 quest_var_seq = 12;</code>
*
* @param value The nFAHBNHBHDE to set.
* @param value The questVarSeq to set.
* @return This builder for chaining.
*/
public Builder setNFAHBNHBHDE(int value) {
public Builder setQuestVarSeq(int value) {
nFAHBNHBHDE_ = value;
questVarSeq_ = value;
onChanged();
return this;
}
/**
* <code>uint32 NFAHBNHBHDE = 12;</code>
* <code>uint32 quest_var_seq = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearNFAHBNHBHDE() {
public Builder clearQuestVarSeq() {
nFAHBNHBHDE_ = 0;
questVarSeq_ = 0;
onChanged();
return this;
}
@ -2380,18 +2380,18 @@ public final class ParentQuestOuterClass {
java.lang.String[] descriptorData = {
"\n\021ParentQuest.proto\032\027InferencePageInfo.p"
+ "roto\032\020ChildQuest.proto\032\033ParentQuestRando"
+ "mInfo.proto\"\237\003\n\013ParentQuest\022\023\n\013accept_ti"
+ "mInfo.proto\"\250\003\n\013ParentQuest\022\023\n\013accept_ti"
+ "me\030\t \001(\r\022\021\n\tquest_var\030\017 \003(\005\022\023\n\013is_finish"
+ "ed\030\002 \001(\010\0222\n\014time_var_map\030\r \003(\0132\034.ParentQ"
+ "uest.TimeVarMapEntry\022\023\n\013BENEFOELIBI\030\013 \001("
+ "\r\022/\n\023inference_page_list\030\007 \003(\0132\022.Inferen"
+ "cePageInfo\022%\n\020child_quest_list\030\005 \003(\0132\013.C"
+ "hildQuest\022\023\n\013NFAHBNHBHDE\030\014 \001(\r\022\021\n\tvideo_"
+ "key\030\016 \001(\004\022\021\n\tis_random\030\n \001(\010\022\027\n\017parent_q"
+ "uest_id\030\010 \001(\r\022+\n\013random_info\030\001 \001(\0132\026.Par"
+ "entQuestRandomInfo\0321\n\017TimeVarMapEntry\022\013\n"
+ "\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031emu.gra"
+ "sscutter.net.protob\006proto3"
+ "uest.TimeVarMapEntry\022\032\n\022parent_quest_sta"
+ "te\030\013 \001(\r\022/\n\023inference_page_list\030\007 \003(\0132\022."
+ "InferencePageInfo\022%\n\020child_quest_list\030\005 "
+ "\003(\0132\013.ChildQuest\022\025\n\rquest_var_seq\030\014 \001(\r\022"
+ "\021\n\tvideo_key\030\016 \001(\004\022\021\n\tis_random\030\n \001(\010\022\027\n"
+ "\017parent_quest_id\030\010 \001(\r\022+\n\013random_info\030\001 "
+ "\001(\0132\026.ParentQuestRandomInfo\0321\n\017TimeVarMa"
+ "pEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033"
+ "\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@ -2410,10 +2410,10 @@ public final class ParentQuestOuterClass {
"QuestVar",
"IsFinished",
"TimeVarMap",
"BENEFOELIBI",
"ParentQuestState",
"InferencePageList",
"ChildQuestList",
"NFAHBNHBHDE",
"QuestVarSeq",
"VideoKey",
"IsRandom",
"ParentQuestId",

View File

@ -18,17 +18,17 @@ public final class QueryPathRspOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @return The enum numeric value on the wire for queryStatus.
*/
int getQueryStatusValue();
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @return The queryStatus.
*/
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG getQueryStatus();
emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType getQueryStatus();
/**
* <code>int32 retcode = 3;</code>
@ -178,113 +178,10 @@ public final class QueryPathRspOuterClass {
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.Builder.class);
}
/** Protobuf enum {@code QueryPathRsp.PEFGMLDKCDG} */
public enum PEFGMLDKCDG implements com.google.protobuf.ProtocolMessageEnum {
/** <code>AMHEPLPEHOG_StatusFail = 0;</code> */
AMHEPLPEHOG_StatusFail(0),
/** <code>AMHEPLPEHOG_StatusSucc = 1;</code> */
AMHEPLPEHOG_StatusSucc(1),
/** <code>AMHEPLPEHOG_StatusPartial = 2;</code> */
AMHEPLPEHOG_StatusPartial(2),
UNRECOGNIZED(-1),
;
/** <code>AMHEPLPEHOG_StatusFail = 0;</code> */
public static final int AMHEPLPEHOG_StatusFail_VALUE = 0;
/** <code>AMHEPLPEHOG_StatusSucc = 1;</code> */
public static final int AMHEPLPEHOG_StatusSucc_VALUE = 1;
/** <code>AMHEPLPEHOG_StatusPartial = 2;</code> */
public static final int AMHEPLPEHOG_StatusPartial_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PEFGMLDKCDG valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static PEFGMLDKCDG forNumber(int value) {
switch (value) {
case 0:
return AMHEPLPEHOG_StatusFail;
case 1:
return AMHEPLPEHOG_StatusSucc;
case 2:
return AMHEPLPEHOG_StatusPartial;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<PEFGMLDKCDG> internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<PEFGMLDKCDG> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<PEFGMLDKCDG>() {
public PEFGMLDKCDG findValueByNumber(int number) {
return PEFGMLDKCDG.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.getDescriptor()
.getEnumTypes()
.get(0);
}
private static final PEFGMLDKCDG[] VALUES = values();
public static PEFGMLDKCDG valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private PEFGMLDKCDG(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:QueryPathRsp.PEFGMLDKCDG)
}
public static final int QUERY_STATUS_FIELD_NUMBER = 2;
private int queryStatus_;
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @return The enum numeric value on the wire for queryStatus.
*/
@ -293,19 +190,17 @@ public final class QueryPathRspOuterClass {
return queryStatus_;
}
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @return The queryStatus.
*/
@java.lang.Override
public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG
getQueryStatus() {
public emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType getQueryStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG result =
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG.valueOf(
queryStatus_);
emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType result =
emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType.valueOf(queryStatus_);
return result == null
? emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG.UNRECOGNIZED
? emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType.UNRECOGNIZED
: result;
}
@ -378,8 +273,8 @@ public final class QueryPathRspOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (queryStatus_
!= emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG
.AMHEPLPEHOG_StatusFail.getNumber()) {
!= emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType.PATH_STATUS_TYPE_FAIL
.getNumber()) {
output.writeEnum(2, queryStatus_);
}
if (retcode_ != 0) {
@ -401,8 +296,8 @@ public final class QueryPathRspOuterClass {
size = 0;
if (queryStatus_
!= emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG
.AMHEPLPEHOG_StatusFail.getNumber()) {
!= emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType.PATH_STATUS_TYPE_FAIL
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, queryStatus_);
}
if (retcode_ != 0) {
@ -784,7 +679,7 @@ public final class QueryPathRspOuterClass {
private int queryStatus_ = 0;
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @return The enum numeric value on the wire for queryStatus.
*/
@ -793,7 +688,7 @@ public final class QueryPathRspOuterClass {
return queryStatus_;
}
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @param value The enum numeric value on the wire for queryStatus to set.
* @return This builder for chaining.
@ -805,29 +700,27 @@ public final class QueryPathRspOuterClass {
return this;
}
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @return The queryStatus.
*/
@java.lang.Override
public emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG
getQueryStatus() {
public emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType getQueryStatus() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG result =
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG.valueOf(
queryStatus_);
emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType result =
emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType.valueOf(queryStatus_);
return result == null
? emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG.UNRECOGNIZED
? emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType.UNRECOGNIZED
: result;
}
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @param value The queryStatus to set.
* @return This builder for chaining.
*/
public Builder setQueryStatus(
emu.grasscutter.net.proto.QueryPathRspOuterClass.QueryPathRsp.PEFGMLDKCDG value) {
emu.grasscutter.net.proto.PathStatusTypeOuterClass.PathStatusType value) {
if (value == null) {
throw new NullPointerException();
}
@ -837,7 +730,7 @@ public final class QueryPathRspOuterClass {
return this;
}
/**
* <code>.QueryPathRsp.PEFGMLDKCDG query_status = 2;</code>
* <code>.PathStatusType query_status = 2;</code>
*
* @return This builder for chaining.
*/
@ -1197,19 +1090,18 @@ public final class QueryPathRspOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\022QueryPathRsp.proto\032\014Vector.proto\"\342\001\n\014Q"
+ "ueryPathRsp\022/\n\014query_status\030\002 \001(\0162\031.Quer"
+ "yPathRsp.PEFGMLDKCDG\022\017\n\007retcode\030\003 \001(\005\022\030\n"
+ "\007corners\030\n \003(\0132\007.Vector\022\020\n\010query_id\030\010 \001("
+ "\005\"d\n\013PEFGMLDKCDG\022\032\n\026AMHEPLPEHOG_StatusFa"
+ "il\020\000\022\032\n\026AMHEPLPEHOG_StatusSucc\020\001\022\035\n\031AMHE"
+ "PLPEHOG_StatusPartial\020\002B\033\n\031emu.grasscutt"
+ "er.net.protob\006proto3"
"\n\022QueryPathRsp.proto\032\024PathStatusType.pro"
+ "to\032\014Vector.proto\"r\n\014QueryPathRsp\022%\n\014quer"
+ "y_status\030\002 \001(\0162\017.PathStatusType\022\017\n\007retco"
+ "de\030\003 \001(\005\022\030\n\007corners\030\n \003(\0132\007.Vector\022\020\n\010qu"
+ "ery_id\030\010 \001(\005B\033\n\031emu.grasscutter.net.prot"
+ "ob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.PathStatusTypeOuterClass.getDescriptor(),
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
});
internal_static_QueryPathRsp_descriptor = getDescriptor().getMessageTypes().get(0);
@ -1219,6 +1111,7 @@ public final class QueryPathRspOuterClass {
new java.lang.String[] {
"QueryStatus", "Retcode", "Corners", "QueryId",
});
emu.grasscutter.net.proto.PathStatusTypeOuterClass.getDescriptor();
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
}

View File

@ -219,6 +219,113 @@ public final class TowerLevelEndNotifyOuterClass {
.class);
}
/** Protobuf enum {@code TowerLevelEndNotify.ContinueStateType} */
public enum ContinueStateType implements com.google.protobuf.ProtocolMessageEnum {
/** <code>CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE = 0;</code> */
CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE(0),
/** <code>CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL = 1;</code> */
CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL(1),
/** <code>CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR = 2;</code> */
CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR(2),
UNRECOGNIZED(-1),
;
/** <code>CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE = 0;</code> */
public static final int CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE_VALUE = 0;
/** <code>CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL = 1;</code> */
public static final int CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL_VALUE = 1;
/** <code>CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR = 2;</code> */
public static final int CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ContinueStateType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ContinueStateType forNumber(int value) {
switch (value) {
case 0:
return CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE;
case 1:
return CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL;
case 2:
return CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ContinueStateType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<ContinueStateType>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ContinueStateType>() {
public ContinueStateType findValueByNumber(int number) {
return ContinueStateType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return emu.grasscutter.net.proto.TowerLevelEndNotifyOuterClass.TowerLevelEndNotify
.getDescriptor()
.getEnumTypes()
.get(0);
}
private static final ContinueStateType[] VALUES = values();
public static ContinueStateType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ContinueStateType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TowerLevelEndNotify.ContinueStateType)
}
public static final int NEXT_FLOOR_ID_FIELD_NUMBER = 1;
private int nextFloorId_;
/**
@ -1277,12 +1384,15 @@ public final class TowerLevelEndNotifyOuterClass {
static {
java.lang.String[] descriptorData = {
"\n\031TowerLevelEndNotify.proto\032\017ItemParam.p"
+ "roto\"\237\001\n\023TowerLevelEndNotify\022\025\n\rnext_flo"
+ "roto\"\273\002\n\023TowerLevelEndNotify\022\025\n\rnext_flo"
+ "or_id\030\001 \001(\r\022\026\n\016continue_state\030\002 \001(\r\022\022\n\ni"
+ "s_success\030\004 \001(\010\022\037\n\027finished_star_cond_li"
+ "st\030\007 \003(\r\022$\n\020reward_item_list\030\n \003(\0132\n.Ite"
+ "mParamB\033\n\031emu.grasscutter.net.protob\006pro"
+ "to3"
+ "mParam\"\231\001\n\021ContinueStateType\022(\n$CONTINUE"
+ "_STATE_TYPE_CAN_NOT_CONTINUE\020\000\022,\n(CONTIN"
+ "UE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL\020\001\022,\n("
+ "CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR"
+ "\020\002B\033\n\031emu.grasscutter.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(

View File

@ -18,18 +18,18 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>bool ICGKJKIDFKM = 9;</code>
* <code>bool passed_dungeon = 9;</code>
*
* @return The iCGKJKIDFKM.
* @return The passedDungeon.
*/
boolean getICGKJKIDFKM();
boolean getPassedDungeon();
/**
* <code>bool KCJNPAELNLF = 12;</code>
* <code>bool received_reward = 12;</code>
*
* @return The kCJNPAELNLF.
* @return The receivedReward.
*/
boolean getKCJNPAELNLF();
boolean getReceivedReward();
/**
* <code>uint32 reward_id = 14;</code>
@ -104,12 +104,12 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
}
case 72:
{
iCGKJKIDFKM_ = input.readBool();
passedDungeon_ = input.readBool();
break;
}
case 96:
{
kCJNPAELNLF_ = input.readBool();
receivedReward_ = input.readBool();
break;
}
case 112:
@ -153,28 +153,28 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
.TrialAvatarActivityRewardDetailInfo.Builder.class);
}
public static final int ICGKJKIDFKM_FIELD_NUMBER = 9;
private boolean iCGKJKIDFKM_;
public static final int PASSED_DUNGEON_FIELD_NUMBER = 9;
private boolean passedDungeon_;
/**
* <code>bool ICGKJKIDFKM = 9;</code>
* <code>bool passed_dungeon = 9;</code>
*
* @return The iCGKJKIDFKM.
* @return The passedDungeon.
*/
@java.lang.Override
public boolean getICGKJKIDFKM() {
return iCGKJKIDFKM_;
public boolean getPassedDungeon() {
return passedDungeon_;
}
public static final int KCJNPAELNLF_FIELD_NUMBER = 12;
private boolean kCJNPAELNLF_;
public static final int RECEIVED_REWARD_FIELD_NUMBER = 12;
private boolean receivedReward_;
/**
* <code>bool KCJNPAELNLF = 12;</code>
* <code>bool received_reward = 12;</code>
*
* @return The kCJNPAELNLF.
* @return The receivedReward.
*/
@java.lang.Override
public boolean getKCJNPAELNLF() {
return kCJNPAELNLF_;
public boolean getReceivedReward() {
return receivedReward_;
}
public static final int REWARD_ID_FIELD_NUMBER = 14;
@ -218,11 +218,11 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
if (trialAvatarIndexId_ != 0) {
output.writeUInt32(5, trialAvatarIndexId_);
}
if (iCGKJKIDFKM_ != false) {
output.writeBool(9, iCGKJKIDFKM_);
if (passedDungeon_ != false) {
output.writeBool(9, passedDungeon_);
}
if (kCJNPAELNLF_ != false) {
output.writeBool(12, kCJNPAELNLF_);
if (receivedReward_ != false) {
output.writeBool(12, receivedReward_);
}
if (rewardId_ != 0) {
output.writeUInt32(14, rewardId_);
@ -239,11 +239,11 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
if (trialAvatarIndexId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, trialAvatarIndexId_);
}
if (iCGKJKIDFKM_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, iCGKJKIDFKM_);
if (passedDungeon_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, passedDungeon_);
}
if (kCJNPAELNLF_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, kCJNPAELNLF_);
if (receivedReward_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, receivedReward_);
}
if (rewardId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(14, rewardId_);
@ -271,8 +271,8 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
.TrialAvatarActivityRewardDetailInfo)
obj;
if (getICGKJKIDFKM() != other.getICGKJKIDFKM()) return false;
if (getKCJNPAELNLF() != other.getKCJNPAELNLF()) return false;
if (getPassedDungeon() != other.getPassedDungeon()) return false;
if (getReceivedReward() != other.getReceivedReward()) return false;
if (getRewardId() != other.getRewardId()) return false;
if (getTrialAvatarIndexId() != other.getTrialAvatarIndexId()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
@ -286,10 +286,10 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ICGKJKIDFKM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getICGKJKIDFKM());
hash = (37 * hash) + KCJNPAELNLF_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getKCJNPAELNLF());
hash = (37 * hash) + PASSED_DUNGEON_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassedDungeon());
hash = (37 * hash) + RECEIVED_REWARD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReceivedReward());
hash = (37 * hash) + REWARD_ID_FIELD_NUMBER;
hash = (53 * hash) + getRewardId();
hash = (37 * hash) + TRIAL_AVATAR_INDEX_ID_FIELD_NUMBER;
@ -466,9 +466,9 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
iCGKJKIDFKM_ = false;
passedDungeon_ = false;
kCJNPAELNLF_ = false;
receivedReward_ = false;
rewardId_ = 0;
@ -513,8 +513,8 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
result =
new emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo(this);
result.iCGKJKIDFKM_ = iCGKJKIDFKM_;
result.kCJNPAELNLF_ = kCJNPAELNLF_;
result.passedDungeon_ = passedDungeon_;
result.receivedReward_ = receivedReward_;
result.rewardId_ = rewardId_;
result.trialAvatarIndexId_ = trialAvatarIndexId_;
onBuilt();
@ -579,11 +579,11 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
if (other
== emu.grasscutter.net.proto.TrialAvatarActivityRewardDetailInfoOuterClass
.TrialAvatarActivityRewardDetailInfo.getDefaultInstance()) return this;
if (other.getICGKJKIDFKM() != false) {
setICGKJKIDFKM(other.getICGKJKIDFKM());
if (other.getPassedDungeon() != false) {
setPassedDungeon(other.getPassedDungeon());
}
if (other.getKCJNPAELNLF() != false) {
setKCJNPAELNLF(other.getKCJNPAELNLF());
if (other.getReceivedReward() != false) {
setReceivedReward(other.getReceivedReward());
}
if (other.getRewardId() != 0) {
setRewardId(other.getRewardId());
@ -625,70 +625,70 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
return this;
}
private boolean iCGKJKIDFKM_;
private boolean passedDungeon_;
/**
* <code>bool ICGKJKIDFKM = 9;</code>
* <code>bool passed_dungeon = 9;</code>
*
* @return The iCGKJKIDFKM.
* @return The passedDungeon.
*/
@java.lang.Override
public boolean getICGKJKIDFKM() {
return iCGKJKIDFKM_;
public boolean getPassedDungeon() {
return passedDungeon_;
}
/**
* <code>bool ICGKJKIDFKM = 9;</code>
* <code>bool passed_dungeon = 9;</code>
*
* @param value The iCGKJKIDFKM to set.
* @param value The passedDungeon to set.
* @return This builder for chaining.
*/
public Builder setICGKJKIDFKM(boolean value) {
public Builder setPassedDungeon(boolean value) {
iCGKJKIDFKM_ = value;
passedDungeon_ = value;
onChanged();
return this;
}
/**
* <code>bool ICGKJKIDFKM = 9;</code>
* <code>bool passed_dungeon = 9;</code>
*
* @return This builder for chaining.
*/
public Builder clearICGKJKIDFKM() {
public Builder clearPassedDungeon() {
iCGKJKIDFKM_ = false;
passedDungeon_ = false;
onChanged();
return this;
}
private boolean kCJNPAELNLF_;
private boolean receivedReward_;
/**
* <code>bool KCJNPAELNLF = 12;</code>
* <code>bool received_reward = 12;</code>
*
* @return The kCJNPAELNLF.
* @return The receivedReward.
*/
@java.lang.Override
public boolean getKCJNPAELNLF() {
return kCJNPAELNLF_;
public boolean getReceivedReward() {
return receivedReward_;
}
/**
* <code>bool KCJNPAELNLF = 12;</code>
* <code>bool received_reward = 12;</code>
*
* @param value The kCJNPAELNLF to set.
* @param value The receivedReward to set.
* @return This builder for chaining.
*/
public Builder setKCJNPAELNLF(boolean value) {
public Builder setReceivedReward(boolean value) {
kCJNPAELNLF_ = value;
receivedReward_ = value;
onChanged();
return this;
}
/**
* <code>bool KCJNPAELNLF = 12;</code>
* <code>bool received_reward = 12;</code>
*
* @return This builder for chaining.
*/
public Builder clearKCJNPAELNLF() {
public Builder clearReceivedReward() {
kCJNPAELNLF_ = false;
receivedReward_ = false;
onChanged();
return this;
}
@ -835,11 +835,11 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
static {
java.lang.String[] descriptorData = {
"\n)TrialAvatarActivityRewardDetailInfo.pr"
+ "oto\"\201\001\n#TrialAvatarActivityRewardDetailI"
+ "nfo\022\023\n\013ICGKJKIDFKM\030\t \001(\010\022\023\n\013KCJNPAELNLF\030"
+ "\014 \001(\010\022\021\n\treward_id\030\016 \001(\r\022\035\n\025trial_avatar"
+ "_index_id\030\005 \001(\rB\033\n\031emu.grasscutter.net.p"
+ "rotob\006proto3"
+ "oto\"\210\001\n#TrialAvatarActivityRewardDetailI"
+ "nfo\022\026\n\016passed_dungeon\030\t \001(\010\022\027\n\017received_"
+ "reward\030\014 \001(\010\022\021\n\treward_id\030\016 \001(\r\022\035\n\025trial"
+ "_avatar_index_id\030\005 \001(\rB\033\n\031emu.grasscutte"
+ "r.net.protob\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@ -850,7 +850,7 @@ public final class TrialAvatarActivityRewardDetailInfoOuterClass {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_TrialAvatarActivityRewardDetailInfo_descriptor,
new java.lang.String[] {
"ICGKJKIDFKM", "KCJNPAELNLF", "RewardId", "TrialAvatarIndexId",
"PassedDungeon", "ReceivedReward", "RewardId", "TrialAvatarIndexId",
});
}

View File

@ -14,24 +14,24 @@ public final class PacketBeginCameraSceneLookNotify extends BasePacket {
public PacketBeginCameraSceneLookNotify(CameraSceneLookNotify parameters) {
super(PacketOpcodes.BeginCameraSceneLookNotify);
// var packet =
// BeginCameraSceneLookNotify.newBuilder()
// .setLookPos(parameters.lookPos.toProto())
// .setFollowPos(parameters.followPos.toProto())
// .setDuration(parameters.duration)
// .setIsAllowInput(parameters.isAllowInput)
// .setIsSetFollowPos(parameters.setFollowPos)
// .setIsSetScreenXy(parameters.isScreenXY)
// .setIsRecoverKeepCurrent(parameters.recoverKeepCurrent)
// .setIsChangePlayMode(parameters.isChangePlayMode)
// .setScreenY(parameters.screenY)
// .setScreenX(parameters.screenX)
// .setIsForce(parameters.isForce)
// .setIsForce(parameters.isForceWalk)
// .setEntityId(parameters.entityId)
// .addAllOtherParams(parameters.otherParams);
//
// this.setData(packet);
// var packet =
// BeginCameraSceneLookNotify.newBuilder()
// .setLookPos(parameters.lookPos.toProto())
// .setFollowPos(parameters.followPos.toProto())
// .setDuration(parameters.duration)
// .setIsAllowInput(parameters.isAllowInput)
// .setIsSetFollowPos(parameters.setFollowPos)
// .setIsSetScreenXy(parameters.isScreenXY)
// .setIsRecoverKeepCurrent(parameters.recoverKeepCurrent)
// .setIsChangePlayMode(parameters.isChangePlayMode)
// .setScreenY(parameters.screenY)
// .setScreenX(parameters.screenX)
// .setIsForce(parameters.isForce)
// .setIsForce(parameters.isForceWalk)
// .setEntityId(parameters.entityId)
// .addAllOtherParams(parameters.otherParams);
//
// this.setData(packet);
}
// TODO check default values