Add support for v3.5.0 (#2090)

* Fix Dvalin battle

See https://github.com/Anime-Game-Servers/Grasscutter-Quests/pull/25.

This is entirely untested and there's a 99% chance it's broken, I'm just submitting it as a draft PR so that I don't forget about its existence.

Co-Authored-By: mjolsic <21289772+mjolsic@users.noreply.github.com>

* Update protos

* 3.4 protos

* Fix

Now builds successfully, don't have the time to check if I should have specified true instead of false for withChildQuests, or if this functions as intended.

* Change from false to true

Per what smileoflove has been told on Discord

* 3.5

* Remove the Dvalin crap from this PR

Git is so confusing

* Update version

* Apply README changes from `origin/development`

* Remove unnecessary debugging information

---------

Co-authored-by: mjolsic <21289772+mjolsic@users.noreply.github.com>
Co-authored-by: KingRainbow44 <kobedo11@gmail.com>
This commit is contained in:
Colleiflower
2023-03-31 19:13:32 +00:00
committed by GitHub
Unverified
parent 922f7bca51
commit 516e5975e1
1383 changed files with 167226 additions and 586936 deletions
@@ -19,42 +19,47 @@ public final class AvatarSkillChangeNotifyOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint64 avatarGuid = 4;</code>
* <code>uint32 cur_level = 10;</code>
* @return The curLevel.
*/
int getCurLevel();
/**
* <code>uint64 avatar_guid = 9;</code>
* @return The avatarGuid.
*/
long getAvatarGuid();
/**
* <code>uint32 entityId = 12;</code>
* <code>uint32 entity_id = 8;</code>
* @return The entityId.
*/
int getEntityId();
/**
* <code>uint32 avatarSkillId = 1;</code>
* @return The avatarSkillId.
*/
int getAvatarSkillId();
/**
* <code>uint32 skillDepotId = 5;</code>
* @return The skillDepotId.
*/
int getSkillDepotId();
/**
* <code>uint32 oldLevel = 6;</code>
* <code>uint32 old_level = 3;</code>
* @return The oldLevel.
*/
int getOldLevel();
/**
* <code>uint32 curLevel = 2;</code>
* @return The curLevel.
* <code>uint32 avatar_skill_id = 14;</code>
* @return The avatarSkillId.
*/
int getCurLevel();
int getAvatarSkillId();
/**
* <code>uint32 skill_depot_id = 4;</code>
* @return The skillDepotId.
*/
int getSkillDepotId();
}
/**
* <pre>
* Name: KLNBJHKJCIN
* CmdId: 1042
* </pre>
*
* Protobuf type {@code AvatarSkillChangeNotify}
*/
public static final class AvatarSkillChangeNotify extends
@@ -99,36 +104,36 @@ public final class AvatarSkillChangeNotifyOuterClass {
case 0:
done = true;
break;
case 8: {
avatarSkillId_ = input.readUInt32();
break;
}
case 16: {
curLevel_ = input.readUInt32();
break;
}
case 32: {
avatarGuid_ = input.readUInt64();
break;
}
case 40: {
skillDepotId_ = input.readUInt32();
break;
}
case 48: {
case 24: {
oldLevel_ = input.readUInt32();
break;
}
case 96: {
case 32: {
skillDepotId_ = input.readUInt32();
break;
}
case 64: {
entityId_ = input.readUInt32();
break;
}
case 72: {
avatarGuid_ = input.readUInt64();
break;
}
case 80: {
curLevel_ = input.readUInt32();
break;
}
case 112: {
avatarSkillId_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -161,141 +166,21 @@ public final class AvatarSkillChangeNotifyOuterClass {
emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify.class, emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify.Builder.class);
}
public static final int CUR_LEVEL_FIELD_NUMBER = 10;
private int curLevel_;
/**
* Protobuf enum {@code AvatarSkillChangeNotify.MHMGKMKHGCN}
* <code>uint32 cur_level = 10;</code>
* @return The curLevel.
*/
public enum MHMGKMKHGCN
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NONE = 0;</code>
*/
NONE(0, 0),
/**
* <code>PEPPOHPHJOJ = 1016;</code>
*/
PEPPOHPHJOJ(1, 1016),
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
NNBKOLMPOEA(3, 1),
UNRECOGNIZED(-1, -1),
;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final MHMGKMKHGCN DCDNILFDFLB = NONE;
/**
* <code>NONE = 0;</code>
*/
public static final int NONE_VALUE = 0;
/**
* <code>PEPPOHPHJOJ = 1016;</code>
*/
public static final int PEPPOHPHJOJ_VALUE = 1016;
/**
* <code>DCDNILFDFLB = 0;</code>
*/
public static final int DCDNILFDFLB_VALUE = 0;
/**
* <code>NNBKOLMPOEA = 1;</code>
*/
public static final int NNBKOLMPOEA_VALUE = 1;
public final int getNumber() {
if (index == -1) {
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 MHMGKMKHGCN 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 MHMGKMKHGCN forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1016: return PEPPOHPHJOJ;
case 1: return NNBKOLMPOEA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<MHMGKMKHGCN>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
MHMGKMKHGCN> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<MHMGKMKHGCN>() {
public MHMGKMKHGCN findValueByNumber(int number) {
return MHMGKMKHGCN.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (index == -1) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify.getDescriptor().getEnumTypes().get(0);
}
private static final MHMGKMKHGCN[] VALUES = getStaticValuesArray();
private static MHMGKMKHGCN[] getStaticValuesArray() {
return new MHMGKMKHGCN[] {
NONE, PEPPOHPHJOJ, DCDNILFDFLB, NNBKOLMPOEA,
};
}
public static MHMGKMKHGCN 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 index;
private final int value;
private MHMGKMKHGCN(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:AvatarSkillChangeNotify.MHMGKMKHGCN)
@java.lang.Override
public int getCurLevel() {
return curLevel_;
}
public static final int AVATARGUID_FIELD_NUMBER = 4;
public static final int AVATAR_GUID_FIELD_NUMBER = 9;
private long avatarGuid_;
/**
* <code>uint64 avatarGuid = 4;</code>
* <code>uint64 avatar_guid = 9;</code>
* @return The avatarGuid.
*/
@java.lang.Override
@@ -303,10 +188,10 @@ public final class AvatarSkillChangeNotifyOuterClass {
return avatarGuid_;
}
public static final int ENTITYID_FIELD_NUMBER = 12;
public static final int ENTITY_ID_FIELD_NUMBER = 8;
private int entityId_;
/**
* <code>uint32 entityId = 12;</code>
* <code>uint32 entity_id = 8;</code>
* @return The entityId.
*/
@java.lang.Override
@@ -314,32 +199,10 @@ public final class AvatarSkillChangeNotifyOuterClass {
return entityId_;
}
public static final int AVATARSKILLID_FIELD_NUMBER = 1;
private int avatarSkillId_;
/**
* <code>uint32 avatarSkillId = 1;</code>
* @return The avatarSkillId.
*/
@java.lang.Override
public int getAvatarSkillId() {
return avatarSkillId_;
}
public static final int SKILLDEPOTID_FIELD_NUMBER = 5;
private int skillDepotId_;
/**
* <code>uint32 skillDepotId = 5;</code>
* @return The skillDepotId.
*/
@java.lang.Override
public int getSkillDepotId() {
return skillDepotId_;
}
public static final int OLDLEVEL_FIELD_NUMBER = 6;
public static final int OLD_LEVEL_FIELD_NUMBER = 3;
private int oldLevel_;
/**
* <code>uint32 oldLevel = 6;</code>
* <code>uint32 old_level = 3;</code>
* @return The oldLevel.
*/
@java.lang.Override
@@ -347,15 +210,26 @@ public final class AvatarSkillChangeNotifyOuterClass {
return oldLevel_;
}
public static final int CURLEVEL_FIELD_NUMBER = 2;
private int curLevel_;
public static final int AVATAR_SKILL_ID_FIELD_NUMBER = 14;
private int avatarSkillId_;
/**
* <code>uint32 curLevel = 2;</code>
* @return The curLevel.
* <code>uint32 avatar_skill_id = 14;</code>
* @return The avatarSkillId.
*/
@java.lang.Override
public int getCurLevel() {
return curLevel_;
public int getAvatarSkillId() {
return avatarSkillId_;
}
public static final int SKILL_DEPOT_ID_FIELD_NUMBER = 4;
private int skillDepotId_;
/**
* <code>uint32 skill_depot_id = 4;</code>
* @return The skillDepotId.
*/
@java.lang.Override
public int getSkillDepotId() {
return skillDepotId_;
}
private byte memoizedIsInitialized = -1;
@@ -372,23 +246,23 @@ public final class AvatarSkillChangeNotifyOuterClass {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (avatarSkillId_ != 0) {
output.writeUInt32(1, avatarSkillId_);
}
if (curLevel_ != 0) {
output.writeUInt32(2, curLevel_);
}
if (avatarGuid_ != 0L) {
output.writeUInt64(4, avatarGuid_);
if (oldLevel_ != 0) {
output.writeUInt32(3, oldLevel_);
}
if (skillDepotId_ != 0) {
output.writeUInt32(5, skillDepotId_);
}
if (oldLevel_ != 0) {
output.writeUInt32(6, oldLevel_);
output.writeUInt32(4, skillDepotId_);
}
if (entityId_ != 0) {
output.writeUInt32(12, entityId_);
output.writeUInt32(8, entityId_);
}
if (avatarGuid_ != 0L) {
output.writeUInt64(9, avatarGuid_);
}
if (curLevel_ != 0) {
output.writeUInt32(10, curLevel_);
}
if (avatarSkillId_ != 0) {
output.writeUInt32(14, avatarSkillId_);
}
unknownFields.writeTo(output);
}
@@ -399,29 +273,29 @@ public final class AvatarSkillChangeNotifyOuterClass {
if (size != -1) return size;
size = 0;
if (avatarSkillId_ != 0) {
if (oldLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, avatarSkillId_);
}
if (curLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, curLevel_);
}
if (avatarGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, avatarGuid_);
.computeUInt32Size(3, oldLevel_);
}
if (skillDepotId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, skillDepotId_);
}
if (oldLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, oldLevel_);
.computeUInt32Size(4, skillDepotId_);
}
if (entityId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(12, entityId_);
.computeUInt32Size(8, entityId_);
}
if (avatarGuid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(9, avatarGuid_);
}
if (curLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, curLevel_);
}
if (avatarSkillId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(14, avatarSkillId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -438,18 +312,18 @@ public final class AvatarSkillChangeNotifyOuterClass {
}
emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify other = (emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify) obj;
if (getCurLevel()
!= other.getCurLevel()) return false;
if (getAvatarGuid()
!= other.getAvatarGuid()) return false;
if (getEntityId()
!= other.getEntityId()) return false;
if (getOldLevel()
!= other.getOldLevel()) return false;
if (getAvatarSkillId()
!= other.getAvatarSkillId()) return false;
if (getSkillDepotId()
!= other.getSkillDepotId()) return false;
if (getOldLevel()
!= other.getOldLevel()) return false;
if (getCurLevel()
!= other.getCurLevel()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -461,19 +335,19 @@ public final class AvatarSkillChangeNotifyOuterClass {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + AVATARGUID_FIELD_NUMBER;
hash = (37 * hash) + CUR_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getCurLevel();
hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAvatarGuid());
hash = (37 * hash) + ENTITYID_FIELD_NUMBER;
hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
hash = (53 * hash) + getEntityId();
hash = (37 * hash) + AVATARSKILLID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarSkillId();
hash = (37 * hash) + SKILLDEPOTID_FIELD_NUMBER;
hash = (53 * hash) + getSkillDepotId();
hash = (37 * hash) + OLDLEVEL_FIELD_NUMBER;
hash = (37 * hash) + OLD_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getOldLevel();
hash = (37 * hash) + CURLEVEL_FIELD_NUMBER;
hash = (53 * hash) + getCurLevel();
hash = (37 * hash) + AVATAR_SKILL_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarSkillId();
hash = (37 * hash) + SKILL_DEPOT_ID_FIELD_NUMBER;
hash = (53 * hash) + getSkillDepotId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -570,6 +444,11 @@ public final class AvatarSkillChangeNotifyOuterClass {
return builder;
}
/**
* <pre>
* Name: KLNBJHKJCIN
* CmdId: 1042
* </pre>
*
* Protobuf type {@code AvatarSkillChangeNotify}
*/
public static final class Builder extends
@@ -607,18 +486,18 @@ public final class AvatarSkillChangeNotifyOuterClass {
@java.lang.Override
public Builder clear() {
super.clear();
curLevel_ = 0;
avatarGuid_ = 0L;
entityId_ = 0;
oldLevel_ = 0;
avatarSkillId_ = 0;
skillDepotId_ = 0;
oldLevel_ = 0;
curLevel_ = 0;
return this;
}
@@ -645,12 +524,12 @@ public final class AvatarSkillChangeNotifyOuterClass {
@java.lang.Override
public emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify buildPartial() {
emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify result = new emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify(this);
result.curLevel_ = curLevel_;
result.avatarGuid_ = avatarGuid_;
result.entityId_ = entityId_;
result.oldLevel_ = oldLevel_;
result.avatarSkillId_ = avatarSkillId_;
result.skillDepotId_ = skillDepotId_;
result.oldLevel_ = oldLevel_;
result.curLevel_ = curLevel_;
onBuilt();
return result;
}
@@ -699,24 +578,24 @@ public final class AvatarSkillChangeNotifyOuterClass {
public Builder mergeFrom(emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify other) {
if (other == emu.grasscutter.net.proto.AvatarSkillChangeNotifyOuterClass.AvatarSkillChangeNotify.getDefaultInstance()) return this;
if (other.getCurLevel() != 0) {
setCurLevel(other.getCurLevel());
}
if (other.getAvatarGuid() != 0L) {
setAvatarGuid(other.getAvatarGuid());
}
if (other.getEntityId() != 0) {
setEntityId(other.getEntityId());
}
if (other.getOldLevel() != 0) {
setOldLevel(other.getOldLevel());
}
if (other.getAvatarSkillId() != 0) {
setAvatarSkillId(other.getAvatarSkillId());
}
if (other.getSkillDepotId() != 0) {
setSkillDepotId(other.getSkillDepotId());
}
if (other.getOldLevel() != 0) {
setOldLevel(other.getOldLevel());
}
if (other.getCurLevel() != 0) {
setCurLevel(other.getCurLevel());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -746,9 +625,40 @@ public final class AvatarSkillChangeNotifyOuterClass {
return this;
}
private int curLevel_ ;
/**
* <code>uint32 cur_level = 10;</code>
* @return The curLevel.
*/
@java.lang.Override
public int getCurLevel() {
return curLevel_;
}
/**
* <code>uint32 cur_level = 10;</code>
* @param value The curLevel to set.
* @return This builder for chaining.
*/
public Builder setCurLevel(int value) {
curLevel_ = value;
onChanged();
return this;
}
/**
* <code>uint32 cur_level = 10;</code>
* @return This builder for chaining.
*/
public Builder clearCurLevel() {
curLevel_ = 0;
onChanged();
return this;
}
private long avatarGuid_ ;
/**
* <code>uint64 avatarGuid = 4;</code>
* <code>uint64 avatar_guid = 9;</code>
* @return The avatarGuid.
*/
@java.lang.Override
@@ -756,7 +666,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return avatarGuid_;
}
/**
* <code>uint64 avatarGuid = 4;</code>
* <code>uint64 avatar_guid = 9;</code>
* @param value The avatarGuid to set.
* @return This builder for chaining.
*/
@@ -767,7 +677,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return this;
}
/**
* <code>uint64 avatarGuid = 4;</code>
* <code>uint64 avatar_guid = 9;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarGuid() {
@@ -779,7 +689,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
private int entityId_ ;
/**
* <code>uint32 entityId = 12;</code>
* <code>uint32 entity_id = 8;</code>
* @return The entityId.
*/
@java.lang.Override
@@ -787,7 +697,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return entityId_;
}
/**
* <code>uint32 entityId = 12;</code>
* <code>uint32 entity_id = 8;</code>
* @param value The entityId to set.
* @return This builder for chaining.
*/
@@ -798,7 +708,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return this;
}
/**
* <code>uint32 entityId = 12;</code>
* <code>uint32 entity_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearEntityId() {
@@ -808,9 +718,40 @@ public final class AvatarSkillChangeNotifyOuterClass {
return this;
}
private int oldLevel_ ;
/**
* <code>uint32 old_level = 3;</code>
* @return The oldLevel.
*/
@java.lang.Override
public int getOldLevel() {
return oldLevel_;
}
/**
* <code>uint32 old_level = 3;</code>
* @param value The oldLevel to set.
* @return This builder for chaining.
*/
public Builder setOldLevel(int value) {
oldLevel_ = value;
onChanged();
return this;
}
/**
* <code>uint32 old_level = 3;</code>
* @return This builder for chaining.
*/
public Builder clearOldLevel() {
oldLevel_ = 0;
onChanged();
return this;
}
private int avatarSkillId_ ;
/**
* <code>uint32 avatarSkillId = 1;</code>
* <code>uint32 avatar_skill_id = 14;</code>
* @return The avatarSkillId.
*/
@java.lang.Override
@@ -818,7 +759,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return avatarSkillId_;
}
/**
* <code>uint32 avatarSkillId = 1;</code>
* <code>uint32 avatar_skill_id = 14;</code>
* @param value The avatarSkillId to set.
* @return This builder for chaining.
*/
@@ -829,7 +770,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return this;
}
/**
* <code>uint32 avatarSkillId = 1;</code>
* <code>uint32 avatar_skill_id = 14;</code>
* @return This builder for chaining.
*/
public Builder clearAvatarSkillId() {
@@ -841,7 +782,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
private int skillDepotId_ ;
/**
* <code>uint32 skillDepotId = 5;</code>
* <code>uint32 skill_depot_id = 4;</code>
* @return The skillDepotId.
*/
@java.lang.Override
@@ -849,7 +790,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return skillDepotId_;
}
/**
* <code>uint32 skillDepotId = 5;</code>
* <code>uint32 skill_depot_id = 4;</code>
* @param value The skillDepotId to set.
* @return This builder for chaining.
*/
@@ -860,7 +801,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
return this;
}
/**
* <code>uint32 skillDepotId = 5;</code>
* <code>uint32 skill_depot_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearSkillDepotId() {
@@ -869,68 +810,6 @@ public final class AvatarSkillChangeNotifyOuterClass {
onChanged();
return this;
}
private int oldLevel_ ;
/**
* <code>uint32 oldLevel = 6;</code>
* @return The oldLevel.
*/
@java.lang.Override
public int getOldLevel() {
return oldLevel_;
}
/**
* <code>uint32 oldLevel = 6;</code>
* @param value The oldLevel to set.
* @return This builder for chaining.
*/
public Builder setOldLevel(int value) {
oldLevel_ = value;
onChanged();
return this;
}
/**
* <code>uint32 oldLevel = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOldLevel() {
oldLevel_ = 0;
onChanged();
return this;
}
private int curLevel_ ;
/**
* <code>uint32 curLevel = 2;</code>
* @return The curLevel.
*/
@java.lang.Override
public int getCurLevel() {
return curLevel_;
}
/**
* <code>uint32 curLevel = 2;</code>
* @param value The curLevel to set.
* @return This builder for chaining.
*/
public Builder setCurLevel(int value) {
curLevel_ = value;
onChanged();
return this;
}
/**
* <code>uint32 curLevel = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCurLevel() {
curLevel_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -998,14 +877,12 @@ public final class AvatarSkillChangeNotifyOuterClass {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\035AvatarSkillChangeNotify.proto\"\341\001\n\027Avat" +
"arSkillChangeNotify\022\022\n\navatarGuid\030\004 \001(\004\022" +
"\020\n\010entityId\030\014 \001(\r\022\025\n\ravatarSkillId\030\001 \001(\r" +
"\022\024\n\014skillDepotId\030\005 \001(\r\022\020\n\010oldLevel\030\006 \001(\r" +
"\022\020\n\010curLevel\030\002 \001(\r\"O\n\013MHMGKMKHGCN\022\010\n\004NON" +
"E\020\000\022\020\n\013PEPPOHPHJOJ\020\370\007\022\017\n\013DCDNILFDFLB\020\000\022\017" +
"\n\013NNBKOLMPOEA\020\001\032\002\020\001B\033\n\031emu.grasscutter.n" +
"et.protob\006proto3"
"\n\035AvatarSkillChangeNotify.proto\"\230\001\n\027Avat" +
"arSkillChangeNotify\022\021\n\tcur_level\030\n \001(\r\022\023" +
"\n\013avatar_guid\030\t \001(\004\022\021\n\tentity_id\030\010 \001(\r\022\021" +
"\n\told_level\030\003 \001(\r\022\027\n\017avatar_skill_id\030\016 \001" +
"(\r\022\026\n\016skill_depot_id\030\004 \001(\rB\033\n\031emu.grassc" +
"utter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -1016,7 +893,7 @@ public final class AvatarSkillChangeNotifyOuterClass {
internal_static_AvatarSkillChangeNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarSkillChangeNotify_descriptor,
new java.lang.String[] { "AvatarGuid", "EntityId", "AvatarSkillId", "SkillDepotId", "OldLevel", "CurLevel", });
new java.lang.String[] { "CurLevel", "AvatarGuid", "EntityId", "OldLevel", "AvatarSkillId", "SkillDepotId", });
}
// @@protoc_insertion_point(outer_class_scope)