跨服数据添加历史最高战力字段
parent
ffc6d76a84
commit
5469ead809
|
@ -52,6 +52,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
private static final org.apache.thrift.protocol.TField SKILL_FIELD_DESC = new org.apache.thrift.protocol.TField("skill", org.apache.thrift.protocol.TType.LIST, (short)12);
|
||||
private static final org.apache.thrift.protocol.TField FOUR_SPIRIT_FIELD_DESC = new org.apache.thrift.protocol.TField("fourSpirit", org.apache.thrift.protocol.TType.I32, (short)13);
|
||||
private static final org.apache.thrift.protocol.TField PRACTICE_SKILL_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("practiceSkillMap", org.apache.thrift.protocol.TType.MAP, (short)14);
|
||||
private static final org.apache.thrift.protocol.TField MAX_HISTORY_FORCE_FIELD_DESC = new org.apache.thrift.protocol.TField("maxHistoryForce", org.apache.thrift.protocol.TType.I64, (short)15);
|
||||
|
||||
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
|
||||
static {
|
||||
|
@ -73,6 +74,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
public List<Integer> skill; // optional
|
||||
public int fourSpirit; // optional
|
||||
public Map<Integer,Integer> practiceSkillMap; // optional
|
||||
public long maxHistoryForce; // optional
|
||||
|
||||
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
||||
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
||||
|
@ -89,7 +91,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
TREE_LEVEL((short)11, "treeLevel"),
|
||||
SKILL((short)12, "skill"),
|
||||
FOUR_SPIRIT((short)13, "fourSpirit"),
|
||||
PRACTICE_SKILL_MAP((short)14, "practiceSkillMap");
|
||||
PRACTICE_SKILL_MAP((short)14, "practiceSkillMap"),
|
||||
MAX_HISTORY_FORCE((short)15, "maxHistoryForce");
|
||||
|
||||
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
||||
|
||||
|
@ -132,6 +135,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return FOUR_SPIRIT;
|
||||
case 14: // PRACTICE_SKILL_MAP
|
||||
return PRACTICE_SKILL_MAP;
|
||||
case 15: // MAX_HISTORY_FORCE
|
||||
return MAX_HISTORY_FORCE;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
@ -176,8 +181,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
private static final int __YXLDFORCE_ISSET_ID = 1;
|
||||
private static final int __TREELEVEL_ISSET_ID = 2;
|
||||
private static final int __FOURSPIRIT_ISSET_ID = 3;
|
||||
private static final int __MAXHISTORYFORCE_ISSET_ID = 4;
|
||||
private byte __isset_bitfield = 0;
|
||||
private static final _Fields optionals[] = {_Fields.TEAMS,_Fields.HEROS,_Fields.JEWELS,_Fields.TOTAL_FORCE_BY_TEAM,_Fields.TOTAL_FORCE,_Fields.YXLD_FORCE,_Fields.POKEMONS,_Fields.SEALS,_Fields.GUILD_SKILL,_Fields.POKEMON_TEAM_MAP,_Fields.TREE_LEVEL,_Fields.SKILL,_Fields.FOUR_SPIRIT,_Fields.PRACTICE_SKILL_MAP};
|
||||
private static final _Fields optionals[] = {_Fields.TEAMS,_Fields.HEROS,_Fields.JEWELS,_Fields.TOTAL_FORCE_BY_TEAM,_Fields.TOTAL_FORCE,_Fields.YXLD_FORCE,_Fields.POKEMONS,_Fields.SEALS,_Fields.GUILD_SKILL,_Fields.POKEMON_TEAM_MAP,_Fields.TREE_LEVEL,_Fields.SKILL,_Fields.FOUR_SPIRIT,_Fields.PRACTICE_SKILL_MAP,_Fields.MAX_HISTORY_FORCE};
|
||||
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
||||
static {
|
||||
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
||||
|
@ -229,6 +235,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32),
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))));
|
||||
tmpMap.put(_Fields.MAX_HISTORY_FORCE, new org.apache.thrift.meta_data.FieldMetaData("maxHistoryForce", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
||||
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
||||
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CrossArenaManager.class, metaDataMap);
|
||||
}
|
||||
|
@ -343,6 +351,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
Map<Integer,Integer> __this__practiceSkillMap = new HashMap<Integer,Integer>(other.practiceSkillMap);
|
||||
this.practiceSkillMap = __this__practiceSkillMap;
|
||||
}
|
||||
this.maxHistoryForce = other.maxHistoryForce;
|
||||
}
|
||||
|
||||
public CrossArenaManager deepCopy() {
|
||||
|
@ -369,6 +378,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
setFourSpiritIsSet(false);
|
||||
this.fourSpirit = 0;
|
||||
this.practiceSkillMap = null;
|
||||
setMaxHistoryForceIsSet(false);
|
||||
this.maxHistoryForce = 0;
|
||||
}
|
||||
|
||||
public int getTeamsSize() {
|
||||
|
@ -817,6 +828,29 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
|
||||
public long getMaxHistoryForce() {
|
||||
return this.maxHistoryForce;
|
||||
}
|
||||
|
||||
public CrossArenaManager setMaxHistoryForce(long maxHistoryForce) {
|
||||
this.maxHistoryForce = maxHistoryForce;
|
||||
setMaxHistoryForceIsSet(true);
|
||||
return this;
|
||||
}
|
||||
|
||||
public void unsetMaxHistoryForce() {
|
||||
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAXHISTORYFORCE_ISSET_ID);
|
||||
}
|
||||
|
||||
/** Returns true if field maxHistoryForce is set (has been assigned a value) and false otherwise */
|
||||
public boolean isSetMaxHistoryForce() {
|
||||
return EncodingUtils.testBit(__isset_bitfield, __MAXHISTORYFORCE_ISSET_ID);
|
||||
}
|
||||
|
||||
public void setMaxHistoryForceIsSet(boolean value) {
|
||||
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXHISTORYFORCE_ISSET_ID, value);
|
||||
}
|
||||
|
||||
public void setFieldValue(_Fields field, Object value) {
|
||||
switch (field) {
|
||||
case TEAMS:
|
||||
|
@ -931,6 +965,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
break;
|
||||
|
||||
case MAX_HISTORY_FORCE:
|
||||
if (value == null) {
|
||||
unsetMaxHistoryForce();
|
||||
} else {
|
||||
setMaxHistoryForce((Long)value);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -978,6 +1020,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
case PRACTICE_SKILL_MAP:
|
||||
return getPracticeSkillMap();
|
||||
|
||||
case MAX_HISTORY_FORCE:
|
||||
return Long.valueOf(getMaxHistoryForce());
|
||||
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -1017,6 +1062,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return isSetFourSpirit();
|
||||
case PRACTICE_SKILL_MAP:
|
||||
return isSetPracticeSkillMap();
|
||||
case MAX_HISTORY_FORCE:
|
||||
return isSetMaxHistoryForce();
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -1160,6 +1207,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return false;
|
||||
}
|
||||
|
||||
boolean this_present_maxHistoryForce = true && this.isSetMaxHistoryForce();
|
||||
boolean that_present_maxHistoryForce = true && that.isSetMaxHistoryForce();
|
||||
if (this_present_maxHistoryForce || that_present_maxHistoryForce) {
|
||||
if (!(this_present_maxHistoryForce && that_present_maxHistoryForce))
|
||||
return false;
|
||||
if (this.maxHistoryForce != that.maxHistoryForce)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1237,6 +1293,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (present_practiceSkillMap)
|
||||
list.add(practiceSkillMap);
|
||||
|
||||
boolean present_maxHistoryForce = true && (isSetMaxHistoryForce());
|
||||
list.add(present_maxHistoryForce);
|
||||
if (present_maxHistoryForce)
|
||||
list.add(maxHistoryForce);
|
||||
|
||||
return list.hashCode();
|
||||
}
|
||||
|
||||
|
@ -1388,6 +1449,16 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = Boolean.valueOf(isSetMaxHistoryForce()).compareTo(other.isSetMaxHistoryForce());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
if (isSetMaxHistoryForce()) {
|
||||
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxHistoryForce, other.maxHistoryForce);
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1531,6 +1602,12 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
first = false;
|
||||
}
|
||||
if (isSetMaxHistoryForce()) {
|
||||
if (!first) sb.append(", ");
|
||||
sb.append("maxHistoryForce:");
|
||||
sb.append(this.maxHistoryForce);
|
||||
first = false;
|
||||
}
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
|
@ -1821,6 +1898,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
case 15: // MAX_HISTORY_FORCE
|
||||
if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
|
||||
struct.maxHistoryForce = iprot.readI64();
|
||||
struct.setMaxHistoryForceIsSet(true);
|
||||
} else {
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
|
@ -2012,6 +2097,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
oprot.writeFieldEnd();
|
||||
}
|
||||
}
|
||||
if (struct.isSetMaxHistoryForce()) {
|
||||
oprot.writeFieldBegin(MAX_HISTORY_FORCE_FIELD_DESC);
|
||||
oprot.writeI64(struct.maxHistoryForce);
|
||||
oprot.writeFieldEnd();
|
||||
}
|
||||
oprot.writeFieldStop();
|
||||
oprot.writeStructEnd();
|
||||
}
|
||||
|
@ -2072,7 +2162,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (struct.isSetPracticeSkillMap()) {
|
||||
optionals.set(13);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 14);
|
||||
if (struct.isSetMaxHistoryForce()) {
|
||||
optionals.set(14);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 15);
|
||||
if (struct.isSetTeams()) {
|
||||
{
|
||||
oprot.writeI32(struct.teams.size());
|
||||
|
@ -2190,12 +2283,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
}
|
||||
if (struct.isSetMaxHistoryForce()) {
|
||||
oprot.writeI64(struct.maxHistoryForce);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read(org.apache.thrift.protocol.TProtocol prot, CrossArenaManager struct) throws org.apache.thrift.TException {
|
||||
TTupleProtocol iprot = (TTupleProtocol) prot;
|
||||
BitSet incoming = iprot.readBitSet(14);
|
||||
BitSet incoming = iprot.readBitSet(15);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map170 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
|
||||
|
@ -2374,6 +2470,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
struct.setPracticeSkillMapIsSet(true);
|
||||
}
|
||||
if (incoming.get(14)) {
|
||||
struct.maxHistoryForce = iprot.readI64();
|
||||
struct.setMaxHistoryForceIsSet(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
private static final org.apache.thrift.protocol.TField SKILL_FIELD_DESC = new org.apache.thrift.protocol.TField("skill", org.apache.thrift.protocol.TType.LIST, (short)12);
|
||||
private static final org.apache.thrift.protocol.TField FOUR_SPIRIT_FIELD_DESC = new org.apache.thrift.protocol.TField("fourSpirit", org.apache.thrift.protocol.TType.I32, (short)13);
|
||||
private static final org.apache.thrift.protocol.TField PRACTICE_SKILL_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("practiceSkillMap", org.apache.thrift.protocol.TType.MAP, (short)14);
|
||||
private static final org.apache.thrift.protocol.TField MAX_HISTORY_FORCE_FIELD_DESC = new org.apache.thrift.protocol.TField("maxHistoryForce", org.apache.thrift.protocol.TType.I64, (short)15);
|
||||
|
||||
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
|
||||
static {
|
||||
|
@ -73,6 +74,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
public List<Integer> skill; // optional
|
||||
public int fourSpirit; // optional
|
||||
public Map<Integer,Integer> practiceSkillMap; // optional
|
||||
public long maxHistoryForce; // optional
|
||||
|
||||
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
||||
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
||||
|
@ -89,7 +91,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
TREE_LEVEL((short)11, "treeLevel"),
|
||||
SKILL((short)12, "skill"),
|
||||
FOUR_SPIRIT((short)13, "fourSpirit"),
|
||||
PRACTICE_SKILL_MAP((short)14, "practiceSkillMap");
|
||||
PRACTICE_SKILL_MAP((short)14, "practiceSkillMap"),
|
||||
MAX_HISTORY_FORCE((short)15, "maxHistoryForce");
|
||||
|
||||
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
||||
|
||||
|
@ -132,6 +135,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return FOUR_SPIRIT;
|
||||
case 14: // PRACTICE_SKILL_MAP
|
||||
return PRACTICE_SKILL_MAP;
|
||||
case 15: // MAX_HISTORY_FORCE
|
||||
return MAX_HISTORY_FORCE;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
@ -176,8 +181,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
private static final int __YXLDFORCE_ISSET_ID = 1;
|
||||
private static final int __TREELEVEL_ISSET_ID = 2;
|
||||
private static final int __FOURSPIRIT_ISSET_ID = 3;
|
||||
private static final int __MAXHISTORYFORCE_ISSET_ID = 4;
|
||||
private byte __isset_bitfield = 0;
|
||||
private static final _Fields optionals[] = {_Fields.TEAMS,_Fields.HEROS,_Fields.JEWELS,_Fields.TOTAL_FORCE_BY_TEAM,_Fields.TOTAL_FORCE,_Fields.YXLD_FORCE,_Fields.POKEMONS,_Fields.SEALS,_Fields.GUILD_SKILL,_Fields.POKEMON_TEAM_MAP,_Fields.TREE_LEVEL,_Fields.SKILL,_Fields.FOUR_SPIRIT,_Fields.PRACTICE_SKILL_MAP};
|
||||
private static final _Fields optionals[] = {_Fields.TEAMS,_Fields.HEROS,_Fields.JEWELS,_Fields.TOTAL_FORCE_BY_TEAM,_Fields.TOTAL_FORCE,_Fields.YXLD_FORCE,_Fields.POKEMONS,_Fields.SEALS,_Fields.GUILD_SKILL,_Fields.POKEMON_TEAM_MAP,_Fields.TREE_LEVEL,_Fields.SKILL,_Fields.FOUR_SPIRIT,_Fields.PRACTICE_SKILL_MAP,_Fields.MAX_HISTORY_FORCE};
|
||||
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
||||
static {
|
||||
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
||||
|
@ -229,6 +235,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32),
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))));
|
||||
tmpMap.put(_Fields.MAX_HISTORY_FORCE, new org.apache.thrift.meta_data.FieldMetaData("maxHistoryForce", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
||||
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
||||
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CrossArenaManager.class, metaDataMap);
|
||||
}
|
||||
|
@ -343,6 +351,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
Map<Integer,Integer> __this__practiceSkillMap = new HashMap<Integer,Integer>(other.practiceSkillMap);
|
||||
this.practiceSkillMap = __this__practiceSkillMap;
|
||||
}
|
||||
this.maxHistoryForce = other.maxHistoryForce;
|
||||
}
|
||||
|
||||
public CrossArenaManager deepCopy() {
|
||||
|
@ -369,6 +378,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
setFourSpiritIsSet(false);
|
||||
this.fourSpirit = 0;
|
||||
this.practiceSkillMap = null;
|
||||
setMaxHistoryForceIsSet(false);
|
||||
this.maxHistoryForce = 0;
|
||||
}
|
||||
|
||||
public int getTeamsSize() {
|
||||
|
@ -817,6 +828,29 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
|
||||
public long getMaxHistoryForce() {
|
||||
return this.maxHistoryForce;
|
||||
}
|
||||
|
||||
public CrossArenaManager setMaxHistoryForce(long maxHistoryForce) {
|
||||
this.maxHistoryForce = maxHistoryForce;
|
||||
setMaxHistoryForceIsSet(true);
|
||||
return this;
|
||||
}
|
||||
|
||||
public void unsetMaxHistoryForce() {
|
||||
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MAXHISTORYFORCE_ISSET_ID);
|
||||
}
|
||||
|
||||
/** Returns true if field maxHistoryForce is set (has been assigned a value) and false otherwise */
|
||||
public boolean isSetMaxHistoryForce() {
|
||||
return EncodingUtils.testBit(__isset_bitfield, __MAXHISTORYFORCE_ISSET_ID);
|
||||
}
|
||||
|
||||
public void setMaxHistoryForceIsSet(boolean value) {
|
||||
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MAXHISTORYFORCE_ISSET_ID, value);
|
||||
}
|
||||
|
||||
public void setFieldValue(_Fields field, Object value) {
|
||||
switch (field) {
|
||||
case TEAMS:
|
||||
|
@ -931,6 +965,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
break;
|
||||
|
||||
case MAX_HISTORY_FORCE:
|
||||
if (value == null) {
|
||||
unsetMaxHistoryForce();
|
||||
} else {
|
||||
setMaxHistoryForce((Long)value);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -978,6 +1020,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
case PRACTICE_SKILL_MAP:
|
||||
return getPracticeSkillMap();
|
||||
|
||||
case MAX_HISTORY_FORCE:
|
||||
return Long.valueOf(getMaxHistoryForce());
|
||||
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -1017,6 +1062,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return isSetFourSpirit();
|
||||
case PRACTICE_SKILL_MAP:
|
||||
return isSetPracticeSkillMap();
|
||||
case MAX_HISTORY_FORCE:
|
||||
return isSetMaxHistoryForce();
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -1160,6 +1207,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return false;
|
||||
}
|
||||
|
||||
boolean this_present_maxHistoryForce = true && this.isSetMaxHistoryForce();
|
||||
boolean that_present_maxHistoryForce = true && that.isSetMaxHistoryForce();
|
||||
if (this_present_maxHistoryForce || that_present_maxHistoryForce) {
|
||||
if (!(this_present_maxHistoryForce && that_present_maxHistoryForce))
|
||||
return false;
|
||||
if (this.maxHistoryForce != that.maxHistoryForce)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1237,6 +1293,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (present_practiceSkillMap)
|
||||
list.add(practiceSkillMap);
|
||||
|
||||
boolean present_maxHistoryForce = true && (isSetMaxHistoryForce());
|
||||
list.add(present_maxHistoryForce);
|
||||
if (present_maxHistoryForce)
|
||||
list.add(maxHistoryForce);
|
||||
|
||||
return list.hashCode();
|
||||
}
|
||||
|
||||
|
@ -1388,6 +1449,16 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = Boolean.valueOf(isSetMaxHistoryForce()).compareTo(other.isSetMaxHistoryForce());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
if (isSetMaxHistoryForce()) {
|
||||
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maxHistoryForce, other.maxHistoryForce);
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1531,6 +1602,12 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
first = false;
|
||||
}
|
||||
if (isSetMaxHistoryForce()) {
|
||||
if (!first) sb.append(", ");
|
||||
sb.append("maxHistoryForce:");
|
||||
sb.append(this.maxHistoryForce);
|
||||
first = false;
|
||||
}
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
|
@ -1821,6 +1898,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
case 15: // MAX_HISTORY_FORCE
|
||||
if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
|
||||
struct.maxHistoryForce = iprot.readI64();
|
||||
struct.setMaxHistoryForceIsSet(true);
|
||||
} else {
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
|
@ -2012,6 +2097,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
oprot.writeFieldEnd();
|
||||
}
|
||||
}
|
||||
if (struct.isSetMaxHistoryForce()) {
|
||||
oprot.writeFieldBegin(MAX_HISTORY_FORCE_FIELD_DESC);
|
||||
oprot.writeI64(struct.maxHistoryForce);
|
||||
oprot.writeFieldEnd();
|
||||
}
|
||||
oprot.writeFieldStop();
|
||||
oprot.writeStructEnd();
|
||||
}
|
||||
|
@ -2072,7 +2162,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (struct.isSetPracticeSkillMap()) {
|
||||
optionals.set(13);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 14);
|
||||
if (struct.isSetMaxHistoryForce()) {
|
||||
optionals.set(14);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 15);
|
||||
if (struct.isSetTeams()) {
|
||||
{
|
||||
oprot.writeI32(struct.teams.size());
|
||||
|
@ -2190,12 +2283,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
}
|
||||
if (struct.isSetMaxHistoryForce()) {
|
||||
oprot.writeI64(struct.maxHistoryForce);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read(org.apache.thrift.protocol.TProtocol prot, CrossArenaManager struct) throws org.apache.thrift.TException {
|
||||
TTupleProtocol iprot = (TTupleProtocol) prot;
|
||||
BitSet incoming = iprot.readBitSet(14);
|
||||
BitSet incoming = iprot.readBitSet(15);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map170 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
|
||||
|
@ -2374,6 +2470,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
struct.setPracticeSkillMapIsSet(true);
|
||||
}
|
||||
if (incoming.get(14)) {
|
||||
struct.maxHistoryForce = iprot.readI64();
|
||||
struct.setMaxHistoryForceIsSet(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue