mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-19 18:34:49 +01:00
4593 lines
167 KiB
Java
4593 lines
167 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AvatarInfo.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class AvatarInfoOuterClass {
|
|
private AvatarInfoOuterClass() {}
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistryLite registry) {
|
|
}
|
|
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
registerAllExtensions(
|
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|
}
|
|
public interface AvatarInfoOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:AvatarInfo)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 avatarId = 1;</code>
|
|
* @return The avatarId.
|
|
*/
|
|
int getAvatarId();
|
|
|
|
/**
|
|
* <code>uint64 guid = 2;</code>
|
|
* @return The guid.
|
|
*/
|
|
long getGuid();
|
|
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
int getPropMapCount();
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
boolean containsPropMap(
|
|
int key);
|
|
/**
|
|
* Use {@link #getPropMapMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
getPropMap();
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
getPropMapMap();
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
|
|
emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.PropValueOuterClass.PropValue defaultValue);
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
|
|
emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrThrow(
|
|
int key);
|
|
|
|
/**
|
|
* <code>uint32 lifeState = 4;</code>
|
|
* @return The lifeState.
|
|
*/
|
|
int getLifeState();
|
|
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @return A list containing the equipGuidList.
|
|
*/
|
|
java.util.List<java.lang.Long> getEquipGuidListList();
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @return The count of equipGuidList.
|
|
*/
|
|
int getEquipGuidListCount();
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The equipGuidList at the given index.
|
|
*/
|
|
long getEquipGuidList(int index);
|
|
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @return A list containing the talentIdList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getTalentIdListList();
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @return The count of talentIdList.
|
|
*/
|
|
int getTalentIdListCount();
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The talentIdList at the given index.
|
|
*/
|
|
int getTalentIdList(int index);
|
|
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
int getFightPropMapCount();
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
boolean containsFightPropMap(
|
|
int key);
|
|
/**
|
|
* Use {@link #getFightPropMapMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, java.lang.Float>
|
|
getFightPropMap();
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, java.lang.Float>
|
|
getFightPropMapMap();
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
|
|
float getFightPropMapOrDefault(
|
|
int key,
|
|
float defaultValue);
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
|
|
float getFightPropMapOrThrow(
|
|
int key);
|
|
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
* @return Whether the trialAvatarInfoField field is set.
|
|
*/
|
|
boolean hasTrialAvatarInfoField();
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
* @return The trialAvatarInfoField.
|
|
*/
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo getTrialAvatarInfoField();
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder getTrialAvatarInfoFieldOrBuilder();
|
|
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
int getSkillMapCount();
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
boolean containsSkillMap(
|
|
int key);
|
|
/**
|
|
* Use {@link #getSkillMapMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
getSkillMap();
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
getSkillMapMap();
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo defaultValue);
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrThrow(
|
|
int key);
|
|
|
|
/**
|
|
* <code>uint32 skillDepotId = 11;</code>
|
|
* @return The skillDepotId.
|
|
*/
|
|
int getSkillDepotId();
|
|
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
* @return Whether the fetterInfo field is set.
|
|
*/
|
|
boolean hasFetterInfo();
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
* @return The fetterInfo.
|
|
*/
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo getFetterInfo();
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder getFetterInfoOrBuilder();
|
|
|
|
/**
|
|
* <code>uint32 coreProudSkillLevel = 13;</code>
|
|
* @return The coreProudSkillLevel.
|
|
*/
|
|
int getCoreProudSkillLevel();
|
|
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @return A list containing the inherentProudSkillList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getInherentProudSkillListList();
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @return The count of inherentProudSkillList.
|
|
*/
|
|
int getInherentProudSkillListCount();
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The inherentProudSkillList at the given index.
|
|
*/
|
|
int getInherentProudSkillList(int index);
|
|
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
int getSkillLevelMapCount();
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
boolean containsSkillLevelMap(
|
|
int key);
|
|
/**
|
|
* Use {@link #getSkillLevelMapMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getSkillLevelMap();
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getSkillLevelMapMap();
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
|
|
int getSkillLevelMapOrDefault(
|
|
int key,
|
|
int defaultValue);
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
|
|
int getSkillLevelMapOrThrow(
|
|
int key);
|
|
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @return The enum numeric value on the wire for expeditionState.
|
|
*/
|
|
int getExpeditionStateValue();
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @return The expeditionState.
|
|
*/
|
|
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState getExpeditionState();
|
|
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
int getProudSkillExtraLevelCount();
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
boolean containsProudSkillExtraLevel(
|
|
int key);
|
|
/**
|
|
* Use {@link #getProudSkillExtraLevelMap()} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getProudSkillExtraLevel();
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getProudSkillExtraLevelMap();
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
|
|
int getProudSkillExtraLevelOrDefault(
|
|
int key,
|
|
int defaultValue);
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
|
|
int getProudSkillExtraLevelOrThrow(
|
|
int key);
|
|
|
|
/**
|
|
* <code>bool isFocusFieldNumber = 18;</code>
|
|
* @return The isFocusFieldNumber.
|
|
*/
|
|
boolean getIsFocusFieldNumber();
|
|
|
|
/**
|
|
* <code>uint32 avatarType = 19;</code>
|
|
* @return The avatarType.
|
|
*/
|
|
int getAvatarType();
|
|
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @return A list containing the teamResonanceList.
|
|
*/
|
|
java.util.List<java.lang.Integer> getTeamResonanceListList();
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @return The count of teamResonanceList.
|
|
*/
|
|
int getTeamResonanceListCount();
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The teamResonanceList at the given index.
|
|
*/
|
|
int getTeamResonanceList(int index);
|
|
|
|
/**
|
|
* <code>uint32 wearingFlycloakId = 21;</code>
|
|
* @return The wearingFlycloakId.
|
|
*/
|
|
int getWearingFlycloakId();
|
|
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
java.util.List<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo>
|
|
getEquipAffixListList();
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo getEquipAffixList(int index);
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
int getEquipAffixListCount();
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
java.util.List<? extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
|
|
getEquipAffixListOrBuilderList();
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder getEquipAffixListOrBuilder(
|
|
int index);
|
|
|
|
/**
|
|
* <code>uint32 bornTime = 23;</code>
|
|
* @return The bornTime.
|
|
*/
|
|
int getBornTime();
|
|
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @return A list containing the pendingPromoteRewardListFieldNumber.
|
|
*/
|
|
java.util.List<java.lang.Integer> getPendingPromoteRewardListFieldNumberList();
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @return The count of pendingPromoteRewardListFieldNumber.
|
|
*/
|
|
int getPendingPromoteRewardListFieldNumberCount();
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The pendingPromoteRewardListFieldNumber at the given index.
|
|
*/
|
|
int getPendingPromoteRewardListFieldNumber(int index);
|
|
|
|
/**
|
|
* <code>uint32 costumeId = 25;</code>
|
|
* @return The costumeId.
|
|
*/
|
|
int getCostumeId();
|
|
}
|
|
/**
|
|
* Protobuf type {@code AvatarInfo}
|
|
*/
|
|
public static final class AvatarInfo extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:AvatarInfo)
|
|
AvatarInfoOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use AvatarInfo.newBuilder() to construct.
|
|
private AvatarInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private AvatarInfo() {
|
|
equipGuidList_ = emptyLongList();
|
|
talentIdList_ = emptyIntList();
|
|
inherentProudSkillList_ = emptyIntList();
|
|
expeditionState_ = 0;
|
|
teamResonanceList_ = emptyIntList();
|
|
equipAffixList_ = java.util.Collections.emptyList();
|
|
pendingPromoteRewardListFieldNumber_ = emptyIntList();
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new AvatarInfo();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private AvatarInfo(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
int mutable_bitField0_ = 0;
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
try {
|
|
boolean done = false;
|
|
while (!done) {
|
|
int tag = input.readTag();
|
|
switch (tag) {
|
|
case 0:
|
|
done = true;
|
|
break;
|
|
case 8: {
|
|
|
|
avatarId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
|
|
guid_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 26: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
propMap_ = com.google.protobuf.MapField.newMapField(
|
|
PropMapDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
propMap__ = input.readMessage(
|
|
PropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
propMap_.getMutableMap().put(
|
|
propMap__.getKey(), propMap__.getValue());
|
|
break;
|
|
}
|
|
case 32: {
|
|
|
|
lifeState_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
equipGuidList_ = newLongList();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
equipGuidList_.addLong(input.readUInt64());
|
|
break;
|
|
}
|
|
case 42: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
|
|
equipGuidList_ = newLongList();
|
|
mutable_bitField0_ |= 0x00000002;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
equipGuidList_.addLong(input.readUInt64());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 48: {
|
|
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
|
|
talentIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000004;
|
|
}
|
|
talentIdList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 50: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
|
|
talentIdList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000004;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
talentIdList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 58: {
|
|
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
|
|
fightPropMap_ = com.google.protobuf.MapField.newMapField(
|
|
FightPropMapDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000008;
|
|
}
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Float>
|
|
fightPropMap__ = input.readMessage(
|
|
FightPropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
fightPropMap_.getMutableMap().put(
|
|
fightPropMap__.getKey(), fightPropMap__.getValue());
|
|
break;
|
|
}
|
|
case 74: {
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder subBuilder = null;
|
|
if (trialAvatarInfoField_ != null) {
|
|
subBuilder = trialAvatarInfoField_.toBuilder();
|
|
}
|
|
trialAvatarInfoField_ = input.readMessage(emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(trialAvatarInfoField_);
|
|
trialAvatarInfoField_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 82: {
|
|
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
|
|
skillMap_ = com.google.protobuf.MapField.newMapField(
|
|
SkillMapDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000010;
|
|
}
|
|
com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
skillMap__ = input.readMessage(
|
|
SkillMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
skillMap_.getMutableMap().put(
|
|
skillMap__.getKey(), skillMap__.getValue());
|
|
break;
|
|
}
|
|
case 88: {
|
|
|
|
skillDepotId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 98: {
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder subBuilder = null;
|
|
if (fetterInfo_ != null) {
|
|
subBuilder = fetterInfo_.toBuilder();
|
|
}
|
|
fetterInfo_ = input.readMessage(emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(fetterInfo_);
|
|
fetterInfo_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 104: {
|
|
|
|
coreProudSkillLevel_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
|
|
inherentProudSkillList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000020;
|
|
}
|
|
inherentProudSkillList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 114: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) {
|
|
inherentProudSkillList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000020;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
inherentProudSkillList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 122: {
|
|
if (!((mutable_bitField0_ & 0x00000040) != 0)) {
|
|
skillLevelMap_ = com.google.protobuf.MapField.newMapField(
|
|
SkillLevelMapDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000040;
|
|
}
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
skillLevelMap__ = input.readMessage(
|
|
SkillLevelMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
skillLevelMap_.getMutableMap().put(
|
|
skillLevelMap__.getKey(), skillLevelMap__.getValue());
|
|
break;
|
|
}
|
|
case 128: {
|
|
int rawValue = input.readEnum();
|
|
|
|
expeditionState_ = rawValue;
|
|
break;
|
|
}
|
|
case 138: {
|
|
if (!((mutable_bitField0_ & 0x00000080) != 0)) {
|
|
proudSkillExtraLevel_ = com.google.protobuf.MapField.newMapField(
|
|
ProudSkillExtraLevelDefaultEntryHolder.defaultEntry);
|
|
mutable_bitField0_ |= 0x00000080;
|
|
}
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
proudSkillExtraLevel__ = input.readMessage(
|
|
ProudSkillExtraLevelDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
proudSkillExtraLevel_.getMutableMap().put(
|
|
proudSkillExtraLevel__.getKey(), proudSkillExtraLevel__.getValue());
|
|
break;
|
|
}
|
|
case 144: {
|
|
|
|
isFocusFieldNumber_ = input.readBool();
|
|
break;
|
|
}
|
|
case 152: {
|
|
|
|
avatarType_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 160: {
|
|
if (!((mutable_bitField0_ & 0x00000100) != 0)) {
|
|
teamResonanceList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000100;
|
|
}
|
|
teamResonanceList_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 162: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000100) != 0) && input.getBytesUntilLimit() > 0) {
|
|
teamResonanceList_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000100;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
teamResonanceList_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 168: {
|
|
|
|
wearingFlycloakId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 178: {
|
|
if (!((mutable_bitField0_ & 0x00000200) != 0)) {
|
|
equipAffixList_ = new java.util.ArrayList<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo>();
|
|
mutable_bitField0_ |= 0x00000200;
|
|
}
|
|
equipAffixList_.add(
|
|
input.readMessage(emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.parser(), extensionRegistry));
|
|
break;
|
|
}
|
|
case 184: {
|
|
|
|
bornTime_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 192: {
|
|
if (!((mutable_bitField0_ & 0x00000400) != 0)) {
|
|
pendingPromoteRewardListFieldNumber_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000400;
|
|
}
|
|
pendingPromoteRewardListFieldNumber_.addInt(input.readUInt32());
|
|
break;
|
|
}
|
|
case 194: {
|
|
int length = input.readRawVarint32();
|
|
int limit = input.pushLimit(length);
|
|
if (!((mutable_bitField0_ & 0x00000400) != 0) && input.getBytesUntilLimit() > 0) {
|
|
pendingPromoteRewardListFieldNumber_ = newIntList();
|
|
mutable_bitField0_ |= 0x00000400;
|
|
}
|
|
while (input.getBytesUntilLimit() > 0) {
|
|
pendingPromoteRewardListFieldNumber_.addInt(input.readUInt32());
|
|
}
|
|
input.popLimit(limit);
|
|
break;
|
|
}
|
|
case 200: {
|
|
|
|
costumeId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
default: {
|
|
if (!parseUnknownField(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
if (((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
equipGuidList_.makeImmutable(); // C
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000004) != 0)) {
|
|
talentIdList_.makeImmutable(); // C
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000020) != 0)) {
|
|
inherentProudSkillList_.makeImmutable(); // C
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000100) != 0)) {
|
|
teamResonanceList_.makeImmutable(); // C
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000200) != 0)) {
|
|
equipAffixList_ = java.util.Collections.unmodifiableList(equipAffixList_);
|
|
}
|
|
if (((mutable_bitField0_ & 0x00000400) != 0)) {
|
|
pendingPromoteRewardListFieldNumber_.makeImmutable(); // C
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_descriptor;
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
@java.lang.Override
|
|
protected com.google.protobuf.MapField internalGetMapField(
|
|
int number) {
|
|
switch (number) {
|
|
case 3:
|
|
return internalGetPropMap();
|
|
case 7:
|
|
return internalGetFightPropMap();
|
|
case 10:
|
|
return internalGetSkillMap();
|
|
case 15:
|
|
return internalGetSkillLevelMap();
|
|
case 17:
|
|
return internalGetProudSkillExtraLevel();
|
|
default:
|
|
throw new RuntimeException(
|
|
"Invalid map field number: " + number);
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.class, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder.class);
|
|
}
|
|
|
|
public static final int AVATARID_FIELD_NUMBER = 1;
|
|
private int avatarId_;
|
|
/**
|
|
* <code>uint32 avatarId = 1;</code>
|
|
* @return The avatarId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getAvatarId() {
|
|
return avatarId_;
|
|
}
|
|
|
|
public static final int GUID_FIELD_NUMBER = 2;
|
|
private long guid_;
|
|
/**
|
|
* <code>uint64 guid = 2;</code>
|
|
* @return The guid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getGuid() {
|
|
return guid_;
|
|
}
|
|
|
|
public static final int PROPMAP_FIELD_NUMBER = 3;
|
|
private static final class PropMapDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>newDefaultInstance(
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_PropMapEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.MESSAGE,
|
|
emu.grasscutter.net.proto.PropValueOuterClass.PropValue.getDefaultInstance());
|
|
}
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> propMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
internalGetPropMap() {
|
|
if (propMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
PropMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return propMap_;
|
|
}
|
|
|
|
public int getPropMapCount() {
|
|
return internalGetPropMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsPropMap(
|
|
int key) {
|
|
|
|
return internalGetPropMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getPropMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> getPropMap() {
|
|
return getPropMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> getPropMapMap() {
|
|
return internalGetPropMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.PropValueOuterClass.PropValue defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> map =
|
|
internalGetPropMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> map =
|
|
internalGetPropMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int LIFESTATE_FIELD_NUMBER = 4;
|
|
private int lifeState_;
|
|
/**
|
|
* <code>uint32 lifeState = 4;</code>
|
|
* @return The lifeState.
|
|
*/
|
|
@java.lang.Override
|
|
public int getLifeState() {
|
|
return lifeState_;
|
|
}
|
|
|
|
public static final int EQUIPGUIDLIST_FIELD_NUMBER = 5;
|
|
private com.google.protobuf.Internal.LongList equipGuidList_;
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @return A list containing the equipGuidList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Long>
|
|
getEquipGuidListList() {
|
|
return equipGuidList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @return The count of equipGuidList.
|
|
*/
|
|
public int getEquipGuidListCount() {
|
|
return equipGuidList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The equipGuidList at the given index.
|
|
*/
|
|
public long getEquipGuidList(int index) {
|
|
return equipGuidList_.getLong(index);
|
|
}
|
|
private int equipGuidListMemoizedSerializedSize = -1;
|
|
|
|
public static final int TALENTIDLIST_FIELD_NUMBER = 6;
|
|
private com.google.protobuf.Internal.IntList talentIdList_;
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @return A list containing the talentIdList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getTalentIdListList() {
|
|
return talentIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @return The count of talentIdList.
|
|
*/
|
|
public int getTalentIdListCount() {
|
|
return talentIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The talentIdList at the given index.
|
|
*/
|
|
public int getTalentIdList(int index) {
|
|
return talentIdList_.getInt(index);
|
|
}
|
|
private int talentIdListMemoizedSerializedSize = -1;
|
|
|
|
public static final int FIGHTPROPMAP_FIELD_NUMBER = 7;
|
|
private static final class FightPropMapDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer, java.lang.Float> defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer, java.lang.Float>newDefaultInstance(
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_FightPropMapEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.FLOAT,
|
|
0F);
|
|
}
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Float> fightPropMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Float>
|
|
internalGetFightPropMap() {
|
|
if (fightPropMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
FightPropMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return fightPropMap_;
|
|
}
|
|
|
|
public int getFightPropMapCount() {
|
|
return internalGetFightPropMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsFightPropMap(
|
|
int key) {
|
|
|
|
return internalGetFightPropMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getFightPropMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Float> getFightPropMap() {
|
|
return getFightPropMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Float> getFightPropMapMap() {
|
|
return internalGetFightPropMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public float getFightPropMapOrDefault(
|
|
int key,
|
|
float defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Float> map =
|
|
internalGetFightPropMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public float getFightPropMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Float> map =
|
|
internalGetFightPropMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int TRIALAVATARINFOFIELD_FIELD_NUMBER = 9;
|
|
private emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo trialAvatarInfoField_;
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
* @return Whether the trialAvatarInfoField field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasTrialAvatarInfoField() {
|
|
return trialAvatarInfoField_ != null;
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
* @return The trialAvatarInfoField.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo getTrialAvatarInfoField() {
|
|
return trialAvatarInfoField_ == null ? emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.getDefaultInstance() : trialAvatarInfoField_;
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder getTrialAvatarInfoFieldOrBuilder() {
|
|
return getTrialAvatarInfoField();
|
|
}
|
|
|
|
public static final int SKILLMAP_FIELD_NUMBER = 10;
|
|
private static final class SkillMapDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>newDefaultInstance(
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_SkillMapEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.MESSAGE,
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo.getDefaultInstance());
|
|
}
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> skillMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
internalGetSkillMap() {
|
|
if (skillMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
SkillMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return skillMap_;
|
|
}
|
|
|
|
public int getSkillMapCount() {
|
|
return internalGetSkillMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsSkillMap(
|
|
int key) {
|
|
|
|
return internalGetSkillMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getSkillMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> getSkillMap() {
|
|
return getSkillMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> getSkillMapMap() {
|
|
return internalGetSkillMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> map =
|
|
internalGetSkillMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> map =
|
|
internalGetSkillMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int SKILLDEPOTID_FIELD_NUMBER = 11;
|
|
private int skillDepotId_;
|
|
/**
|
|
* <code>uint32 skillDepotId = 11;</code>
|
|
* @return The skillDepotId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSkillDepotId() {
|
|
return skillDepotId_;
|
|
}
|
|
|
|
public static final int FETTERINFO_FIELD_NUMBER = 12;
|
|
private emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo fetterInfo_;
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
* @return Whether the fetterInfo field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasFetterInfo() {
|
|
return fetterInfo_ != null;
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
* @return The fetterInfo.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo getFetterInfo() {
|
|
return fetterInfo_ == null ? emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.getDefaultInstance() : fetterInfo_;
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder getFetterInfoOrBuilder() {
|
|
return getFetterInfo();
|
|
}
|
|
|
|
public static final int COREPROUDSKILLLEVEL_FIELD_NUMBER = 13;
|
|
private int coreProudSkillLevel_;
|
|
/**
|
|
* <code>uint32 coreProudSkillLevel = 13;</code>
|
|
* @return The coreProudSkillLevel.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCoreProudSkillLevel() {
|
|
return coreProudSkillLevel_;
|
|
}
|
|
|
|
public static final int INHERENTPROUDSKILLLIST_FIELD_NUMBER = 14;
|
|
private com.google.protobuf.Internal.IntList inherentProudSkillList_;
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @return A list containing the inherentProudSkillList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getInherentProudSkillListList() {
|
|
return inherentProudSkillList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @return The count of inherentProudSkillList.
|
|
*/
|
|
public int getInherentProudSkillListCount() {
|
|
return inherentProudSkillList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The inherentProudSkillList at the given index.
|
|
*/
|
|
public int getInherentProudSkillList(int index) {
|
|
return inherentProudSkillList_.getInt(index);
|
|
}
|
|
private int inherentProudSkillListMemoizedSerializedSize = -1;
|
|
|
|
public static final int SKILLLEVELMAP_FIELD_NUMBER = 15;
|
|
private static final class SkillLevelMapDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer, java.lang.Integer> defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer, java.lang.Integer>newDefaultInstance(
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_SkillLevelMapEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0);
|
|
}
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> skillLevelMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetSkillLevelMap() {
|
|
if (skillLevelMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
SkillLevelMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return skillLevelMap_;
|
|
}
|
|
|
|
public int getSkillLevelMapCount() {
|
|
return internalGetSkillLevelMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsSkillLevelMap(
|
|
int key) {
|
|
|
|
return internalGetSkillLevelMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getSkillLevelMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMap() {
|
|
return getSkillLevelMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMapMap() {
|
|
return internalGetSkillLevelMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getSkillLevelMapOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetSkillLevelMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getSkillLevelMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetSkillLevelMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int EXPEDITIONSTATE_FIELD_NUMBER = 16;
|
|
private int expeditionState_;
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @return The enum numeric value on the wire for expeditionState.
|
|
*/
|
|
@java.lang.Override public int getExpeditionStateValue() {
|
|
return expeditionState_;
|
|
}
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @return The expeditionState.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState getExpeditionState() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState result = emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.valueOf(expeditionState_);
|
|
return result == null ? emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int PROUDSKILLEXTRALEVEL_FIELD_NUMBER = 17;
|
|
private static final class ProudSkillExtraLevelDefaultEntryHolder {
|
|
static final com.google.protobuf.MapEntry<
|
|
java.lang.Integer, java.lang.Integer> defaultEntry =
|
|
com.google.protobuf.MapEntry
|
|
.<java.lang.Integer, java.lang.Integer>newDefaultInstance(
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_ProudSkillExtraLevelEntry_descriptor,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0,
|
|
com.google.protobuf.WireFormat.FieldType.UINT32,
|
|
0);
|
|
}
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> proudSkillExtraLevel_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetProudSkillExtraLevel() {
|
|
if (proudSkillExtraLevel_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
ProudSkillExtraLevelDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return proudSkillExtraLevel_;
|
|
}
|
|
|
|
public int getProudSkillExtraLevelCount() {
|
|
return internalGetProudSkillExtraLevel().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsProudSkillExtraLevel(
|
|
int key) {
|
|
|
|
return internalGetProudSkillExtraLevel().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getProudSkillExtraLevelMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevel() {
|
|
return getProudSkillExtraLevelMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevelMap() {
|
|
return internalGetProudSkillExtraLevel().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getProudSkillExtraLevelOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetProudSkillExtraLevel().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getProudSkillExtraLevelOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetProudSkillExtraLevel().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public static final int ISFOCUSFIELDNUMBER_FIELD_NUMBER = 18;
|
|
private boolean isFocusFieldNumber_;
|
|
/**
|
|
* <code>bool isFocusFieldNumber = 18;</code>
|
|
* @return The isFocusFieldNumber.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsFocusFieldNumber() {
|
|
return isFocusFieldNumber_;
|
|
}
|
|
|
|
public static final int AVATARTYPE_FIELD_NUMBER = 19;
|
|
private int avatarType_;
|
|
/**
|
|
* <code>uint32 avatarType = 19;</code>
|
|
* @return The avatarType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getAvatarType() {
|
|
return avatarType_;
|
|
}
|
|
|
|
public static final int TEAMRESONANCELIST_FIELD_NUMBER = 20;
|
|
private com.google.protobuf.Internal.IntList teamResonanceList_;
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @return A list containing the teamResonanceList.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getTeamResonanceListList() {
|
|
return teamResonanceList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @return The count of teamResonanceList.
|
|
*/
|
|
public int getTeamResonanceListCount() {
|
|
return teamResonanceList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The teamResonanceList at the given index.
|
|
*/
|
|
public int getTeamResonanceList(int index) {
|
|
return teamResonanceList_.getInt(index);
|
|
}
|
|
private int teamResonanceListMemoizedSerializedSize = -1;
|
|
|
|
public static final int WEARINGFLYCLOAKID_FIELD_NUMBER = 21;
|
|
private int wearingFlycloakId_;
|
|
/**
|
|
* <code>uint32 wearingFlycloakId = 21;</code>
|
|
* @return The wearingFlycloakId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getWearingFlycloakId() {
|
|
return wearingFlycloakId_;
|
|
}
|
|
|
|
public static final int EQUIPAFFIXLIST_FIELD_NUMBER = 22;
|
|
private java.util.List<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo> equipAffixList_;
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo> getEquipAffixListList() {
|
|
return equipAffixList_;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<? extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
|
|
getEquipAffixListOrBuilderList() {
|
|
return equipAffixList_;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public int getEquipAffixListCount() {
|
|
return equipAffixList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo getEquipAffixList(int index) {
|
|
return equipAffixList_.get(index);
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder getEquipAffixListOrBuilder(
|
|
int index) {
|
|
return equipAffixList_.get(index);
|
|
}
|
|
|
|
public static final int BORNTIME_FIELD_NUMBER = 23;
|
|
private int bornTime_;
|
|
/**
|
|
* <code>uint32 bornTime = 23;</code>
|
|
* @return The bornTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getBornTime() {
|
|
return bornTime_;
|
|
}
|
|
|
|
public static final int PENDINGPROMOTEREWARDLISTFIELDNUMBER_FIELD_NUMBER = 24;
|
|
private com.google.protobuf.Internal.IntList pendingPromoteRewardListFieldNumber_;
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @return A list containing the pendingPromoteRewardListFieldNumber.
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<java.lang.Integer>
|
|
getPendingPromoteRewardListFieldNumberList() {
|
|
return pendingPromoteRewardListFieldNumber_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @return The count of pendingPromoteRewardListFieldNumber.
|
|
*/
|
|
public int getPendingPromoteRewardListFieldNumberCount() {
|
|
return pendingPromoteRewardListFieldNumber_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The pendingPromoteRewardListFieldNumber at the given index.
|
|
*/
|
|
public int getPendingPromoteRewardListFieldNumber(int index) {
|
|
return pendingPromoteRewardListFieldNumber_.getInt(index);
|
|
}
|
|
private int pendingPromoteRewardListFieldNumberMemoizedSerializedSize = -1;
|
|
|
|
public static final int COSTUMEID_FIELD_NUMBER = 25;
|
|
private int costumeId_;
|
|
/**
|
|
* <code>uint32 costumeId = 25;</code>
|
|
* @return The costumeId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCostumeId() {
|
|
return costumeId_;
|
|
}
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
getSerializedSize();
|
|
if (avatarId_ != 0) {
|
|
output.writeUInt32(1, avatarId_);
|
|
}
|
|
if (guid_ != 0L) {
|
|
output.writeUInt64(2, guid_);
|
|
}
|
|
com.google.protobuf.GeneratedMessageV3
|
|
.serializeIntegerMapTo(
|
|
output,
|
|
internalGetPropMap(),
|
|
PropMapDefaultEntryHolder.defaultEntry,
|
|
3);
|
|
if (lifeState_ != 0) {
|
|
output.writeUInt32(4, lifeState_);
|
|
}
|
|
if (getEquipGuidListList().size() > 0) {
|
|
output.writeUInt32NoTag(42);
|
|
output.writeUInt32NoTag(equipGuidListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < equipGuidList_.size(); i++) {
|
|
output.writeUInt64NoTag(equipGuidList_.getLong(i));
|
|
}
|
|
if (getTalentIdListList().size() > 0) {
|
|
output.writeUInt32NoTag(50);
|
|
output.writeUInt32NoTag(talentIdListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < talentIdList_.size(); i++) {
|
|
output.writeUInt32NoTag(talentIdList_.getInt(i));
|
|
}
|
|
com.google.protobuf.GeneratedMessageV3
|
|
.serializeIntegerMapTo(
|
|
output,
|
|
internalGetFightPropMap(),
|
|
FightPropMapDefaultEntryHolder.defaultEntry,
|
|
7);
|
|
if (trialAvatarInfoField_ != null) {
|
|
output.writeMessage(9, getTrialAvatarInfoField());
|
|
}
|
|
com.google.protobuf.GeneratedMessageV3
|
|
.serializeIntegerMapTo(
|
|
output,
|
|
internalGetSkillMap(),
|
|
SkillMapDefaultEntryHolder.defaultEntry,
|
|
10);
|
|
if (skillDepotId_ != 0) {
|
|
output.writeUInt32(11, skillDepotId_);
|
|
}
|
|
if (fetterInfo_ != null) {
|
|
output.writeMessage(12, getFetterInfo());
|
|
}
|
|
if (coreProudSkillLevel_ != 0) {
|
|
output.writeUInt32(13, coreProudSkillLevel_);
|
|
}
|
|
if (getInherentProudSkillListList().size() > 0) {
|
|
output.writeUInt32NoTag(114);
|
|
output.writeUInt32NoTag(inherentProudSkillListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < inherentProudSkillList_.size(); i++) {
|
|
output.writeUInt32NoTag(inherentProudSkillList_.getInt(i));
|
|
}
|
|
com.google.protobuf.GeneratedMessageV3
|
|
.serializeIntegerMapTo(
|
|
output,
|
|
internalGetSkillLevelMap(),
|
|
SkillLevelMapDefaultEntryHolder.defaultEntry,
|
|
15);
|
|
if (expeditionState_ != emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.AvatarExpeditionNone.getNumber()) {
|
|
output.writeEnum(16, expeditionState_);
|
|
}
|
|
com.google.protobuf.GeneratedMessageV3
|
|
.serializeIntegerMapTo(
|
|
output,
|
|
internalGetProudSkillExtraLevel(),
|
|
ProudSkillExtraLevelDefaultEntryHolder.defaultEntry,
|
|
17);
|
|
if (isFocusFieldNumber_ != false) {
|
|
output.writeBool(18, isFocusFieldNumber_);
|
|
}
|
|
if (avatarType_ != 0) {
|
|
output.writeUInt32(19, avatarType_);
|
|
}
|
|
if (getTeamResonanceListList().size() > 0) {
|
|
output.writeUInt32NoTag(162);
|
|
output.writeUInt32NoTag(teamResonanceListMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < teamResonanceList_.size(); i++) {
|
|
output.writeUInt32NoTag(teamResonanceList_.getInt(i));
|
|
}
|
|
if (wearingFlycloakId_ != 0) {
|
|
output.writeUInt32(21, wearingFlycloakId_);
|
|
}
|
|
for (int i = 0; i < equipAffixList_.size(); i++) {
|
|
output.writeMessage(22, equipAffixList_.get(i));
|
|
}
|
|
if (bornTime_ != 0) {
|
|
output.writeUInt32(23, bornTime_);
|
|
}
|
|
if (getPendingPromoteRewardListFieldNumberList().size() > 0) {
|
|
output.writeUInt32NoTag(194);
|
|
output.writeUInt32NoTag(pendingPromoteRewardListFieldNumberMemoizedSerializedSize);
|
|
}
|
|
for (int i = 0; i < pendingPromoteRewardListFieldNumber_.size(); i++) {
|
|
output.writeUInt32NoTag(pendingPromoteRewardListFieldNumber_.getInt(i));
|
|
}
|
|
if (costumeId_ != 0) {
|
|
output.writeUInt32(25, costumeId_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (avatarId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(1, avatarId_);
|
|
}
|
|
if (guid_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64Size(2, guid_);
|
|
}
|
|
for (java.util.Map.Entry<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> entry
|
|
: internalGetPropMap().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
propMap__ = PropMapDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(3, propMap__);
|
|
}
|
|
if (lifeState_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(4, lifeState_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < equipGuidList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64SizeNoTag(equipGuidList_.getLong(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getEquipGuidListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
equipGuidListMemoizedSerializedSize = dataSize;
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < talentIdList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(talentIdList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getTalentIdListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
talentIdListMemoizedSerializedSize = dataSize;
|
|
}
|
|
for (java.util.Map.Entry<java.lang.Integer, java.lang.Float> entry
|
|
: internalGetFightPropMap().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Float>
|
|
fightPropMap__ = FightPropMapDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(7, fightPropMap__);
|
|
}
|
|
if (trialAvatarInfoField_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(9, getTrialAvatarInfoField());
|
|
}
|
|
for (java.util.Map.Entry<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> entry
|
|
: internalGetSkillMap().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
skillMap__ = SkillMapDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(10, skillMap__);
|
|
}
|
|
if (skillDepotId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(11, skillDepotId_);
|
|
}
|
|
if (fetterInfo_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(12, getFetterInfo());
|
|
}
|
|
if (coreProudSkillLevel_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(13, coreProudSkillLevel_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < inherentProudSkillList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(inherentProudSkillList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getInherentProudSkillListList().isEmpty()) {
|
|
size += 1;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
inherentProudSkillListMemoizedSerializedSize = dataSize;
|
|
}
|
|
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
|
|
: internalGetSkillLevelMap().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
skillLevelMap__ = SkillLevelMapDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(15, skillLevelMap__);
|
|
}
|
|
if (expeditionState_ != emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.AvatarExpeditionNone.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(16, expeditionState_);
|
|
}
|
|
for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
|
|
: internalGetProudSkillExtraLevel().getMap().entrySet()) {
|
|
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
|
|
proudSkillExtraLevel__ = ProudSkillExtraLevelDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
.setKey(entry.getKey())
|
|
.setValue(entry.getValue())
|
|
.build();
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(17, proudSkillExtraLevel__);
|
|
}
|
|
if (isFocusFieldNumber_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(18, isFocusFieldNumber_);
|
|
}
|
|
if (avatarType_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(19, avatarType_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < teamResonanceList_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(teamResonanceList_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getTeamResonanceListList().isEmpty()) {
|
|
size += 2;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
teamResonanceListMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (wearingFlycloakId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(21, wearingFlycloakId_);
|
|
}
|
|
for (int i = 0; i < equipAffixList_.size(); i++) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(22, equipAffixList_.get(i));
|
|
}
|
|
if (bornTime_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(23, bornTime_);
|
|
}
|
|
{
|
|
int dataSize = 0;
|
|
for (int i = 0; i < pendingPromoteRewardListFieldNumber_.size(); i++) {
|
|
dataSize += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32SizeNoTag(pendingPromoteRewardListFieldNumber_.getInt(i));
|
|
}
|
|
size += dataSize;
|
|
if (!getPendingPromoteRewardListFieldNumberList().isEmpty()) {
|
|
size += 2;
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32SizeNoTag(dataSize);
|
|
}
|
|
pendingPromoteRewardListFieldNumberMemoizedSerializedSize = dataSize;
|
|
}
|
|
if (costumeId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(25, costumeId_);
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo other = (emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo) obj;
|
|
|
|
if (getAvatarId()
|
|
!= other.getAvatarId()) return false;
|
|
if (getGuid()
|
|
!= other.getGuid()) return false;
|
|
if (!internalGetPropMap().equals(
|
|
other.internalGetPropMap())) return false;
|
|
if (getLifeState()
|
|
!= other.getLifeState()) return false;
|
|
if (!getEquipGuidListList()
|
|
.equals(other.getEquipGuidListList())) return false;
|
|
if (!getTalentIdListList()
|
|
.equals(other.getTalentIdListList())) return false;
|
|
if (!internalGetFightPropMap().equals(
|
|
other.internalGetFightPropMap())) return false;
|
|
if (hasTrialAvatarInfoField() != other.hasTrialAvatarInfoField()) return false;
|
|
if (hasTrialAvatarInfoField()) {
|
|
if (!getTrialAvatarInfoField()
|
|
.equals(other.getTrialAvatarInfoField())) return false;
|
|
}
|
|
if (!internalGetSkillMap().equals(
|
|
other.internalGetSkillMap())) return false;
|
|
if (getSkillDepotId()
|
|
!= other.getSkillDepotId()) return false;
|
|
if (hasFetterInfo() != other.hasFetterInfo()) return false;
|
|
if (hasFetterInfo()) {
|
|
if (!getFetterInfo()
|
|
.equals(other.getFetterInfo())) return false;
|
|
}
|
|
if (getCoreProudSkillLevel()
|
|
!= other.getCoreProudSkillLevel()) return false;
|
|
if (!getInherentProudSkillListList()
|
|
.equals(other.getInherentProudSkillListList())) return false;
|
|
if (!internalGetSkillLevelMap().equals(
|
|
other.internalGetSkillLevelMap())) return false;
|
|
if (expeditionState_ != other.expeditionState_) return false;
|
|
if (!internalGetProudSkillExtraLevel().equals(
|
|
other.internalGetProudSkillExtraLevel())) return false;
|
|
if (getIsFocusFieldNumber()
|
|
!= other.getIsFocusFieldNumber()) return false;
|
|
if (getAvatarType()
|
|
!= other.getAvatarType()) return false;
|
|
if (!getTeamResonanceListList()
|
|
.equals(other.getTeamResonanceListList())) return false;
|
|
if (getWearingFlycloakId()
|
|
!= other.getWearingFlycloakId()) return false;
|
|
if (!getEquipAffixListList()
|
|
.equals(other.getEquipAffixListList())) return false;
|
|
if (getBornTime()
|
|
!= other.getBornTime()) return false;
|
|
if (!getPendingPromoteRewardListFieldNumberList()
|
|
.equals(other.getPendingPromoteRewardListFieldNumberList())) return false;
|
|
if (getCostumeId()
|
|
!= other.getCostumeId()) return false;
|
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
hash = (37 * hash) + AVATARID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAvatarId();
|
|
hash = (37 * hash) + GUID_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getGuid());
|
|
if (!internalGetPropMap().getMap().isEmpty()) {
|
|
hash = (37 * hash) + PROPMAP_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetPropMap().hashCode();
|
|
}
|
|
hash = (37 * hash) + LIFESTATE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getLifeState();
|
|
if (getEquipGuidListCount() > 0) {
|
|
hash = (37 * hash) + EQUIPGUIDLIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getEquipGuidListList().hashCode();
|
|
}
|
|
if (getTalentIdListCount() > 0) {
|
|
hash = (37 * hash) + TALENTIDLIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getTalentIdListList().hashCode();
|
|
}
|
|
if (!internalGetFightPropMap().getMap().isEmpty()) {
|
|
hash = (37 * hash) + FIGHTPROPMAP_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetFightPropMap().hashCode();
|
|
}
|
|
if (hasTrialAvatarInfoField()) {
|
|
hash = (37 * hash) + TRIALAVATARINFOFIELD_FIELD_NUMBER;
|
|
hash = (53 * hash) + getTrialAvatarInfoField().hashCode();
|
|
}
|
|
if (!internalGetSkillMap().getMap().isEmpty()) {
|
|
hash = (37 * hash) + SKILLMAP_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetSkillMap().hashCode();
|
|
}
|
|
hash = (37 * hash) + SKILLDEPOTID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSkillDepotId();
|
|
if (hasFetterInfo()) {
|
|
hash = (37 * hash) + FETTERINFO_FIELD_NUMBER;
|
|
hash = (53 * hash) + getFetterInfo().hashCode();
|
|
}
|
|
hash = (37 * hash) + COREPROUDSKILLLEVEL_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCoreProudSkillLevel();
|
|
if (getInherentProudSkillListCount() > 0) {
|
|
hash = (37 * hash) + INHERENTPROUDSKILLLIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getInherentProudSkillListList().hashCode();
|
|
}
|
|
if (!internalGetSkillLevelMap().getMap().isEmpty()) {
|
|
hash = (37 * hash) + SKILLLEVELMAP_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetSkillLevelMap().hashCode();
|
|
}
|
|
hash = (37 * hash) + EXPEDITIONSTATE_FIELD_NUMBER;
|
|
hash = (53 * hash) + expeditionState_;
|
|
if (!internalGetProudSkillExtraLevel().getMap().isEmpty()) {
|
|
hash = (37 * hash) + PROUDSKILLEXTRALEVEL_FIELD_NUMBER;
|
|
hash = (53 * hash) + internalGetProudSkillExtraLevel().hashCode();
|
|
}
|
|
hash = (37 * hash) + ISFOCUSFIELDNUMBER_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsFocusFieldNumber());
|
|
hash = (37 * hash) + AVATARTYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAvatarType();
|
|
if (getTeamResonanceListCount() > 0) {
|
|
hash = (37 * hash) + TEAMRESONANCELIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getTeamResonanceListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + WEARINGFLYCLOAKID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getWearingFlycloakId();
|
|
if (getEquipAffixListCount() > 0) {
|
|
hash = (37 * hash) + EQUIPAFFIXLIST_FIELD_NUMBER;
|
|
hash = (53 * hash) + getEquipAffixListList().hashCode();
|
|
}
|
|
hash = (37 * hash) + BORNTIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getBornTime();
|
|
if (getPendingPromoteRewardListFieldNumberCount() > 0) {
|
|
hash = (37 * hash) + PENDINGPROMOTEREWARDLISTFIELDNUMBER_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPendingPromoteRewardListFieldNumberList().hashCode();
|
|
}
|
|
hash = (37 * hash) + COSTUMEID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCostumeId();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
java.nio.ByteBuffer data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseDelimitedFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
}
|
|
public static Builder newBuilder(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* Protobuf type {@code AvatarInfo}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:AvatarInfo)
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_descriptor;
|
|
}
|
|
|
|
@SuppressWarnings({"rawtypes"})
|
|
protected com.google.protobuf.MapField internalGetMapField(
|
|
int number) {
|
|
switch (number) {
|
|
case 3:
|
|
return internalGetPropMap();
|
|
case 7:
|
|
return internalGetFightPropMap();
|
|
case 10:
|
|
return internalGetSkillMap();
|
|
case 15:
|
|
return internalGetSkillLevelMap();
|
|
case 17:
|
|
return internalGetProudSkillExtraLevel();
|
|
default:
|
|
throw new RuntimeException(
|
|
"Invalid map field number: " + number);
|
|
}
|
|
}
|
|
@SuppressWarnings({"rawtypes"})
|
|
protected com.google.protobuf.MapField internalGetMutableMapField(
|
|
int number) {
|
|
switch (number) {
|
|
case 3:
|
|
return internalGetMutablePropMap();
|
|
case 7:
|
|
return internalGetMutableFightPropMap();
|
|
case 10:
|
|
return internalGetMutableSkillMap();
|
|
case 15:
|
|
return internalGetMutableSkillLevelMap();
|
|
case 17:
|
|
return internalGetMutableProudSkillExtraLevel();
|
|
default:
|
|
throw new RuntimeException(
|
|
"Invalid map field number: " + number);
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.class, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
getEquipAffixListFieldBuilder();
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
avatarId_ = 0;
|
|
|
|
guid_ = 0L;
|
|
|
|
internalGetMutablePropMap().clear();
|
|
lifeState_ = 0;
|
|
|
|
equipGuidList_ = emptyLongList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
talentIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
internalGetMutableFightPropMap().clear();
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
trialAvatarInfoField_ = null;
|
|
} else {
|
|
trialAvatarInfoField_ = null;
|
|
trialAvatarInfoFieldBuilder_ = null;
|
|
}
|
|
internalGetMutableSkillMap().clear();
|
|
skillDepotId_ = 0;
|
|
|
|
if (fetterInfoBuilder_ == null) {
|
|
fetterInfo_ = null;
|
|
} else {
|
|
fetterInfo_ = null;
|
|
fetterInfoBuilder_ = null;
|
|
}
|
|
coreProudSkillLevel_ = 0;
|
|
|
|
inherentProudSkillList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000020);
|
|
internalGetMutableSkillLevelMap().clear();
|
|
expeditionState_ = 0;
|
|
|
|
internalGetMutableProudSkillExtraLevel().clear();
|
|
isFocusFieldNumber_ = false;
|
|
|
|
avatarType_ = 0;
|
|
|
|
teamResonanceList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000100);
|
|
wearingFlycloakId_ = 0;
|
|
|
|
if (equipAffixListBuilder_ == null) {
|
|
equipAffixList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000200);
|
|
} else {
|
|
equipAffixListBuilder_.clear();
|
|
}
|
|
bornTime_ = 0;
|
|
|
|
pendingPromoteRewardListFieldNumber_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000400);
|
|
costumeId_ = 0;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo build() {
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo buildPartial() {
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo result = new emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo(this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.avatarId_ = avatarId_;
|
|
result.guid_ = guid_;
|
|
result.propMap_ = internalGetPropMap();
|
|
result.propMap_.makeImmutable();
|
|
result.lifeState_ = lifeState_;
|
|
if (((bitField0_ & 0x00000002) != 0)) {
|
|
equipGuidList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
}
|
|
result.equipGuidList_ = equipGuidList_;
|
|
if (((bitField0_ & 0x00000004) != 0)) {
|
|
talentIdList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
}
|
|
result.talentIdList_ = talentIdList_;
|
|
result.fightPropMap_ = internalGetFightPropMap();
|
|
result.fightPropMap_.makeImmutable();
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
result.trialAvatarInfoField_ = trialAvatarInfoField_;
|
|
} else {
|
|
result.trialAvatarInfoField_ = trialAvatarInfoFieldBuilder_.build();
|
|
}
|
|
result.skillMap_ = internalGetSkillMap();
|
|
result.skillMap_.makeImmutable();
|
|
result.skillDepotId_ = skillDepotId_;
|
|
if (fetterInfoBuilder_ == null) {
|
|
result.fetterInfo_ = fetterInfo_;
|
|
} else {
|
|
result.fetterInfo_ = fetterInfoBuilder_.build();
|
|
}
|
|
result.coreProudSkillLevel_ = coreProudSkillLevel_;
|
|
if (((bitField0_ & 0x00000020) != 0)) {
|
|
inherentProudSkillList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000020);
|
|
}
|
|
result.inherentProudSkillList_ = inherentProudSkillList_;
|
|
result.skillLevelMap_ = internalGetSkillLevelMap();
|
|
result.skillLevelMap_.makeImmutable();
|
|
result.expeditionState_ = expeditionState_;
|
|
result.proudSkillExtraLevel_ = internalGetProudSkillExtraLevel();
|
|
result.proudSkillExtraLevel_.makeImmutable();
|
|
result.isFocusFieldNumber_ = isFocusFieldNumber_;
|
|
result.avatarType_ = avatarType_;
|
|
if (((bitField0_ & 0x00000100) != 0)) {
|
|
teamResonanceList_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000100);
|
|
}
|
|
result.teamResonanceList_ = teamResonanceList_;
|
|
result.wearingFlycloakId_ = wearingFlycloakId_;
|
|
if (equipAffixListBuilder_ == null) {
|
|
if (((bitField0_ & 0x00000200) != 0)) {
|
|
equipAffixList_ = java.util.Collections.unmodifiableList(equipAffixList_);
|
|
bitField0_ = (bitField0_ & ~0x00000200);
|
|
}
|
|
result.equipAffixList_ = equipAffixList_;
|
|
} else {
|
|
result.equipAffixList_ = equipAffixListBuilder_.build();
|
|
}
|
|
result.bornTime_ = bornTime_;
|
|
if (((bitField0_ & 0x00000400) != 0)) {
|
|
pendingPromoteRewardListFieldNumber_.makeImmutable();
|
|
bitField0_ = (bitField0_ & ~0x00000400);
|
|
}
|
|
result.pendingPromoteRewardListFieldNumber_ = pendingPromoteRewardListFieldNumber_;
|
|
result.costumeId_ = costumeId_;
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clone() {
|
|
return super.clone();
|
|
}
|
|
@java.lang.Override
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.setField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return super.clearField(field);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearOneof(
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return super.clearOneof(oneof);
|
|
}
|
|
@java.lang.Override
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index, java.lang.Object value) {
|
|
return super.setRepeatedField(field, index, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.addRepeatedField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other instanceof emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo) {
|
|
return mergeFrom((emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo other) {
|
|
if (other == emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance()) return this;
|
|
if (other.getAvatarId() != 0) {
|
|
setAvatarId(other.getAvatarId());
|
|
}
|
|
if (other.getGuid() != 0L) {
|
|
setGuid(other.getGuid());
|
|
}
|
|
internalGetMutablePropMap().mergeFrom(
|
|
other.internalGetPropMap());
|
|
if (other.getLifeState() != 0) {
|
|
setLifeState(other.getLifeState());
|
|
}
|
|
if (!other.equipGuidList_.isEmpty()) {
|
|
if (equipGuidList_.isEmpty()) {
|
|
equipGuidList_ = other.equipGuidList_;
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
} else {
|
|
ensureEquipGuidListIsMutable();
|
|
equipGuidList_.addAll(other.equipGuidList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (!other.talentIdList_.isEmpty()) {
|
|
if (talentIdList_.isEmpty()) {
|
|
talentIdList_ = other.talentIdList_;
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
} else {
|
|
ensureTalentIdListIsMutable();
|
|
talentIdList_.addAll(other.talentIdList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
internalGetMutableFightPropMap().mergeFrom(
|
|
other.internalGetFightPropMap());
|
|
if (other.hasTrialAvatarInfoField()) {
|
|
mergeTrialAvatarInfoField(other.getTrialAvatarInfoField());
|
|
}
|
|
internalGetMutableSkillMap().mergeFrom(
|
|
other.internalGetSkillMap());
|
|
if (other.getSkillDepotId() != 0) {
|
|
setSkillDepotId(other.getSkillDepotId());
|
|
}
|
|
if (other.hasFetterInfo()) {
|
|
mergeFetterInfo(other.getFetterInfo());
|
|
}
|
|
if (other.getCoreProudSkillLevel() != 0) {
|
|
setCoreProudSkillLevel(other.getCoreProudSkillLevel());
|
|
}
|
|
if (!other.inherentProudSkillList_.isEmpty()) {
|
|
if (inherentProudSkillList_.isEmpty()) {
|
|
inherentProudSkillList_ = other.inherentProudSkillList_;
|
|
bitField0_ = (bitField0_ & ~0x00000020);
|
|
} else {
|
|
ensureInherentProudSkillListIsMutable();
|
|
inherentProudSkillList_.addAll(other.inherentProudSkillList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
internalGetMutableSkillLevelMap().mergeFrom(
|
|
other.internalGetSkillLevelMap());
|
|
if (other.expeditionState_ != 0) {
|
|
setExpeditionStateValue(other.getExpeditionStateValue());
|
|
}
|
|
internalGetMutableProudSkillExtraLevel().mergeFrom(
|
|
other.internalGetProudSkillExtraLevel());
|
|
if (other.getIsFocusFieldNumber() != false) {
|
|
setIsFocusFieldNumber(other.getIsFocusFieldNumber());
|
|
}
|
|
if (other.getAvatarType() != 0) {
|
|
setAvatarType(other.getAvatarType());
|
|
}
|
|
if (!other.teamResonanceList_.isEmpty()) {
|
|
if (teamResonanceList_.isEmpty()) {
|
|
teamResonanceList_ = other.teamResonanceList_;
|
|
bitField0_ = (bitField0_ & ~0x00000100);
|
|
} else {
|
|
ensureTeamResonanceListIsMutable();
|
|
teamResonanceList_.addAll(other.teamResonanceList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (other.getWearingFlycloakId() != 0) {
|
|
setWearingFlycloakId(other.getWearingFlycloakId());
|
|
}
|
|
if (equipAffixListBuilder_ == null) {
|
|
if (!other.equipAffixList_.isEmpty()) {
|
|
if (equipAffixList_.isEmpty()) {
|
|
equipAffixList_ = other.equipAffixList_;
|
|
bitField0_ = (bitField0_ & ~0x00000200);
|
|
} else {
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.addAll(other.equipAffixList_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.equipAffixList_.isEmpty()) {
|
|
if (equipAffixListBuilder_.isEmpty()) {
|
|
equipAffixListBuilder_.dispose();
|
|
equipAffixListBuilder_ = null;
|
|
equipAffixList_ = other.equipAffixList_;
|
|
bitField0_ = (bitField0_ & ~0x00000200);
|
|
equipAffixListBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
|
getEquipAffixListFieldBuilder() : null;
|
|
} else {
|
|
equipAffixListBuilder_.addAllMessages(other.equipAffixList_);
|
|
}
|
|
}
|
|
}
|
|
if (other.getBornTime() != 0) {
|
|
setBornTime(other.getBornTime());
|
|
}
|
|
if (!other.pendingPromoteRewardListFieldNumber_.isEmpty()) {
|
|
if (pendingPromoteRewardListFieldNumber_.isEmpty()) {
|
|
pendingPromoteRewardListFieldNumber_ = other.pendingPromoteRewardListFieldNumber_;
|
|
bitField0_ = (bitField0_ & ~0x00000400);
|
|
} else {
|
|
ensurePendingPromoteRewardListFieldNumberIsMutable();
|
|
pendingPromoteRewardListFieldNumber_.addAll(other.pendingPromoteRewardListFieldNumber_);
|
|
}
|
|
onChanged();
|
|
}
|
|
if (other.getCostumeId() != 0) {
|
|
setCostumeId(other.getCostumeId());
|
|
}
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder mergeFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int bitField0_;
|
|
|
|
private int avatarId_ ;
|
|
/**
|
|
* <code>uint32 avatarId = 1;</code>
|
|
* @return The avatarId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getAvatarId() {
|
|
return avatarId_;
|
|
}
|
|
/**
|
|
* <code>uint32 avatarId = 1;</code>
|
|
* @param value The avatarId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAvatarId(int value) {
|
|
|
|
avatarId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 avatarId = 1;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAvatarId() {
|
|
|
|
avatarId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private long guid_ ;
|
|
/**
|
|
* <code>uint64 guid = 2;</code>
|
|
* @return The guid.
|
|
*/
|
|
@java.lang.Override
|
|
public long getGuid() {
|
|
return guid_;
|
|
}
|
|
/**
|
|
* <code>uint64 guid = 2;</code>
|
|
* @param value The guid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setGuid(long value) {
|
|
|
|
guid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 guid = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearGuid() {
|
|
|
|
guid_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> propMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
internalGetPropMap() {
|
|
if (propMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
PropMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return propMap_;
|
|
}
|
|
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
internalGetMutablePropMap() {
|
|
onChanged();;
|
|
if (propMap_ == null) {
|
|
propMap_ = com.google.protobuf.MapField.newMapField(
|
|
PropMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!propMap_.isMutable()) {
|
|
propMap_ = propMap_.copy();
|
|
}
|
|
return propMap_;
|
|
}
|
|
|
|
public int getPropMapCount() {
|
|
return internalGetPropMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsPropMap(
|
|
int key) {
|
|
|
|
return internalGetPropMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getPropMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> getPropMap() {
|
|
return getPropMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> getPropMapMap() {
|
|
return internalGetPropMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.PropValueOuterClass.PropValue defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> map =
|
|
internalGetPropMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> map =
|
|
internalGetPropMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearPropMap() {
|
|
internalGetMutablePropMap().getMutableMap()
|
|
.clear();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
|
|
public Builder removePropMap(
|
|
int key) {
|
|
|
|
internalGetMutablePropMap().getMutableMap()
|
|
.remove(key);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue>
|
|
getMutablePropMap() {
|
|
return internalGetMutablePropMap().getMutableMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
public Builder putPropMap(
|
|
int key,
|
|
emu.grasscutter.net.proto.PropValueOuterClass.PropValue value) {
|
|
|
|
if (value == null) { throw new java.lang.NullPointerException(); }
|
|
internalGetMutablePropMap().getMutableMap()
|
|
.put(key, value);
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .PropValue> propMap = 3;</code>
|
|
*/
|
|
|
|
public Builder putAllPropMap(
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> values) {
|
|
internalGetMutablePropMap().getMutableMap()
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private int lifeState_ ;
|
|
/**
|
|
* <code>uint32 lifeState = 4;</code>
|
|
* @return The lifeState.
|
|
*/
|
|
@java.lang.Override
|
|
public int getLifeState() {
|
|
return lifeState_;
|
|
}
|
|
/**
|
|
* <code>uint32 lifeState = 4;</code>
|
|
* @param value The lifeState to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setLifeState(int value) {
|
|
|
|
lifeState_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 lifeState = 4;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearLifeState() {
|
|
|
|
lifeState_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.LongList equipGuidList_ = emptyLongList();
|
|
private void ensureEquipGuidListIsMutable() {
|
|
if (!((bitField0_ & 0x00000002) != 0)) {
|
|
equipGuidList_ = mutableCopy(equipGuidList_);
|
|
bitField0_ |= 0x00000002;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @return A list containing the equipGuidList.
|
|
*/
|
|
public java.util.List<java.lang.Long>
|
|
getEquipGuidListList() {
|
|
return ((bitField0_ & 0x00000002) != 0) ?
|
|
java.util.Collections.unmodifiableList(equipGuidList_) : equipGuidList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @return The count of equipGuidList.
|
|
*/
|
|
public int getEquipGuidListCount() {
|
|
return equipGuidList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The equipGuidList at the given index.
|
|
*/
|
|
public long getEquipGuidList(int index) {
|
|
return equipGuidList_.getLong(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The equipGuidList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setEquipGuidList(
|
|
int index, long value) {
|
|
ensureEquipGuidListIsMutable();
|
|
equipGuidList_.setLong(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @param value The equipGuidList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addEquipGuidList(long value) {
|
|
ensureEquipGuidListIsMutable();
|
|
equipGuidList_.addLong(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @param values The equipGuidList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllEquipGuidList(
|
|
java.lang.Iterable<? extends java.lang.Long> values) {
|
|
ensureEquipGuidListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, equipGuidList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint64 equipGuidList = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearEquipGuidList() {
|
|
equipGuidList_ = emptyLongList();
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList talentIdList_ = emptyIntList();
|
|
private void ensureTalentIdListIsMutable() {
|
|
if (!((bitField0_ & 0x00000004) != 0)) {
|
|
talentIdList_ = mutableCopy(talentIdList_);
|
|
bitField0_ |= 0x00000004;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @return A list containing the talentIdList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getTalentIdListList() {
|
|
return ((bitField0_ & 0x00000004) != 0) ?
|
|
java.util.Collections.unmodifiableList(talentIdList_) : talentIdList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @return The count of talentIdList.
|
|
*/
|
|
public int getTalentIdListCount() {
|
|
return talentIdList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The talentIdList at the given index.
|
|
*/
|
|
public int getTalentIdList(int index) {
|
|
return talentIdList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The talentIdList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setTalentIdList(
|
|
int index, int value) {
|
|
ensureTalentIdListIsMutable();
|
|
talentIdList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @param value The talentIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addTalentIdList(int value) {
|
|
ensureTalentIdListIsMutable();
|
|
talentIdList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @param values The talentIdList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllTalentIdList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureTalentIdListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, talentIdList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 talentIdList = 6;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearTalentIdList() {
|
|
talentIdList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000004);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Float> fightPropMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Float>
|
|
internalGetFightPropMap() {
|
|
if (fightPropMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
FightPropMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return fightPropMap_;
|
|
}
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Float>
|
|
internalGetMutableFightPropMap() {
|
|
onChanged();;
|
|
if (fightPropMap_ == null) {
|
|
fightPropMap_ = com.google.protobuf.MapField.newMapField(
|
|
FightPropMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!fightPropMap_.isMutable()) {
|
|
fightPropMap_ = fightPropMap_.copy();
|
|
}
|
|
return fightPropMap_;
|
|
}
|
|
|
|
public int getFightPropMapCount() {
|
|
return internalGetFightPropMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsFightPropMap(
|
|
int key) {
|
|
|
|
return internalGetFightPropMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getFightPropMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Float> getFightPropMap() {
|
|
return getFightPropMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Float> getFightPropMapMap() {
|
|
return internalGetFightPropMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public float getFightPropMapOrDefault(
|
|
int key,
|
|
float defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Float> map =
|
|
internalGetFightPropMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public float getFightPropMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Float> map =
|
|
internalGetFightPropMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearFightPropMap() {
|
|
internalGetMutableFightPropMap().getMutableMap()
|
|
.clear();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
|
|
public Builder removeFightPropMap(
|
|
int key) {
|
|
|
|
internalGetMutableFightPropMap().getMutableMap()
|
|
.remove(key);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Float>
|
|
getMutableFightPropMap() {
|
|
return internalGetMutableFightPropMap().getMutableMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
public Builder putFightPropMap(
|
|
int key,
|
|
float value) {
|
|
|
|
|
|
internalGetMutableFightPropMap().getMutableMap()
|
|
.put(key, value);
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, float> fightPropMap = 7;</code>
|
|
*/
|
|
|
|
public Builder putAllFightPropMap(
|
|
java.util.Map<java.lang.Integer, java.lang.Float> values) {
|
|
internalGetMutableFightPropMap().getMutableMap()
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo trialAvatarInfoField_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder> trialAvatarInfoFieldBuilder_;
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
* @return Whether the trialAvatarInfoField field is set.
|
|
*/
|
|
public boolean hasTrialAvatarInfoField() {
|
|
return trialAvatarInfoFieldBuilder_ != null || trialAvatarInfoField_ != null;
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
* @return The trialAvatarInfoField.
|
|
*/
|
|
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo getTrialAvatarInfoField() {
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
return trialAvatarInfoField_ == null ? emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.getDefaultInstance() : trialAvatarInfoField_;
|
|
} else {
|
|
return trialAvatarInfoFieldBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
public Builder setTrialAvatarInfoField(emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo value) {
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
trialAvatarInfoField_ = value;
|
|
onChanged();
|
|
} else {
|
|
trialAvatarInfoFieldBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
public Builder setTrialAvatarInfoField(
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder builderForValue) {
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
trialAvatarInfoField_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
trialAvatarInfoFieldBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
public Builder mergeTrialAvatarInfoField(emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo value) {
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
if (trialAvatarInfoField_ != null) {
|
|
trialAvatarInfoField_ =
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.newBuilder(trialAvatarInfoField_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
trialAvatarInfoField_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
trialAvatarInfoFieldBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
public Builder clearTrialAvatarInfoField() {
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
trialAvatarInfoField_ = null;
|
|
onChanged();
|
|
} else {
|
|
trialAvatarInfoField_ = null;
|
|
trialAvatarInfoFieldBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder getTrialAvatarInfoFieldBuilder() {
|
|
|
|
onChanged();
|
|
return getTrialAvatarInfoFieldFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder getTrialAvatarInfoFieldOrBuilder() {
|
|
if (trialAvatarInfoFieldBuilder_ != null) {
|
|
return trialAvatarInfoFieldBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return trialAvatarInfoField_ == null ?
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.getDefaultInstance() : trialAvatarInfoField_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.TrialAvatarInfo trialAvatarInfoField = 9;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder>
|
|
getTrialAvatarInfoFieldFieldBuilder() {
|
|
if (trialAvatarInfoFieldBuilder_ == null) {
|
|
trialAvatarInfoFieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder>(
|
|
getTrialAvatarInfoField(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
trialAvatarInfoField_ = null;
|
|
}
|
|
return trialAvatarInfoFieldBuilder_;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> skillMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
internalGetSkillMap() {
|
|
if (skillMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
SkillMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return skillMap_;
|
|
}
|
|
private com.google.protobuf.MapField<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
internalGetMutableSkillMap() {
|
|
onChanged();;
|
|
if (skillMap_ == null) {
|
|
skillMap_ = com.google.protobuf.MapField.newMapField(
|
|
SkillMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!skillMap_.isMutable()) {
|
|
skillMap_ = skillMap_.copy();
|
|
}
|
|
return skillMap_;
|
|
}
|
|
|
|
public int getSkillMapCount() {
|
|
return internalGetSkillMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsSkillMap(
|
|
int key) {
|
|
|
|
return internalGetSkillMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getSkillMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> getSkillMap() {
|
|
return getSkillMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> getSkillMapMap() {
|
|
return internalGetSkillMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrDefault(
|
|
int key,
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> map =
|
|
internalGetSkillMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> map =
|
|
internalGetSkillMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearSkillMap() {
|
|
internalGetMutableSkillMap().getMutableMap()
|
|
.clear();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
|
|
public Builder removeSkillMap(
|
|
int key) {
|
|
|
|
internalGetMutableSkillMap().getMutableMap()
|
|
.remove(key);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo>
|
|
getMutableSkillMap() {
|
|
return internalGetMutableSkillMap().getMutableMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
public Builder putSkillMap(
|
|
int key,
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo value) {
|
|
|
|
if (value == null) { throw new java.lang.NullPointerException(); }
|
|
internalGetMutableSkillMap().getMutableMap()
|
|
.put(key, value);
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, .AvatarSkillInfo> skillMap = 10;</code>
|
|
*/
|
|
|
|
public Builder putAllSkillMap(
|
|
java.util.Map<java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> values) {
|
|
internalGetMutableSkillMap().getMutableMap()
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private int skillDepotId_ ;
|
|
/**
|
|
* <code>uint32 skillDepotId = 11;</code>
|
|
* @return The skillDepotId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSkillDepotId() {
|
|
return skillDepotId_;
|
|
}
|
|
/**
|
|
* <code>uint32 skillDepotId = 11;</code>
|
|
* @param value The skillDepotId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSkillDepotId(int value) {
|
|
|
|
skillDepotId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 skillDepotId = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSkillDepotId() {
|
|
|
|
skillDepotId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo fetterInfo_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder> fetterInfoBuilder_;
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
* @return Whether the fetterInfo field is set.
|
|
*/
|
|
public boolean hasFetterInfo() {
|
|
return fetterInfoBuilder_ != null || fetterInfo_ != null;
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
* @return The fetterInfo.
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo getFetterInfo() {
|
|
if (fetterInfoBuilder_ == null) {
|
|
return fetterInfo_ == null ? emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.getDefaultInstance() : fetterInfo_;
|
|
} else {
|
|
return fetterInfoBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
public Builder setFetterInfo(emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo value) {
|
|
if (fetterInfoBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
fetterInfo_ = value;
|
|
onChanged();
|
|
} else {
|
|
fetterInfoBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
public Builder setFetterInfo(
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder builderForValue) {
|
|
if (fetterInfoBuilder_ == null) {
|
|
fetterInfo_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
fetterInfoBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
public Builder mergeFetterInfo(emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo value) {
|
|
if (fetterInfoBuilder_ == null) {
|
|
if (fetterInfo_ != null) {
|
|
fetterInfo_ =
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.newBuilder(fetterInfo_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
fetterInfo_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
fetterInfoBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
public Builder clearFetterInfo() {
|
|
if (fetterInfoBuilder_ == null) {
|
|
fetterInfo_ = null;
|
|
onChanged();
|
|
} else {
|
|
fetterInfo_ = null;
|
|
fetterInfoBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder getFetterInfoBuilder() {
|
|
|
|
onChanged();
|
|
return getFetterInfoFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder getFetterInfoOrBuilder() {
|
|
if (fetterInfoBuilder_ != null) {
|
|
return fetterInfoBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return fetterInfo_ == null ?
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.getDefaultInstance() : fetterInfo_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AvatarFetterInfo fetterInfo = 12;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder>
|
|
getFetterInfoFieldBuilder() {
|
|
if (fetterInfoBuilder_ == null) {
|
|
fetterInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder>(
|
|
getFetterInfo(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
fetterInfo_ = null;
|
|
}
|
|
return fetterInfoBuilder_;
|
|
}
|
|
|
|
private int coreProudSkillLevel_ ;
|
|
/**
|
|
* <code>uint32 coreProudSkillLevel = 13;</code>
|
|
* @return The coreProudSkillLevel.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCoreProudSkillLevel() {
|
|
return coreProudSkillLevel_;
|
|
}
|
|
/**
|
|
* <code>uint32 coreProudSkillLevel = 13;</code>
|
|
* @param value The coreProudSkillLevel to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCoreProudSkillLevel(int value) {
|
|
|
|
coreProudSkillLevel_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 coreProudSkillLevel = 13;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCoreProudSkillLevel() {
|
|
|
|
coreProudSkillLevel_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList inherentProudSkillList_ = emptyIntList();
|
|
private void ensureInherentProudSkillListIsMutable() {
|
|
if (!((bitField0_ & 0x00000020) != 0)) {
|
|
inherentProudSkillList_ = mutableCopy(inherentProudSkillList_);
|
|
bitField0_ |= 0x00000020;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @return A list containing the inherentProudSkillList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getInherentProudSkillListList() {
|
|
return ((bitField0_ & 0x00000020) != 0) ?
|
|
java.util.Collections.unmodifiableList(inherentProudSkillList_) : inherentProudSkillList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @return The count of inherentProudSkillList.
|
|
*/
|
|
public int getInherentProudSkillListCount() {
|
|
return inherentProudSkillList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The inherentProudSkillList at the given index.
|
|
*/
|
|
public int getInherentProudSkillList(int index) {
|
|
return inherentProudSkillList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The inherentProudSkillList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setInherentProudSkillList(
|
|
int index, int value) {
|
|
ensureInherentProudSkillListIsMutable();
|
|
inherentProudSkillList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @param value The inherentProudSkillList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addInherentProudSkillList(int value) {
|
|
ensureInherentProudSkillListIsMutable();
|
|
inherentProudSkillList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @param values The inherentProudSkillList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllInherentProudSkillList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureInherentProudSkillListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, inherentProudSkillList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 inherentProudSkillList = 14;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearInherentProudSkillList() {
|
|
inherentProudSkillList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000020);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> skillLevelMap_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetSkillLevelMap() {
|
|
if (skillLevelMap_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
SkillLevelMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return skillLevelMap_;
|
|
}
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetMutableSkillLevelMap() {
|
|
onChanged();;
|
|
if (skillLevelMap_ == null) {
|
|
skillLevelMap_ = com.google.protobuf.MapField.newMapField(
|
|
SkillLevelMapDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!skillLevelMap_.isMutable()) {
|
|
skillLevelMap_ = skillLevelMap_.copy();
|
|
}
|
|
return skillLevelMap_;
|
|
}
|
|
|
|
public int getSkillLevelMapCount() {
|
|
return internalGetSkillLevelMap().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsSkillLevelMap(
|
|
int key) {
|
|
|
|
return internalGetSkillLevelMap().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getSkillLevelMapMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMap() {
|
|
return getSkillLevelMapMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getSkillLevelMapMap() {
|
|
return internalGetSkillLevelMap().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getSkillLevelMapOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetSkillLevelMap().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getSkillLevelMapOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetSkillLevelMap().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearSkillLevelMap() {
|
|
internalGetMutableSkillLevelMap().getMutableMap()
|
|
.clear();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
|
|
public Builder removeSkillLevelMap(
|
|
int key) {
|
|
|
|
internalGetMutableSkillLevelMap().getMutableMap()
|
|
.remove(key);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getMutableSkillLevelMap() {
|
|
return internalGetMutableSkillLevelMap().getMutableMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
public Builder putSkillLevelMap(
|
|
int key,
|
|
int value) {
|
|
|
|
|
|
internalGetMutableSkillLevelMap().getMutableMap()
|
|
.put(key, value);
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> skillLevelMap = 15;</code>
|
|
*/
|
|
|
|
public Builder putAllSkillLevelMap(
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
|
|
internalGetMutableSkillLevelMap().getMutableMap()
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private int expeditionState_ = 0;
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @return The enum numeric value on the wire for expeditionState.
|
|
*/
|
|
@java.lang.Override public int getExpeditionStateValue() {
|
|
return expeditionState_;
|
|
}
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @param value The enum numeric value on the wire for expeditionState to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setExpeditionStateValue(int value) {
|
|
|
|
expeditionState_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @return The expeditionState.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState getExpeditionState() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState result = emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.valueOf(expeditionState_);
|
|
return result == null ? emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @param value The expeditionState to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setExpeditionState(emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
expeditionState_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AvatarExpeditionState expeditionState = 16;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearExpeditionState() {
|
|
|
|
expeditionState_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.MapField<
|
|
java.lang.Integer, java.lang.Integer> proudSkillExtraLevel_;
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetProudSkillExtraLevel() {
|
|
if (proudSkillExtraLevel_ == null) {
|
|
return com.google.protobuf.MapField.emptyMapField(
|
|
ProudSkillExtraLevelDefaultEntryHolder.defaultEntry);
|
|
}
|
|
return proudSkillExtraLevel_;
|
|
}
|
|
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
|
|
internalGetMutableProudSkillExtraLevel() {
|
|
onChanged();;
|
|
if (proudSkillExtraLevel_ == null) {
|
|
proudSkillExtraLevel_ = com.google.protobuf.MapField.newMapField(
|
|
ProudSkillExtraLevelDefaultEntryHolder.defaultEntry);
|
|
}
|
|
if (!proudSkillExtraLevel_.isMutable()) {
|
|
proudSkillExtraLevel_ = proudSkillExtraLevel_.copy();
|
|
}
|
|
return proudSkillExtraLevel_;
|
|
}
|
|
|
|
public int getProudSkillExtraLevelCount() {
|
|
return internalGetProudSkillExtraLevel().getMap().size();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
|
|
@java.lang.Override
|
|
public boolean containsProudSkillExtraLevel(
|
|
int key) {
|
|
|
|
return internalGetProudSkillExtraLevel().getMap().containsKey(key);
|
|
}
|
|
/**
|
|
* Use {@link #getProudSkillExtraLevelMap()} instead.
|
|
*/
|
|
@java.lang.Override
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevel() {
|
|
return getProudSkillExtraLevelMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer> getProudSkillExtraLevelMap() {
|
|
return internalGetProudSkillExtraLevel().getMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getProudSkillExtraLevelOrDefault(
|
|
int key,
|
|
int defaultValue) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetProudSkillExtraLevel().getMap();
|
|
return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
@java.lang.Override
|
|
|
|
public int getProudSkillExtraLevelOrThrow(
|
|
int key) {
|
|
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> map =
|
|
internalGetProudSkillExtraLevel().getMap();
|
|
if (!map.containsKey(key)) {
|
|
throw new java.lang.IllegalArgumentException();
|
|
}
|
|
return map.get(key);
|
|
}
|
|
|
|
public Builder clearProudSkillExtraLevel() {
|
|
internalGetMutableProudSkillExtraLevel().getMutableMap()
|
|
.clear();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
|
|
public Builder removeProudSkillExtraLevel(
|
|
int key) {
|
|
|
|
internalGetMutableProudSkillExtraLevel().getMutableMap()
|
|
.remove(key);
|
|
return this;
|
|
}
|
|
/**
|
|
* Use alternate mutation accessors instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public java.util.Map<java.lang.Integer, java.lang.Integer>
|
|
getMutableProudSkillExtraLevel() {
|
|
return internalGetMutableProudSkillExtraLevel().getMutableMap();
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
public Builder putProudSkillExtraLevel(
|
|
int key,
|
|
int value) {
|
|
|
|
|
|
internalGetMutableProudSkillExtraLevel().getMutableMap()
|
|
.put(key, value);
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>map<uint32, uint32> proudSkillExtraLevel = 17;</code>
|
|
*/
|
|
|
|
public Builder putAllProudSkillExtraLevel(
|
|
java.util.Map<java.lang.Integer, java.lang.Integer> values) {
|
|
internalGetMutableProudSkillExtraLevel().getMutableMap()
|
|
.putAll(values);
|
|
return this;
|
|
}
|
|
|
|
private boolean isFocusFieldNumber_ ;
|
|
/**
|
|
* <code>bool isFocusFieldNumber = 18;</code>
|
|
* @return The isFocusFieldNumber.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsFocusFieldNumber() {
|
|
return isFocusFieldNumber_;
|
|
}
|
|
/**
|
|
* <code>bool isFocusFieldNumber = 18;</code>
|
|
* @param value The isFocusFieldNumber to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsFocusFieldNumber(boolean value) {
|
|
|
|
isFocusFieldNumber_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool isFocusFieldNumber = 18;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsFocusFieldNumber() {
|
|
|
|
isFocusFieldNumber_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int avatarType_ ;
|
|
/**
|
|
* <code>uint32 avatarType = 19;</code>
|
|
* @return The avatarType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getAvatarType() {
|
|
return avatarType_;
|
|
}
|
|
/**
|
|
* <code>uint32 avatarType = 19;</code>
|
|
* @param value The avatarType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAvatarType(int value) {
|
|
|
|
avatarType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 avatarType = 19;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAvatarType() {
|
|
|
|
avatarType_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList teamResonanceList_ = emptyIntList();
|
|
private void ensureTeamResonanceListIsMutable() {
|
|
if (!((bitField0_ & 0x00000100) != 0)) {
|
|
teamResonanceList_ = mutableCopy(teamResonanceList_);
|
|
bitField0_ |= 0x00000100;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @return A list containing the teamResonanceList.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getTeamResonanceListList() {
|
|
return ((bitField0_ & 0x00000100) != 0) ?
|
|
java.util.Collections.unmodifiableList(teamResonanceList_) : teamResonanceList_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @return The count of teamResonanceList.
|
|
*/
|
|
public int getTeamResonanceListCount() {
|
|
return teamResonanceList_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The teamResonanceList at the given index.
|
|
*/
|
|
public int getTeamResonanceList(int index) {
|
|
return teamResonanceList_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The teamResonanceList to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setTeamResonanceList(
|
|
int index, int value) {
|
|
ensureTeamResonanceListIsMutable();
|
|
teamResonanceList_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @param value The teamResonanceList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addTeamResonanceList(int value) {
|
|
ensureTeamResonanceListIsMutable();
|
|
teamResonanceList_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @param values The teamResonanceList to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllTeamResonanceList(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensureTeamResonanceListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, teamResonanceList_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 teamResonanceList = 20;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearTeamResonanceList() {
|
|
teamResonanceList_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000100);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int wearingFlycloakId_ ;
|
|
/**
|
|
* <code>uint32 wearingFlycloakId = 21;</code>
|
|
* @return The wearingFlycloakId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getWearingFlycloakId() {
|
|
return wearingFlycloakId_;
|
|
}
|
|
/**
|
|
* <code>uint32 wearingFlycloakId = 21;</code>
|
|
* @param value The wearingFlycloakId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setWearingFlycloakId(int value) {
|
|
|
|
wearingFlycloakId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 wearingFlycloakId = 21;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearWearingFlycloakId() {
|
|
|
|
wearingFlycloakId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.util.List<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo> equipAffixList_ =
|
|
java.util.Collections.emptyList();
|
|
private void ensureEquipAffixListIsMutable() {
|
|
if (!((bitField0_ & 0x00000200) != 0)) {
|
|
equipAffixList_ = new java.util.ArrayList<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo>(equipAffixList_);
|
|
bitField0_ |= 0x00000200;
|
|
}
|
|
}
|
|
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder> equipAffixListBuilder_;
|
|
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo> getEquipAffixListList() {
|
|
if (equipAffixListBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(equipAffixList_);
|
|
} else {
|
|
return equipAffixListBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public int getEquipAffixListCount() {
|
|
if (equipAffixListBuilder_ == null) {
|
|
return equipAffixList_.size();
|
|
} else {
|
|
return equipAffixListBuilder_.getCount();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo getEquipAffixList(int index) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
return equipAffixList_.get(index);
|
|
} else {
|
|
return equipAffixListBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder setEquipAffixList(
|
|
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo value) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.set(index, value);
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.setMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder setEquipAffixList(
|
|
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder builderForValue) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.set(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.setMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder addEquipAffixList(emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo value) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.add(value);
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.addMessage(value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder addEquipAffixList(
|
|
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo value) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.add(index, value);
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.addMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder addEquipAffixList(
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder builderForValue) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.add(builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.addMessage(builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder addEquipAffixList(
|
|
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder builderForValue) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.add(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.addMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder addAllEquipAffixList(
|
|
java.lang.Iterable<? extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo> values) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
ensureEquipAffixListIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, equipAffixList_);
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.addAllMessages(values);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder clearEquipAffixList() {
|
|
if (equipAffixListBuilder_ == null) {
|
|
equipAffixList_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000200);
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public Builder removeEquipAffixList(int index) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
ensureEquipAffixListIsMutable();
|
|
equipAffixList_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
equipAffixListBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder getEquipAffixListBuilder(
|
|
int index) {
|
|
return getEquipAffixListFieldBuilder().getBuilder(index);
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder getEquipAffixListOrBuilder(
|
|
int index) {
|
|
if (equipAffixListBuilder_ == null) {
|
|
return equipAffixList_.get(index); } else {
|
|
return equipAffixListBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public java.util.List<? extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
|
|
getEquipAffixListOrBuilderList() {
|
|
if (equipAffixListBuilder_ != null) {
|
|
return equipAffixListBuilder_.getMessageOrBuilderList();
|
|
} else {
|
|
return java.util.Collections.unmodifiableList(equipAffixList_);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder addEquipAffixListBuilder() {
|
|
return getEquipAffixListFieldBuilder().addBuilder(
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.getDefaultInstance());
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder addEquipAffixListBuilder(
|
|
int index) {
|
|
return getEquipAffixListFieldBuilder().addBuilder(
|
|
index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.getDefaultInstance());
|
|
}
|
|
/**
|
|
* <code>repeated .AvatarEquipAffixInfo equipAffixList = 22;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder>
|
|
getEquipAffixListBuilderList() {
|
|
return getEquipAffixListFieldBuilder().getBuilderList();
|
|
}
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
|
|
getEquipAffixListFieldBuilder() {
|
|
if (equipAffixListBuilder_ == null) {
|
|
equipAffixListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>(
|
|
equipAffixList_,
|
|
((bitField0_ & 0x00000200) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
equipAffixList_ = null;
|
|
}
|
|
return equipAffixListBuilder_;
|
|
}
|
|
|
|
private int bornTime_ ;
|
|
/**
|
|
* <code>uint32 bornTime = 23;</code>
|
|
* @return The bornTime.
|
|
*/
|
|
@java.lang.Override
|
|
public int getBornTime() {
|
|
return bornTime_;
|
|
}
|
|
/**
|
|
* <code>uint32 bornTime = 23;</code>
|
|
* @param value The bornTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setBornTime(int value) {
|
|
|
|
bornTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 bornTime = 23;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearBornTime() {
|
|
|
|
bornTime_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.Internal.IntList pendingPromoteRewardListFieldNumber_ = emptyIntList();
|
|
private void ensurePendingPromoteRewardListFieldNumberIsMutable() {
|
|
if (!((bitField0_ & 0x00000400) != 0)) {
|
|
pendingPromoteRewardListFieldNumber_ = mutableCopy(pendingPromoteRewardListFieldNumber_);
|
|
bitField0_ |= 0x00000400;
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @return A list containing the pendingPromoteRewardListFieldNumber.
|
|
*/
|
|
public java.util.List<java.lang.Integer>
|
|
getPendingPromoteRewardListFieldNumberList() {
|
|
return ((bitField0_ & 0x00000400) != 0) ?
|
|
java.util.Collections.unmodifiableList(pendingPromoteRewardListFieldNumber_) : pendingPromoteRewardListFieldNumber_;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @return The count of pendingPromoteRewardListFieldNumber.
|
|
*/
|
|
public int getPendingPromoteRewardListFieldNumberCount() {
|
|
return pendingPromoteRewardListFieldNumber_.size();
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @param index The index of the element to return.
|
|
* @return The pendingPromoteRewardListFieldNumber at the given index.
|
|
*/
|
|
public int getPendingPromoteRewardListFieldNumber(int index) {
|
|
return pendingPromoteRewardListFieldNumber_.getInt(index);
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @param index The index to set the value at.
|
|
* @param value The pendingPromoteRewardListFieldNumber to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setPendingPromoteRewardListFieldNumber(
|
|
int index, int value) {
|
|
ensurePendingPromoteRewardListFieldNumberIsMutable();
|
|
pendingPromoteRewardListFieldNumber_.setInt(index, value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @param value The pendingPromoteRewardListFieldNumber to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addPendingPromoteRewardListFieldNumber(int value) {
|
|
ensurePendingPromoteRewardListFieldNumberIsMutable();
|
|
pendingPromoteRewardListFieldNumber_.addInt(value);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @param values The pendingPromoteRewardListFieldNumber to add.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder addAllPendingPromoteRewardListFieldNumber(
|
|
java.lang.Iterable<? extends java.lang.Integer> values) {
|
|
ensurePendingPromoteRewardListFieldNumberIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, pendingPromoteRewardListFieldNumber_);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated uint32 pendingPromoteRewardListFieldNumber = 24;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearPendingPromoteRewardListFieldNumber() {
|
|
pendingPromoteRewardListFieldNumber_ = emptyIntList();
|
|
bitField0_ = (bitField0_ & ~0x00000400);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int costumeId_ ;
|
|
/**
|
|
* <code>uint32 costumeId = 25;</code>
|
|
* @return The costumeId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getCostumeId() {
|
|
return costumeId_;
|
|
}
|
|
/**
|
|
* <code>uint32 costumeId = 25;</code>
|
|
* @param value The costumeId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setCostumeId(int value) {
|
|
|
|
costumeId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 costumeId = 25;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearCostumeId() {
|
|
|
|
costumeId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
@java.lang.Override
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFields(unknownFields);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:AvatarInfo)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:AvatarInfo)
|
|
private static final emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<AvatarInfo>
|
|
PARSER = new com.google.protobuf.AbstractParser<AvatarInfo>() {
|
|
@java.lang.Override
|
|
public AvatarInfo parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new AvatarInfo(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<AvatarInfo> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<AvatarInfo> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AvatarInfo_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AvatarInfo_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AvatarInfo_PropMapEntry_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AvatarInfo_PropMapEntry_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AvatarInfo_FightPropMapEntry_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AvatarInfo_FightPropMapEntry_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AvatarInfo_SkillMapEntry_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AvatarInfo_SkillMapEntry_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AvatarInfo_SkillLevelMapEntry_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AvatarInfo_SkillLevelMapEntry_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AvatarInfo_ProudSkillExtraLevelEntry_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AvatarInfo_ProudSkillExtraLevelEntry_fieldAccessorTable;
|
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
getDescriptor() {
|
|
return descriptor;
|
|
}
|
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
descriptor;
|
|
static {
|
|
java.lang.String[] descriptorData = {
|
|
"\n\020AvatarInfo.proto\032\032AvatarEquipAffixInfo" +
|
|
".proto\032\033AvatarExpeditionState.proto\032\026Ava" +
|
|
"tarFetterInfo.proto\032\025AvatarSkillInfo.pro" +
|
|
"to\032\017PropValue.proto\032\025TrialAvatarInfo.pro" +
|
|
"to\"\336\010\n\nAvatarInfo\022\020\n\010avatarId\030\001 \001(\r\022\014\n\004g" +
|
|
"uid\030\002 \001(\004\022)\n\007propMap\030\003 \003(\0132\030.AvatarInfo." +
|
|
"PropMapEntry\022\021\n\tlifeState\030\004 \001(\r\022\025\n\requip" +
|
|
"GuidList\030\005 \003(\004\022\024\n\014talentIdList\030\006 \003(\r\0223\n\014" +
|
|
"fightPropMap\030\007 \003(\0132\035.AvatarInfo.FightPro" +
|
|
"pMapEntry\022.\n\024trialAvatarInfoField\030\t \001(\0132" +
|
|
"\020.TrialAvatarInfo\022+\n\010skillMap\030\n \003(\0132\031.Av" +
|
|
"atarInfo.SkillMapEntry\022\024\n\014skillDepotId\030\013" +
|
|
" \001(\r\022%\n\nfetterInfo\030\014 \001(\0132\021.AvatarFetterI" +
|
|
"nfo\022\033\n\023coreProudSkillLevel\030\r \001(\r\022\036\n\026inhe" +
|
|
"rentProudSkillList\030\016 \003(\r\0225\n\rskillLevelMa" +
|
|
"p\030\017 \003(\0132\036.AvatarInfo.SkillLevelMapEntry\022" +
|
|
"/\n\017expeditionState\030\020 \001(\0162\026.AvatarExpedit" +
|
|
"ionState\022C\n\024proudSkillExtraLevel\030\021 \003(\0132%" +
|
|
".AvatarInfo.ProudSkillExtraLevelEntry\022\032\n" +
|
|
"\022isFocusFieldNumber\030\022 \001(\010\022\022\n\navatarType\030" +
|
|
"\023 \001(\r\022\031\n\021teamResonanceList\030\024 \003(\r\022\031\n\021wear" +
|
|
"ingFlycloakId\030\025 \001(\r\022-\n\016equipAffixList\030\026 " +
|
|
"\003(\0132\025.AvatarEquipAffixInfo\022\020\n\010bornTime\030\027" +
|
|
" \001(\r\022+\n#pendingPromoteRewardListFieldNum" +
|
|
"ber\030\030 \003(\r\022\021\n\tcostumeId\030\031 \001(\r\032:\n\014PropMapE" +
|
|
"ntry\022\013\n\003key\030\001 \001(\r\022\031\n\005value\030\002 \001(\0132\n.PropV" +
|
|
"alue:\0028\001\0323\n\021FightPropMapEntry\022\013\n\003key\030\001 \001" +
|
|
"(\r\022\r\n\005value\030\002 \001(\002:\0028\001\032A\n\rSkillMapEntry\022\013" +
|
|
"\n\003key\030\001 \001(\r\022\037\n\005value\030\002 \001(\0132\020.AvatarSkill" +
|
|
"Info:\0028\001\0324\n\022SkillLevelMapEntry\022\013\n\003key\030\001 " +
|
|
"\001(\r\022\r\n\005value\030\002 \001(\r:\0028\001\032;\n\031ProudSkillExtr" +
|
|
"aLevelEntry\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(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.PropValueOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_AvatarInfo_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_AvatarInfo_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AvatarInfo_descriptor,
|
|
new java.lang.String[] { "AvatarId", "Guid", "PropMap", "LifeState", "EquipGuidList", "TalentIdList", "FightPropMap", "TrialAvatarInfoField", "SkillMap", "SkillDepotId", "FetterInfo", "CoreProudSkillLevel", "InherentProudSkillList", "SkillLevelMap", "ExpeditionState", "ProudSkillExtraLevel", "IsFocusFieldNumber", "AvatarType", "TeamResonanceList", "WearingFlycloakId", "EquipAffixList", "BornTime", "PendingPromoteRewardListFieldNumber", "CostumeId", });
|
|
internal_static_AvatarInfo_PropMapEntry_descriptor =
|
|
internal_static_AvatarInfo_descriptor.getNestedTypes().get(0);
|
|
internal_static_AvatarInfo_PropMapEntry_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AvatarInfo_PropMapEntry_descriptor,
|
|
new java.lang.String[] { "Key", "Value", });
|
|
internal_static_AvatarInfo_FightPropMapEntry_descriptor =
|
|
internal_static_AvatarInfo_descriptor.getNestedTypes().get(1);
|
|
internal_static_AvatarInfo_FightPropMapEntry_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AvatarInfo_FightPropMapEntry_descriptor,
|
|
new java.lang.String[] { "Key", "Value", });
|
|
internal_static_AvatarInfo_SkillMapEntry_descriptor =
|
|
internal_static_AvatarInfo_descriptor.getNestedTypes().get(2);
|
|
internal_static_AvatarInfo_SkillMapEntry_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AvatarInfo_SkillMapEntry_descriptor,
|
|
new java.lang.String[] { "Key", "Value", });
|
|
internal_static_AvatarInfo_SkillLevelMapEntry_descriptor =
|
|
internal_static_AvatarInfo_descriptor.getNestedTypes().get(3);
|
|
internal_static_AvatarInfo_SkillLevelMapEntry_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AvatarInfo_SkillLevelMapEntry_descriptor,
|
|
new java.lang.String[] { "Key", "Value", });
|
|
internal_static_AvatarInfo_ProudSkillExtraLevelEntry_descriptor =
|
|
internal_static_AvatarInfo_descriptor.getNestedTypes().get(4);
|
|
internal_static_AvatarInfo_ProudSkillExtraLevelEntry_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AvatarInfo_ProudSkillExtraLevelEntry_descriptor,
|
|
new java.lang.String[] { "Key", "Value", });
|
|
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.PropValueOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|