神印功能提交,补充
parent
6ce4c11c7d
commit
b12d63788b
|
@ -57,6 +57,7 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
private static final org.apache.thrift.protocol.TField ATTRIBUTE_MAP_BY_TEAM_BATTLE_FIELD_DESC = new org.apache.thrift.protocol.TField("attributeMapByTeamBattle", org.apache.thrift.protocol.TType.MAP, (short)17);
|
||||
private static final org.apache.thrift.protocol.TField GOD_SOUL_LV_FIELD_DESC = new org.apache.thrift.protocol.TField("godSoulLv", org.apache.thrift.protocol.TType.I32, (short)18);
|
||||
private static final org.apache.thrift.protocol.TField PROPERTY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("propertyId", org.apache.thrift.protocol.TType.I32, (short)19);
|
||||
private static final org.apache.thrift.protocol.TField GOD_SEAL_BY_POSITION_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("godSealByPositionMap", org.apache.thrift.protocol.TType.MAP, (short)20);
|
||||
|
||||
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
|
||||
static {
|
||||
|
@ -83,6 +84,7 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
public Map<Integer,Map<Integer,Long>> attributeMapByTeamBattle; // optional
|
||||
public int godSoulLv; // optional
|
||||
public int propertyId; // optional
|
||||
public Map<Integer,Integer> godSealByPositionMap; // 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 {
|
||||
|
@ -104,7 +106,8 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
ATTRIBUTE_MAP_BY_TEAM((short)16, "attributeMapByTeam"),
|
||||
ATTRIBUTE_MAP_BY_TEAM_BATTLE((short)17, "attributeMapByTeamBattle"),
|
||||
GOD_SOUL_LV((short)18, "godSoulLv"),
|
||||
PROPERTY_ID((short)19, "propertyId");
|
||||
PROPERTY_ID((short)19, "propertyId"),
|
||||
GOD_SEAL_BY_POSITION_MAP((short)20, "godSealByPositionMap");
|
||||
|
||||
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
||||
|
||||
|
@ -157,6 +160,8 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
return GOD_SOUL_LV;
|
||||
case 19: // PROPERTY_ID
|
||||
return PROPERTY_ID;
|
||||
case 20: // GOD_SEAL_BY_POSITION_MAP
|
||||
return GOD_SEAL_BY_POSITION_MAP;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
@ -210,7 +215,7 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
private static final int __GODSOULLV_ISSET_ID = 10;
|
||||
private static final int __PROPERTYID_ISSET_ID = 11;
|
||||
private short __isset_bitfield = 0;
|
||||
private static final _Fields optionals[] = {_Fields.ID,_Fields.TEMPLATE_ID,_Fields.LEVEL,_Fields.STAR,_Fields.EQUIP_BY_POSITION_MAP,_Fields.SOUL_EQUIP_BY_POSITION_MAP,_Fields.BREAK_ID,_Fields.STAR_BREAK_ID,_Fields.CREATE_TIME,_Fields.ESPECIAL_EQUIP_LEVEL,_Fields.CREATE_TYPE,_Fields.CHANGE_ID,_Fields.SKIN,_Fields.JEWEL_INFO,_Fields.ATTRIBUTE_MAP,_Fields.ATTRIBUTE_MAP_BY_TEAM,_Fields.ATTRIBUTE_MAP_BY_TEAM_BATTLE,_Fields.GOD_SOUL_LV,_Fields.PROPERTY_ID};
|
||||
private static final _Fields optionals[] = {_Fields.ID,_Fields.TEMPLATE_ID,_Fields.LEVEL,_Fields.STAR,_Fields.EQUIP_BY_POSITION_MAP,_Fields.SOUL_EQUIP_BY_POSITION_MAP,_Fields.BREAK_ID,_Fields.STAR_BREAK_ID,_Fields.CREATE_TIME,_Fields.ESPECIAL_EQUIP_LEVEL,_Fields.CREATE_TYPE,_Fields.CHANGE_ID,_Fields.SKIN,_Fields.JEWEL_INFO,_Fields.ATTRIBUTE_MAP,_Fields.ATTRIBUTE_MAP_BY_TEAM,_Fields.ATTRIBUTE_MAP_BY_TEAM_BATTLE,_Fields.GOD_SOUL_LV,_Fields.PROPERTY_ID,_Fields.GOD_SEAL_BY_POSITION_MAP};
|
||||
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);
|
||||
|
@ -267,6 +272,10 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
||||
tmpMap.put(_Fields.PROPERTY_ID, new org.apache.thrift.meta_data.FieldMetaData("propertyId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
||||
tmpMap.put(_Fields.GOD_SEAL_BY_POSITION_MAP, new org.apache.thrift.meta_data.FieldMetaData("godSealByPositionMap", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
||||
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))));
|
||||
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
||||
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ArenaOfHero.class, metaDataMap);
|
||||
}
|
||||
|
@ -340,6 +349,10 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
}
|
||||
this.godSoulLv = other.godSoulLv;
|
||||
this.propertyId = other.propertyId;
|
||||
if (other.isSetGodSealByPositionMap()) {
|
||||
Map<Integer,Integer> __this__godSealByPositionMap = new HashMap<Integer,Integer>(other.godSealByPositionMap);
|
||||
this.godSealByPositionMap = __this__godSealByPositionMap;
|
||||
}
|
||||
}
|
||||
|
||||
public ArenaOfHero deepCopy() {
|
||||
|
@ -379,6 +392,7 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
this.godSoulLv = 0;
|
||||
setPropertyIdIsSet(false);
|
||||
this.propertyId = 0;
|
||||
this.godSealByPositionMap = null;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
|
@ -895,6 +909,41 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PROPERTYID_ISSET_ID, value);
|
||||
}
|
||||
|
||||
public int getGodSealByPositionMapSize() {
|
||||
return (this.godSealByPositionMap == null) ? 0 : this.godSealByPositionMap.size();
|
||||
}
|
||||
|
||||
public void putToGodSealByPositionMap(int key, int val) {
|
||||
if (this.godSealByPositionMap == null) {
|
||||
this.godSealByPositionMap = new HashMap<Integer,Integer>();
|
||||
}
|
||||
this.godSealByPositionMap.put(key, val);
|
||||
}
|
||||
|
||||
public Map<Integer,Integer> getGodSealByPositionMap() {
|
||||
return this.godSealByPositionMap;
|
||||
}
|
||||
|
||||
public ArenaOfHero setGodSealByPositionMap(Map<Integer,Integer> godSealByPositionMap) {
|
||||
this.godSealByPositionMap = godSealByPositionMap;
|
||||
return this;
|
||||
}
|
||||
|
||||
public void unsetGodSealByPositionMap() {
|
||||
this.godSealByPositionMap = null;
|
||||
}
|
||||
|
||||
/** Returns true if field godSealByPositionMap is set (has been assigned a value) and false otherwise */
|
||||
public boolean isSetGodSealByPositionMap() {
|
||||
return this.godSealByPositionMap != null;
|
||||
}
|
||||
|
||||
public void setGodSealByPositionMapIsSet(boolean value) {
|
||||
if (!value) {
|
||||
this.godSealByPositionMap = null;
|
||||
}
|
||||
}
|
||||
|
||||
public void setFieldValue(_Fields field, Object value) {
|
||||
switch (field) {
|
||||
case ID:
|
||||
|
@ -1049,6 +1098,14 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
}
|
||||
break;
|
||||
|
||||
case GOD_SEAL_BY_POSITION_MAP:
|
||||
if (value == null) {
|
||||
unsetGodSealByPositionMap();
|
||||
} else {
|
||||
setGodSealByPositionMap((Map<Integer,Integer>)value);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1111,6 +1168,9 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
case PROPERTY_ID:
|
||||
return Integer.valueOf(getPropertyId());
|
||||
|
||||
case GOD_SEAL_BY_POSITION_MAP:
|
||||
return getGodSealByPositionMap();
|
||||
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -1160,6 +1220,8 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
return isSetGodSoulLv();
|
||||
case PROPERTY_ID:
|
||||
return isSetPropertyId();
|
||||
case GOD_SEAL_BY_POSITION_MAP:
|
||||
return isSetGodSealByPositionMap();
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -1348,6 +1410,15 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
return false;
|
||||
}
|
||||
|
||||
boolean this_present_godSealByPositionMap = true && this.isSetGodSealByPositionMap();
|
||||
boolean that_present_godSealByPositionMap = true && that.isSetGodSealByPositionMap();
|
||||
if (this_present_godSealByPositionMap || that_present_godSealByPositionMap) {
|
||||
if (!(this_present_godSealByPositionMap && that_present_godSealByPositionMap))
|
||||
return false;
|
||||
if (!this.godSealByPositionMap.equals(that.godSealByPositionMap))
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1450,6 +1521,11 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
if (present_propertyId)
|
||||
list.add(propertyId);
|
||||
|
||||
boolean present_godSealByPositionMap = true && (isSetGodSealByPositionMap());
|
||||
list.add(present_godSealByPositionMap);
|
||||
if (present_godSealByPositionMap)
|
||||
list.add(godSealByPositionMap);
|
||||
|
||||
return list.hashCode();
|
||||
}
|
||||
|
||||
|
@ -1651,6 +1727,16 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = Boolean.valueOf(isSetGodSealByPositionMap()).compareTo(other.isSetGodSealByPositionMap());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
if (isSetGodSealByPositionMap()) {
|
||||
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.godSealByPositionMap, other.godSealByPositionMap);
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1812,6 +1898,16 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
sb.append(this.propertyId);
|
||||
first = false;
|
||||
}
|
||||
if (isSetGodSealByPositionMap()) {
|
||||
if (!first) sb.append(", ");
|
||||
sb.append("godSealByPositionMap:");
|
||||
if (this.godSealByPositionMap == null) {
|
||||
sb.append("null");
|
||||
} else {
|
||||
sb.append(this.godSealByPositionMap);
|
||||
}
|
||||
first = false;
|
||||
}
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
|
@ -2103,6 +2199,26 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
case 20: // GOD_SEAL_BY_POSITION_MAP
|
||||
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map39 = iprot.readMapBegin();
|
||||
struct.godSealByPositionMap = new HashMap<Integer,Integer>(2*_map39.size);
|
||||
int _key40;
|
||||
int _val41;
|
||||
for (int _i42 = 0; _i42 < _map39.size; ++_i42)
|
||||
{
|
||||
_key40 = iprot.readI32();
|
||||
_val41 = iprot.readI32();
|
||||
struct.godSealByPositionMap.put(_key40, _val41);
|
||||
}
|
||||
iprot.readMapEnd();
|
||||
}
|
||||
struct.setGodSealByPositionMapIsSet(true);
|
||||
} else {
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
|
@ -2145,10 +2261,10 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
oprot.writeFieldBegin(EQUIP_BY_POSITION_MAP_FIELD_DESC);
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, struct.equipByPositionMap.size()));
|
||||
for (Map.Entry<Integer, Integer> _iter39 : struct.equipByPositionMap.entrySet())
|
||||
for (Map.Entry<Integer, Integer> _iter43 : struct.equipByPositionMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter39.getKey());
|
||||
oprot.writeI32(_iter39.getValue());
|
||||
oprot.writeI32(_iter43.getKey());
|
||||
oprot.writeI32(_iter43.getValue());
|
||||
}
|
||||
oprot.writeMapEnd();
|
||||
}
|
||||
|
@ -2160,10 +2276,10 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
oprot.writeFieldBegin(SOUL_EQUIP_BY_POSITION_MAP_FIELD_DESC);
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, struct.soulEquipByPositionMap.size()));
|
||||
for (Map.Entry<Integer, Integer> _iter40 : struct.soulEquipByPositionMap.entrySet())
|
||||
for (Map.Entry<Integer, Integer> _iter44 : struct.soulEquipByPositionMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter40.getKey());
|
||||
oprot.writeI32(_iter40.getValue());
|
||||
oprot.writeI32(_iter44.getKey());
|
||||
oprot.writeI32(_iter44.getValue());
|
||||
}
|
||||
oprot.writeMapEnd();
|
||||
}
|
||||
|
@ -2210,9 +2326,9 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
oprot.writeFieldBegin(JEWEL_INFO_FIELD_DESC);
|
||||
{
|
||||
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.jewelInfo.size()));
|
||||
for (String _iter41 : struct.jewelInfo)
|
||||
for (String _iter45 : struct.jewelInfo)
|
||||
{
|
||||
oprot.writeString(_iter41);
|
||||
oprot.writeString(_iter45);
|
||||
}
|
||||
oprot.writeSetEnd();
|
||||
}
|
||||
|
@ -2224,10 +2340,10 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
oprot.writeFieldBegin(ATTRIBUTE_MAP_FIELD_DESC);
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, struct.attributeMap.size()));
|
||||
for (Map.Entry<Integer, Long> _iter42 : struct.attributeMap.entrySet())
|
||||
for (Map.Entry<Integer, Long> _iter46 : struct.attributeMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter42.getKey());
|
||||
oprot.writeI64(_iter42.getValue());
|
||||
oprot.writeI32(_iter46.getKey());
|
||||
oprot.writeI64(_iter46.getValue());
|
||||
}
|
||||
oprot.writeMapEnd();
|
||||
}
|
||||
|
@ -2239,15 +2355,15 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
oprot.writeFieldBegin(ATTRIBUTE_MAP_BY_TEAM_FIELD_DESC);
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.MAP, struct.attributeMapByTeam.size()));
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter43 : struct.attributeMapByTeam.entrySet())
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter47 : struct.attributeMapByTeam.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter43.getKey());
|
||||
oprot.writeI32(_iter47.getKey());
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, _iter43.getValue().size()));
|
||||
for (Map.Entry<Integer, Long> _iter44 : _iter43.getValue().entrySet())
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, _iter47.getValue().size()));
|
||||
for (Map.Entry<Integer, Long> _iter48 : _iter47.getValue().entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter44.getKey());
|
||||
oprot.writeI64(_iter44.getValue());
|
||||
oprot.writeI32(_iter48.getKey());
|
||||
oprot.writeI64(_iter48.getValue());
|
||||
}
|
||||
oprot.writeMapEnd();
|
||||
}
|
||||
|
@ -2262,15 +2378,15 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
oprot.writeFieldBegin(ATTRIBUTE_MAP_BY_TEAM_BATTLE_FIELD_DESC);
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.MAP, struct.attributeMapByTeamBattle.size()));
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter45 : struct.attributeMapByTeamBattle.entrySet())
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter49 : struct.attributeMapByTeamBattle.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter45.getKey());
|
||||
oprot.writeI32(_iter49.getKey());
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, _iter45.getValue().size()));
|
||||
for (Map.Entry<Integer, Long> _iter46 : _iter45.getValue().entrySet())
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, _iter49.getValue().size()));
|
||||
for (Map.Entry<Integer, Long> _iter50 : _iter49.getValue().entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter46.getKey());
|
||||
oprot.writeI64(_iter46.getValue());
|
||||
oprot.writeI32(_iter50.getKey());
|
||||
oprot.writeI64(_iter50.getValue());
|
||||
}
|
||||
oprot.writeMapEnd();
|
||||
}
|
||||
|
@ -2290,6 +2406,21 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
oprot.writeI32(struct.propertyId);
|
||||
oprot.writeFieldEnd();
|
||||
}
|
||||
if (struct.godSealByPositionMap != null) {
|
||||
if (struct.isSetGodSealByPositionMap()) {
|
||||
oprot.writeFieldBegin(GOD_SEAL_BY_POSITION_MAP_FIELD_DESC);
|
||||
{
|
||||
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, struct.godSealByPositionMap.size()));
|
||||
for (Map.Entry<Integer, Integer> _iter51 : struct.godSealByPositionMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter51.getKey());
|
||||
oprot.writeI32(_iter51.getValue());
|
||||
}
|
||||
oprot.writeMapEnd();
|
||||
}
|
||||
oprot.writeFieldEnd();
|
||||
}
|
||||
}
|
||||
oprot.writeFieldStop();
|
||||
oprot.writeStructEnd();
|
||||
}
|
||||
|
@ -2365,7 +2496,10 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
if (struct.isSetPropertyId()) {
|
||||
optionals.set(18);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 19);
|
||||
if (struct.isSetGodSealByPositionMap()) {
|
||||
optionals.set(19);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 20);
|
||||
if (struct.isSetId()) {
|
||||
oprot.writeString(struct.id);
|
||||
}
|
||||
|
@ -2381,20 +2515,20 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
if (struct.isSetEquipByPositionMap()) {
|
||||
{
|
||||
oprot.writeI32(struct.equipByPositionMap.size());
|
||||
for (Map.Entry<Integer, Integer> _iter47 : struct.equipByPositionMap.entrySet())
|
||||
for (Map.Entry<Integer, Integer> _iter52 : struct.equipByPositionMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter47.getKey());
|
||||
oprot.writeI32(_iter47.getValue());
|
||||
oprot.writeI32(_iter52.getKey());
|
||||
oprot.writeI32(_iter52.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
if (struct.isSetSoulEquipByPositionMap()) {
|
||||
{
|
||||
oprot.writeI32(struct.soulEquipByPositionMap.size());
|
||||
for (Map.Entry<Integer, Integer> _iter48 : struct.soulEquipByPositionMap.entrySet())
|
||||
for (Map.Entry<Integer, Integer> _iter53 : struct.soulEquipByPositionMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter48.getKey());
|
||||
oprot.writeI32(_iter48.getValue());
|
||||
oprot.writeI32(_iter53.getKey());
|
||||
oprot.writeI32(_iter53.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2422,34 +2556,34 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
if (struct.isSetJewelInfo()) {
|
||||
{
|
||||
oprot.writeI32(struct.jewelInfo.size());
|
||||
for (String _iter49 : struct.jewelInfo)
|
||||
for (String _iter54 : struct.jewelInfo)
|
||||
{
|
||||
oprot.writeString(_iter49);
|
||||
oprot.writeString(_iter54);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (struct.isSetAttributeMap()) {
|
||||
{
|
||||
oprot.writeI32(struct.attributeMap.size());
|
||||
for (Map.Entry<Integer, Long> _iter50 : struct.attributeMap.entrySet())
|
||||
for (Map.Entry<Integer, Long> _iter55 : struct.attributeMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter50.getKey());
|
||||
oprot.writeI64(_iter50.getValue());
|
||||
oprot.writeI32(_iter55.getKey());
|
||||
oprot.writeI64(_iter55.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
if (struct.isSetAttributeMapByTeam()) {
|
||||
{
|
||||
oprot.writeI32(struct.attributeMapByTeam.size());
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter51 : struct.attributeMapByTeam.entrySet())
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter56 : struct.attributeMapByTeam.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter51.getKey());
|
||||
oprot.writeI32(_iter56.getKey());
|
||||
{
|
||||
oprot.writeI32(_iter51.getValue().size());
|
||||
for (Map.Entry<Integer, Long> _iter52 : _iter51.getValue().entrySet())
|
||||
oprot.writeI32(_iter56.getValue().size());
|
||||
for (Map.Entry<Integer, Long> _iter57 : _iter56.getValue().entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter52.getKey());
|
||||
oprot.writeI64(_iter52.getValue());
|
||||
oprot.writeI32(_iter57.getKey());
|
||||
oprot.writeI64(_iter57.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2458,15 +2592,15 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
if (struct.isSetAttributeMapByTeamBattle()) {
|
||||
{
|
||||
oprot.writeI32(struct.attributeMapByTeamBattle.size());
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter53 : struct.attributeMapByTeamBattle.entrySet())
|
||||
for (Map.Entry<Integer, Map<Integer,Long>> _iter58 : struct.attributeMapByTeamBattle.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter53.getKey());
|
||||
oprot.writeI32(_iter58.getKey());
|
||||
{
|
||||
oprot.writeI32(_iter53.getValue().size());
|
||||
for (Map.Entry<Integer, Long> _iter54 : _iter53.getValue().entrySet())
|
||||
oprot.writeI32(_iter58.getValue().size());
|
||||
for (Map.Entry<Integer, Long> _iter59 : _iter58.getValue().entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter54.getKey());
|
||||
oprot.writeI64(_iter54.getValue());
|
||||
oprot.writeI32(_iter59.getKey());
|
||||
oprot.writeI64(_iter59.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2478,12 +2612,22 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
if (struct.isSetPropertyId()) {
|
||||
oprot.writeI32(struct.propertyId);
|
||||
}
|
||||
if (struct.isSetGodSealByPositionMap()) {
|
||||
{
|
||||
oprot.writeI32(struct.godSealByPositionMap.size());
|
||||
for (Map.Entry<Integer, Integer> _iter60 : struct.godSealByPositionMap.entrySet())
|
||||
{
|
||||
oprot.writeI32(_iter60.getKey());
|
||||
oprot.writeI32(_iter60.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read(org.apache.thrift.protocol.TProtocol prot, ArenaOfHero struct) throws org.apache.thrift.TException {
|
||||
TTupleProtocol iprot = (TTupleProtocol) prot;
|
||||
BitSet incoming = iprot.readBitSet(19);
|
||||
BitSet incoming = iprot.readBitSet(20);
|
||||
if (incoming.get(0)) {
|
||||
struct.id = iprot.readString();
|
||||
struct.setIdIsSet(true);
|
||||
|
@ -2502,30 +2646,30 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
}
|
||||
if (incoming.get(4)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map55 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, iprot.readI32());
|
||||
struct.equipByPositionMap = new HashMap<Integer,Integer>(2*_map55.size);
|
||||
int _key56;
|
||||
int _val57;
|
||||
for (int _i58 = 0; _i58 < _map55.size; ++_i58)
|
||||
org.apache.thrift.protocol.TMap _map61 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, iprot.readI32());
|
||||
struct.equipByPositionMap = new HashMap<Integer,Integer>(2*_map61.size);
|
||||
int _key62;
|
||||
int _val63;
|
||||
for (int _i64 = 0; _i64 < _map61.size; ++_i64)
|
||||
{
|
||||
_key56 = iprot.readI32();
|
||||
_val57 = iprot.readI32();
|
||||
struct.equipByPositionMap.put(_key56, _val57);
|
||||
_key62 = iprot.readI32();
|
||||
_val63 = iprot.readI32();
|
||||
struct.equipByPositionMap.put(_key62, _val63);
|
||||
}
|
||||
}
|
||||
struct.setEquipByPositionMapIsSet(true);
|
||||
}
|
||||
if (incoming.get(5)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map59 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, iprot.readI32());
|
||||
struct.soulEquipByPositionMap = new HashMap<Integer,Integer>(2*_map59.size);
|
||||
int _key60;
|
||||
int _val61;
|
||||
for (int _i62 = 0; _i62 < _map59.size; ++_i62)
|
||||
org.apache.thrift.protocol.TMap _map65 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, iprot.readI32());
|
||||
struct.soulEquipByPositionMap = new HashMap<Integer,Integer>(2*_map65.size);
|
||||
int _key66;
|
||||
int _val67;
|
||||
for (int _i68 = 0; _i68 < _map65.size; ++_i68)
|
||||
{
|
||||
_key60 = iprot.readI32();
|
||||
_val61 = iprot.readI32();
|
||||
struct.soulEquipByPositionMap.put(_key60, _val61);
|
||||
_key66 = iprot.readI32();
|
||||
_val67 = iprot.readI32();
|
||||
struct.soulEquipByPositionMap.put(_key66, _val67);
|
||||
}
|
||||
}
|
||||
struct.setSoulEquipByPositionMapIsSet(true);
|
||||
|
@ -2560,80 +2704,80 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
}
|
||||
if (incoming.get(13)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TSet _set63 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
struct.jewelInfo = new HashSet<String>(2*_set63.size);
|
||||
String _elem64;
|
||||
for (int _i65 = 0; _i65 < _set63.size; ++_i65)
|
||||
org.apache.thrift.protocol.TSet _set69 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
|
||||
struct.jewelInfo = new HashSet<String>(2*_set69.size);
|
||||
String _elem70;
|
||||
for (int _i71 = 0; _i71 < _set69.size; ++_i71)
|
||||
{
|
||||
_elem64 = iprot.readString();
|
||||
struct.jewelInfo.add(_elem64);
|
||||
_elem70 = iprot.readString();
|
||||
struct.jewelInfo.add(_elem70);
|
||||
}
|
||||
}
|
||||
struct.setJewelInfoIsSet(true);
|
||||
}
|
||||
if (incoming.get(14)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map66 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, iprot.readI32());
|
||||
struct.attributeMap = new HashMap<Integer,Long>(2*_map66.size);
|
||||
int _key67;
|
||||
long _val68;
|
||||
for (int _i69 = 0; _i69 < _map66.size; ++_i69)
|
||||
org.apache.thrift.protocol.TMap _map72 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, iprot.readI32());
|
||||
struct.attributeMap = new HashMap<Integer,Long>(2*_map72.size);
|
||||
int _key73;
|
||||
long _val74;
|
||||
for (int _i75 = 0; _i75 < _map72.size; ++_i75)
|
||||
{
|
||||
_key67 = iprot.readI32();
|
||||
_val68 = iprot.readI64();
|
||||
struct.attributeMap.put(_key67, _val68);
|
||||
_key73 = iprot.readI32();
|
||||
_val74 = iprot.readI64();
|
||||
struct.attributeMap.put(_key73, _val74);
|
||||
}
|
||||
}
|
||||
struct.setAttributeMapIsSet(true);
|
||||
}
|
||||
if (incoming.get(15)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map70 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
|
||||
struct.attributeMapByTeam = new HashMap<Integer,Map<Integer,Long>>(2*_map70.size);
|
||||
int _key71;
|
||||
Map<Integer,Long> _val72;
|
||||
for (int _i73 = 0; _i73 < _map70.size; ++_i73)
|
||||
org.apache.thrift.protocol.TMap _map76 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
|
||||
struct.attributeMapByTeam = new HashMap<Integer,Map<Integer,Long>>(2*_map76.size);
|
||||
int _key77;
|
||||
Map<Integer,Long> _val78;
|
||||
for (int _i79 = 0; _i79 < _map76.size; ++_i79)
|
||||
{
|
||||
_key71 = iprot.readI32();
|
||||
_key77 = iprot.readI32();
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map74 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, iprot.readI32());
|
||||
_val72 = new HashMap<Integer,Long>(2*_map74.size);
|
||||
int _key75;
|
||||
long _val76;
|
||||
for (int _i77 = 0; _i77 < _map74.size; ++_i77)
|
||||
org.apache.thrift.protocol.TMap _map80 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, iprot.readI32());
|
||||
_val78 = new HashMap<Integer,Long>(2*_map80.size);
|
||||
int _key81;
|
||||
long _val82;
|
||||
for (int _i83 = 0; _i83 < _map80.size; ++_i83)
|
||||
{
|
||||
_key75 = iprot.readI32();
|
||||
_val76 = iprot.readI64();
|
||||
_val72.put(_key75, _val76);
|
||||
_key81 = iprot.readI32();
|
||||
_val82 = iprot.readI64();
|
||||
_val78.put(_key81, _val82);
|
||||
}
|
||||
}
|
||||
struct.attributeMapByTeam.put(_key71, _val72);
|
||||
struct.attributeMapByTeam.put(_key77, _val78);
|
||||
}
|
||||
}
|
||||
struct.setAttributeMapByTeamIsSet(true);
|
||||
}
|
||||
if (incoming.get(16)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map78 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
|
||||
struct.attributeMapByTeamBattle = new HashMap<Integer,Map<Integer,Long>>(2*_map78.size);
|
||||
int _key79;
|
||||
Map<Integer,Long> _val80;
|
||||
for (int _i81 = 0; _i81 < _map78.size; ++_i81)
|
||||
org.apache.thrift.protocol.TMap _map84 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.MAP, iprot.readI32());
|
||||
struct.attributeMapByTeamBattle = new HashMap<Integer,Map<Integer,Long>>(2*_map84.size);
|
||||
int _key85;
|
||||
Map<Integer,Long> _val86;
|
||||
for (int _i87 = 0; _i87 < _map84.size; ++_i87)
|
||||
{
|
||||
_key79 = iprot.readI32();
|
||||
_key85 = iprot.readI32();
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map82 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, iprot.readI32());
|
||||
_val80 = new HashMap<Integer,Long>(2*_map82.size);
|
||||
int _key83;
|
||||
long _val84;
|
||||
for (int _i85 = 0; _i85 < _map82.size; ++_i85)
|
||||
org.apache.thrift.protocol.TMap _map88 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I64, iprot.readI32());
|
||||
_val86 = new HashMap<Integer,Long>(2*_map88.size);
|
||||
int _key89;
|
||||
long _val90;
|
||||
for (int _i91 = 0; _i91 < _map88.size; ++_i91)
|
||||
{
|
||||
_key83 = iprot.readI32();
|
||||
_val84 = iprot.readI64();
|
||||
_val80.put(_key83, _val84);
|
||||
_key89 = iprot.readI32();
|
||||
_val90 = iprot.readI64();
|
||||
_val86.put(_key89, _val90);
|
||||
}
|
||||
}
|
||||
struct.attributeMapByTeamBattle.put(_key79, _val80);
|
||||
struct.attributeMapByTeamBattle.put(_key85, _val86);
|
||||
}
|
||||
}
|
||||
struct.setAttributeMapByTeamBattleIsSet(true);
|
||||
|
@ -2646,6 +2790,21 @@ public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOf
|
|||
struct.propertyId = iprot.readI32();
|
||||
struct.setPropertyIdIsSet(true);
|
||||
}
|
||||
if (incoming.get(19)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map92 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.I32, iprot.readI32());
|
||||
struct.godSealByPositionMap = new HashMap<Integer,Integer>(2*_map92.size);
|
||||
int _key93;
|
||||
int _val94;
|
||||
for (int _i95 = 0; _i95 < _map92.size; ++_i95)
|
||||
{
|
||||
_key93 = iprot.readI32();
|
||||
_val94 = iprot.readI32();
|
||||
struct.godSealByPositionMap.put(_key93, _val94);
|
||||
}
|
||||
}
|
||||
struct.setGodSealByPositionMapIsSet(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue