yxld10/14
parent
363f5f6a53
commit
e5736e509e
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-9-23")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCgTGRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCgTGRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -142,8 +142,18 @@ public class CoreService implements RPCRequestIFace.Iface {
|
|||
rpcArenaManager.setTotalForce(force1+force2+force3);
|
||||
|
||||
//TODO new HashMap<>(user.getHeroManager().getPurpleMansionSeal()) 需要做类型转换
|
||||
rpcArenaManager.setSeals(new HashMap<>());
|
||||
Map<Integer, com.ljsd.jieling.logic.dao.PurpleMansionSeal> sealMap= user.getHeroManager().getPurpleMansionSeal();
|
||||
Map<Integer,PurpleMansionSeal> rpdSealMap = new HashMap<>();
|
||||
sealMap.forEach((m,n)->{
|
||||
PurpleMansionSeal rpdseal = new PurpleMansionSeal();
|
||||
rpdseal.setSealId(n.getSealId());
|
||||
rpdseal.setType(n.getType());
|
||||
rpdseal.setSubId(n.getSubId());
|
||||
rpdseal.setState(n.getState());
|
||||
rpdSealMap.put(m,rpdseal);
|
||||
|
||||
});
|
||||
rpcArenaManager.setSeals(rpdSealMap);
|
||||
Map<String, com.ljsd.jieling.logic.dao.Pokemon> pokemonMap = user.getPokemonManager().getPokemonMap();
|
||||
Map<String,Pokemon> pokemonMapRpc = new HashMap<String,Pokemon>();
|
||||
pokemonMap.forEach((n,m)->{
|
||||
|
@ -158,6 +168,7 @@ public class CoreService implements RPCRequestIFace.Iface {
|
|||
Map<Integer, String> teamMap = user.getPokemonManager().getPokemonTeamMap();
|
||||
rpcArenaManager.setPokemonTeamMap(teamMap);
|
||||
rpcArenaManager.setGuildSkill(new HashMap<>(user.getGuildMyInfo().getGuildSkill()));
|
||||
rpcArenaManager.setTreeLevel(user.getPlayerInfoManager().getTreeLevel());
|
||||
return rpcArenaManager;
|
||||
}catch (Exception e){
|
||||
|
||||
|
|
|
@ -77,12 +77,6 @@ public class CrossYuxulundaoGetInfoHandler extends BaseHandler<ArenaInfoProto.Cr
|
|||
arenaManager.setCrossMatchTimes(0);
|
||||
CrossYuxulundaoLogic.getInstance().matchRivals(user);
|
||||
arenaManager.setCrossYuxulundaoFirst(System.currentTimeMillis());
|
||||
builder.setIsFirst(true);
|
||||
isNeedUpdate = true;
|
||||
}else {
|
||||
//赛季内第一次登陆请求,删除上赛季的挑战记录
|
||||
String key = RedisKey.getKey(RedisKey.CROSS_YUXULUNDAO_RECORD, String.valueOf(uid), false);
|
||||
RedisUtil.getInstence().del(key);
|
||||
//主线编队复制到第一队伍
|
||||
TeamPosManager teamPosManager = user.getTeamPosManager();
|
||||
Map<Integer, List<TeamPosHeroInfo>> teamPosForHero = teamPosManager.getTeamPosForHero();
|
||||
|
@ -90,6 +84,12 @@ public class CrossYuxulundaoGetInfoHandler extends BaseHandler<ArenaInfoProto.Cr
|
|||
teamPosManager.updateTeamPosByTeamId(GlobalsDef.CROSS_YU_XU_LUN_DAO_ONE, teamPosManager.getTeamPosForHero().get(GlobalsDef.FORMATION_NORMAL));
|
||||
}
|
||||
builder.setIsFirst(true);
|
||||
isNeedUpdate = true;
|
||||
}else {
|
||||
//赛季内第一次登陆请求,删除上赛季的挑战记录
|
||||
String key = RedisKey.getKey(RedisKey.CROSS_YUXULUNDAO_RECORD, String.valueOf(uid), false);
|
||||
RedisUtil.getInstence().del(key);
|
||||
builder.setIsFirst(true);
|
||||
arenaManager.setCrossYuxulundaoFirst(System.currentTimeMillis());
|
||||
//重置段位发奖
|
||||
int id = SMServerRankConfig.getIdByScore(csPlayer.getCrossYuxulundaoNewScore());
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.ljsd.jieling.handler.player;
|
||||
|
||||
import com.ljsd.jieling.core.GlobalsDef;
|
||||
import com.ljsd.jieling.db.redis.RedisKey;
|
||||
import com.ljsd.jieling.db.redis.RedisUtil;
|
||||
import com.ljsd.jieling.exception.ErrorCode;
|
||||
|
@ -53,8 +54,13 @@ public class ViewHeroInfoHandler extends BaseHandler<PlayerInfoProto.ViewHeroInf
|
|||
PlayerLogic.getInstance().viewRobotHeroInfo(iSession,sArenaRobotConfig,proto.getHeroId());
|
||||
}else{
|
||||
//真人
|
||||
PlayerInfoProto.ViewHeroInfoResponse viewHeroInfoResponse = PlayerLogic.getInstance().viewCrossHeroInfo(proto.getTargetUid(), proto.getHeroId(), proto.getTeamId());
|
||||
MessageUtil.sendMessage(iSession,1,MessageTypeProto.MessageType.VIEW_HERO_INFO_RESPONSE_VALUE,viewHeroInfoResponse,true);
|
||||
if(proto.getTeamId()== GlobalsDef.CROSS_YU_XU_LUN_DAO_ONE||proto.getTeamId()== GlobalsDef.CROSS_YU_XU_LUN_DAO_TWO||proto.getTeamId()== GlobalsDef.CROSS_YU_XU_LUN_DAO_THREE){
|
||||
PlayerInfoProto.ViewHeroInfoResponse viewHeroInfoResponse = PlayerLogic.getInstance().viewCrossHeroInfo(proto.getTargetUid(), proto.getHeroId(), proto.getTeamId());
|
||||
MessageUtil.sendMessage(iSession,1,MessageTypeProto.MessageType.VIEW_HERO_INFO_RESPONSE_VALUE,viewHeroInfoResponse,true);
|
||||
}else {
|
||||
PlayerInfoProto.ViewHeroInfoResponse viewHeroInfoResponse = PlayerLogic.getInstance().viewCrossHeroInfo1(proto.getTargetUid(), proto.getHeroId(), proto.getTeamId());
|
||||
MessageUtil.sendMessage(iSession,1,MessageTypeProto.MessageType.VIEW_HERO_INFO_RESPONSE_VALUE,viewHeroInfoResponse,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -231,7 +231,7 @@ public class CrossYuxulundaoLogic {
|
|||
if(matchRival.size()<5){
|
||||
//需要填充机器人
|
||||
matchRival.forEach(n->{ arenaRank.add(Integer.valueOf(n.getValue())); });
|
||||
arenaRank.addAll(SArenaRobotConfig.getSArenaRobotConfigsByRangeAndCount(con.getScoreLow(),con.getScoreUp(),5 - matchRival.size()));
|
||||
arenaRank.addAll(SArenaRobotConfig.getSArenaRobotConfigsByRangeAndCount(con.getScoreLow1(),con.getScoreUp1(),5 - matchRival.size()));
|
||||
}else{
|
||||
//随机出五个真人
|
||||
List<String> matchRivalList = new ArrayList<String>();
|
||||
|
@ -240,7 +240,7 @@ public class CrossYuxulundaoLogic {
|
|||
matchRivalList.subList(0,5).forEach(n->arenaRank.add(Integer.valueOf(n)));
|
||||
}
|
||||
}else{
|
||||
arenaRank.addAll(SArenaRobotConfig.getSArenaRobotConfigsByRangeAndCount(con.getScoreLow(),con.getScoreUp(),5));
|
||||
arenaRank.addAll(SArenaRobotConfig.getSArenaRobotConfigsByRangeAndCount(con.getScoreLow1(),con.getScoreUp1(),5));
|
||||
}
|
||||
//正常从排行榜中匹配
|
||||
//Set<String> arenaRank = new HashSet<String>();
|
||||
|
|
|
@ -1149,11 +1149,12 @@ public class PlayerLogic {
|
|||
* @throws Exception
|
||||
*/
|
||||
public PlayerInfoProto.ViewHeroInfoResponse viewCrossHeroInfo(int uid,String heroId,int teamId) throws Exception {
|
||||
|
||||
CSPlayer csPlayer = CrossServiceLogic.getPlayerByRedis(uid);
|
||||
//其他服玩家rpc 数据调用
|
||||
CrossArenaManager crossArenaManager = null;
|
||||
if(GameApplication.serverId != csPlayer.getServerId()){
|
||||
if(GameApplication.serverId == csPlayer.getServerId()){
|
||||
return viewCrossHeroInfoMyserver(uid,heroId,teamId);
|
||||
}else{
|
||||
crossArenaManager = PlayerLogic.getInstance().getCrossArenaManagerData(csPlayer);
|
||||
}
|
||||
Map<String, com.ljsd.jieling.thrift.idl.ArenaOfHero> rpcHeroes =crossArenaManager.getHeros();
|
||||
|
@ -1196,10 +1197,68 @@ public class PlayerLogic {
|
|||
// 战力
|
||||
builder.setForce(HeroLogic.getInstance().calForce(heroNotBufferAttribute));
|
||||
builder.setHero(heroBuilder);
|
||||
builder.setTreeLevel(crossArenaManager.getTreeLevel());
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
public PlayerInfoProto.ViewHeroInfoResponse viewCrossHeroInfoMyserver(int uid,String heroId,int teamId) throws Exception{
|
||||
User user = UserManager.getUser(uid);
|
||||
Hero hero= user.getHeroManager().getHero(heroId);
|
||||
//ArenaOfUser query = CrossServiceLogic.getInstance().query(uid);
|
||||
//Map<String, ArenaOfHero> heroes = query.getHeroManager().getHeros();
|
||||
//ArenaOfHero hero = heroes.get(heroId);
|
||||
if(hero == null){
|
||||
throw new ErrorCodeException(ErrorCode.newDefineCode("hero no"));
|
||||
}
|
||||
CommonProto.Hero.Builder heroBuilder = CommonProto.Hero.newBuilder().setLevel(hero.getLevel(user.getHeroManager())).setEspecialEquipLevel(hero.getEspecialEquipLevel()).setStar(hero.getStar()).setId(hero.getId()).setHeroId(hero.getTemplateId()).setBreakId(hero.getBreakId()).setStarBreakId(hero.getStarBreakId());
|
||||
PlayerInfoProto.ViewHeroInfoResponse.Builder builder = PlayerInfoProto.ViewHeroInfoResponse.newBuilder();
|
||||
//Map<Integer, Long> heroNotBufferAttribute = hero.getAttributeMapByTeam().getOrDefault(teamId,new HashMap<>());
|
||||
Map<Integer, Long> heroNotBufferAttribute = HeroLogic.getInstance().calHeroNotBufferAttribute(user, hero, false, teamId);
|
||||
for(Map.Entry<Integer,Long> item : heroNotBufferAttribute.entrySet()){
|
||||
int id = item.getKey();
|
||||
int values = item.getValue().intValue();
|
||||
if (id == 53 || id == 57 || id == 58){
|
||||
values = item.getValue().intValue()-10000;
|
||||
}
|
||||
builder.addSpecialEffects(CommonProto.SpecialEffects.newBuilder().setPropertyId(id).setPropertyValue(values).build());
|
||||
}
|
||||
Map<String, PropertyItem> jewels = new HashMap<>();
|
||||
|
||||
Map<String, com.ljsd.jieling.logic.dao.PropertyItem> equipMap = user.getEquipManager().getEquipMap();
|
||||
// 魂宝灵宝
|
||||
Map<String, Hero> heroMap = user.getHeroManager().getHeroMap();
|
||||
//Map<String, PropertyItem> jewels = new HashMap<>();
|
||||
//Map<String, PropertyItem> equipMap = user.getEquipManager().getEquipMap();
|
||||
heroMap.values().forEach(v-> v.getJewelInfo().forEach(v2->{
|
||||
PropertyItem item = equipMap.get(v2);
|
||||
jewels.put(v2,item);
|
||||
}));
|
||||
for(String equipId : hero.getJewelInfo()){
|
||||
heroBuilder.addJewels(equipId);
|
||||
builder.addEquip(CBean2Proto.getEquipProto(jewels.get(equipId)));
|
||||
}
|
||||
// 装备
|
||||
for(int equipId : hero.getEquipByPositionMap().values()){
|
||||
heroBuilder.addEquipIdList(equipId);
|
||||
builder.addEquip(CBean2Proto.getEquipProto(equipId));
|
||||
}
|
||||
// 法宝
|
||||
Map<Integer, Integer> soulEquipByPositionMap = hero.getSoulEquipByPositionMap();
|
||||
for(Map.Entry<Integer,Integer> entry: soulEquipByPositionMap.entrySet()){
|
||||
heroBuilder.addSoulPos(CommonProto.SoulPos.newBuilder().setEquipId(entry.getValue()).setPosition(entry.getKey()));
|
||||
}
|
||||
// 皮肤
|
||||
heroBuilder.setSkinId(hero.getSkin());
|
||||
// 英雄技能
|
||||
int profession = SCHero.getsCHero().get(hero.getTemplateId()).getProfession();
|
||||
int skill = user.getGuildMyInfo().getGuildSkill().getOrDefault(profession, 0);
|
||||
builder.setGuildSkill(skill);
|
||||
// 战力
|
||||
builder.setForce(HeroLogic.getInstance().calForce(heroNotBufferAttribute));
|
||||
builder.setHero(heroBuilder);
|
||||
builder.setTreeLevel(user.getPlayerInfoManager().getTreeLevel());
|
||||
return builder.build();
|
||||
}
|
||||
public PlayerInfoProto.ViewHeroInfoResponse viewCrossHeroInfo1(int uid,String heroId,int teamId) throws Exception{
|
||||
ArenaOfUser query = CrossServiceLogic.getInstance().query(uid);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOfHero._Fields>, java.io.Serializable, Cloneable, Comparable<ArenaOfHero> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ArenaOfHero");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaManager, CrossArenaManager._Fields>, java.io.Serializable, Cloneable, Comparable<CrossArenaManager> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CrossArenaManager");
|
||||
|
||||
|
@ -48,6 +48,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
private static final org.apache.thrift.protocol.TField SEALS_FIELD_DESC = new org.apache.thrift.protocol.TField("seals", org.apache.thrift.protocol.TType.MAP, (short)8);
|
||||
private static final org.apache.thrift.protocol.TField GUILD_SKILL_FIELD_DESC = new org.apache.thrift.protocol.TField("guildSkill", org.apache.thrift.protocol.TType.MAP, (short)9);
|
||||
private static final org.apache.thrift.protocol.TField POKEMON_TEAM_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("pokemonTeamMap", org.apache.thrift.protocol.TType.MAP, (short)10);
|
||||
private static final org.apache.thrift.protocol.TField TREE_LEVEL_FIELD_DESC = new org.apache.thrift.protocol.TField("treeLevel", org.apache.thrift.protocol.TType.I32, (short)11);
|
||||
|
||||
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
|
||||
static {
|
||||
|
@ -65,6 +66,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
public Map<Integer,PurpleMansionSeal> seals; // optional
|
||||
public Map<Integer,Integer> guildSkill; // optional
|
||||
public Map<Integer,String> pokemonTeamMap; // optional
|
||||
public int treeLevel; // 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 {
|
||||
|
@ -77,7 +79,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
POKEMONS((short)7, "pokemons"),
|
||||
SEALS((short)8, "seals"),
|
||||
GUILD_SKILL((short)9, "guildSkill"),
|
||||
POKEMON_TEAM_MAP((short)10, "pokemonTeamMap");
|
||||
POKEMON_TEAM_MAP((short)10, "pokemonTeamMap"),
|
||||
TREE_LEVEL((short)11, "treeLevel");
|
||||
|
||||
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
||||
|
||||
|
@ -112,6 +115,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return GUILD_SKILL;
|
||||
case 10: // POKEMON_TEAM_MAP
|
||||
return POKEMON_TEAM_MAP;
|
||||
case 11: // TREE_LEVEL
|
||||
return TREE_LEVEL;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
@ -154,8 +159,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
// isset id assignments
|
||||
private static final int __TOTALFORCE_ISSET_ID = 0;
|
||||
private static final int __YXLDFORCE_ISSET_ID = 1;
|
||||
private static final int __TREELEVEL_ISSET_ID = 2;
|
||||
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};
|
||||
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};
|
||||
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);
|
||||
|
@ -196,6 +202,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.STRING))));
|
||||
tmpMap.put(_Fields.TREE_LEVEL, new org.apache.thrift.meta_data.FieldMetaData("treeLevel", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
||||
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
||||
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CrossArenaManager.class, metaDataMap);
|
||||
}
|
||||
|
@ -300,6 +308,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
Map<Integer,String> __this__pokemonTeamMap = new HashMap<Integer,String>(other.pokemonTeamMap);
|
||||
this.pokemonTeamMap = __this__pokemonTeamMap;
|
||||
}
|
||||
this.treeLevel = other.treeLevel;
|
||||
}
|
||||
|
||||
public CrossArenaManager deepCopy() {
|
||||
|
@ -320,6 +329,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
this.seals = null;
|
||||
this.guildSkill = null;
|
||||
this.pokemonTeamMap = null;
|
||||
setTreeLevelIsSet(false);
|
||||
this.treeLevel = 0;
|
||||
}
|
||||
|
||||
public int getTeamsSize() {
|
||||
|
@ -648,6 +659,29 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
|
||||
public int getTreeLevel() {
|
||||
return this.treeLevel;
|
||||
}
|
||||
|
||||
public CrossArenaManager setTreeLevel(int treeLevel) {
|
||||
this.treeLevel = treeLevel;
|
||||
setTreeLevelIsSet(true);
|
||||
return this;
|
||||
}
|
||||
|
||||
public void unsetTreeLevel() {
|
||||
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TREELEVEL_ISSET_ID);
|
||||
}
|
||||
|
||||
/** Returns true if field treeLevel is set (has been assigned a value) and false otherwise */
|
||||
public boolean isSetTreeLevel() {
|
||||
return EncodingUtils.testBit(__isset_bitfield, __TREELEVEL_ISSET_ID);
|
||||
}
|
||||
|
||||
public void setTreeLevelIsSet(boolean value) {
|
||||
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TREELEVEL_ISSET_ID, value);
|
||||
}
|
||||
|
||||
public void setFieldValue(_Fields field, Object value) {
|
||||
switch (field) {
|
||||
case TEAMS:
|
||||
|
@ -730,6 +764,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
break;
|
||||
|
||||
case TREE_LEVEL:
|
||||
if (value == null) {
|
||||
unsetTreeLevel();
|
||||
} else {
|
||||
setTreeLevel((Integer)value);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -765,6 +807,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
case POKEMON_TEAM_MAP:
|
||||
return getPokemonTeamMap();
|
||||
|
||||
case TREE_LEVEL:
|
||||
return Integer.valueOf(getTreeLevel());
|
||||
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -796,6 +841,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return isSetGuildSkill();
|
||||
case POKEMON_TEAM_MAP:
|
||||
return isSetPokemonTeamMap();
|
||||
case TREE_LEVEL:
|
||||
return isSetTreeLevel();
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -903,6 +950,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return false;
|
||||
}
|
||||
|
||||
boolean this_present_treeLevel = true && this.isSetTreeLevel();
|
||||
boolean that_present_treeLevel = true && that.isSetTreeLevel();
|
||||
if (this_present_treeLevel || that_present_treeLevel) {
|
||||
if (!(this_present_treeLevel && that_present_treeLevel))
|
||||
return false;
|
||||
if (this.treeLevel != that.treeLevel)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -960,6 +1016,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (present_pokemonTeamMap)
|
||||
list.add(pokemonTeamMap);
|
||||
|
||||
boolean present_treeLevel = true && (isSetTreeLevel());
|
||||
list.add(present_treeLevel);
|
||||
if (present_treeLevel)
|
||||
list.add(treeLevel);
|
||||
|
||||
return list.hashCode();
|
||||
}
|
||||
|
||||
|
@ -1071,6 +1132,16 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = Boolean.valueOf(isSetTreeLevel()).compareTo(other.isSetTreeLevel());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
if (isSetTreeLevel()) {
|
||||
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.treeLevel, other.treeLevel);
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1182,6 +1253,12 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
first = false;
|
||||
}
|
||||
if (isSetTreeLevel()) {
|
||||
if (!first) sb.append(", ");
|
||||
sb.append("treeLevel:");
|
||||
sb.append(this.treeLevel);
|
||||
first = false;
|
||||
}
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
|
@ -1418,6 +1495,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
case 11: // TREE_LEVEL
|
||||
if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
|
||||
struct.treeLevel = iprot.readI32();
|
||||
struct.setTreeLevelIsSet(true);
|
||||
} else {
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
|
@ -1570,6 +1655,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
oprot.writeFieldEnd();
|
||||
}
|
||||
}
|
||||
if (struct.isSetTreeLevel()) {
|
||||
oprot.writeFieldBegin(TREE_LEVEL_FIELD_DESC);
|
||||
oprot.writeI32(struct.treeLevel);
|
||||
oprot.writeFieldEnd();
|
||||
}
|
||||
oprot.writeFieldStop();
|
||||
oprot.writeStructEnd();
|
||||
}
|
||||
|
@ -1618,7 +1708,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (struct.isSetPokemonTeamMap()) {
|
||||
optionals.set(9);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 10);
|
||||
if (struct.isSetTreeLevel()) {
|
||||
optionals.set(10);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 11);
|
||||
if (struct.isSetTeams()) {
|
||||
{
|
||||
oprot.writeI32(struct.teams.size());
|
||||
|
@ -1711,12 +1804,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
}
|
||||
if (struct.isSetTreeLevel()) {
|
||||
oprot.writeI32(struct.treeLevel);
|
||||
}
|
||||
}
|
||||
|
||||
@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(10);
|
||||
BitSet incoming = iprot.readBitSet(11);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map139 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
|
||||
|
@ -1859,6 +1955,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
struct.setPokemonTeamMapIsSet(true);
|
||||
}
|
||||
if (incoming.get(10)) {
|
||||
struct.treeLevel = iprot.readI32();
|
||||
struct.setTreeLevelIsSet(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InvalidOperException extends TException implements org.apache.thrift.TBase<InvalidOperException, InvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class Pokemon implements org.apache.thrift.TBase<Pokemon, Pokemon._Fields>, java.io.Serializable, Cloneable, Comparable<Pokemon> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Pokemon");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class PropertyItem implements org.apache.thrift.TBase<PropertyItem, PropertyItem._Fields>, java.io.Serializable, Cloneable, Comparable<PropertyItem> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PropertyItem");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class PurpleMansionSeal implements org.apache.thrift.TBase<PurpleMansionSeal, PurpleMansionSeal._Fields>, java.io.Serializable, Cloneable, Comparable<PurpleMansionSeal> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PurpleMansionSeal");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCMatchRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RechargeResult implements org.apache.thrift.TBase<RechargeResult, RechargeResult._Fields>, java.io.Serializable, Cloneable, Comparable<RechargeResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RechargeResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class Result implements org.apache.thrift.TBase<Result, Result._Fields>, java.io.Serializable, Cloneable, Comparable<Result> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Result");
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* ArenaOfHeroManager 结构体
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class TeamPosHeroInfo implements org.apache.thrift.TBase<TeamPosHeroInfo, TeamPosHeroInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TeamPosHeroInfo> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TeamPosHeroInfo");
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCgTwRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCwTgRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -83,6 +83,7 @@ struct CrossArenaManager{
|
|||
8:optional map<i32,PurpleMansionSeal> seals;
|
||||
9:optional map<i32,i32> guildSkill;
|
||||
10:optional map<i32,string> pokemonTeamMap;
|
||||
11:optional i32 treeLevel;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-9-23")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-9-23")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-9-23")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCgTGRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-9-23")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOfHero._Fields>, java.io.Serializable, Cloneable, Comparable<ArenaOfHero> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ArenaOfHero");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaManager, CrossArenaManager._Fields>, java.io.Serializable, Cloneable, Comparable<CrossArenaManager> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CrossArenaManager");
|
||||
|
||||
|
@ -48,6 +48,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
private static final org.apache.thrift.protocol.TField SEALS_FIELD_DESC = new org.apache.thrift.protocol.TField("seals", org.apache.thrift.protocol.TType.MAP, (short)8);
|
||||
private static final org.apache.thrift.protocol.TField GUILD_SKILL_FIELD_DESC = new org.apache.thrift.protocol.TField("guildSkill", org.apache.thrift.protocol.TType.MAP, (short)9);
|
||||
private static final org.apache.thrift.protocol.TField POKEMON_TEAM_MAP_FIELD_DESC = new org.apache.thrift.protocol.TField("pokemonTeamMap", org.apache.thrift.protocol.TType.MAP, (short)10);
|
||||
private static final org.apache.thrift.protocol.TField TREE_LEVEL_FIELD_DESC = new org.apache.thrift.protocol.TField("treeLevel", org.apache.thrift.protocol.TType.I32, (short)11);
|
||||
|
||||
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
|
||||
static {
|
||||
|
@ -65,6 +66,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
public Map<Integer,PurpleMansionSeal> seals; // optional
|
||||
public Map<Integer,Integer> guildSkill; // optional
|
||||
public Map<Integer,String> pokemonTeamMap; // optional
|
||||
public int treeLevel; // 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 {
|
||||
|
@ -77,7 +79,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
POKEMONS((short)7, "pokemons"),
|
||||
SEALS((short)8, "seals"),
|
||||
GUILD_SKILL((short)9, "guildSkill"),
|
||||
POKEMON_TEAM_MAP((short)10, "pokemonTeamMap");
|
||||
POKEMON_TEAM_MAP((short)10, "pokemonTeamMap"),
|
||||
TREE_LEVEL((short)11, "treeLevel");
|
||||
|
||||
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
||||
|
||||
|
@ -112,6 +115,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return GUILD_SKILL;
|
||||
case 10: // POKEMON_TEAM_MAP
|
||||
return POKEMON_TEAM_MAP;
|
||||
case 11: // TREE_LEVEL
|
||||
return TREE_LEVEL;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
@ -154,8 +159,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
// isset id assignments
|
||||
private static final int __TOTALFORCE_ISSET_ID = 0;
|
||||
private static final int __YXLDFORCE_ISSET_ID = 1;
|
||||
private static final int __TREELEVEL_ISSET_ID = 2;
|
||||
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};
|
||||
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};
|
||||
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);
|
||||
|
@ -196,6 +202,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.STRING))));
|
||||
tmpMap.put(_Fields.TREE_LEVEL, new org.apache.thrift.meta_data.FieldMetaData("treeLevel", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
||||
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
||||
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
||||
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CrossArenaManager.class, metaDataMap);
|
||||
}
|
||||
|
@ -300,6 +308,7 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
Map<Integer,String> __this__pokemonTeamMap = new HashMap<Integer,String>(other.pokemonTeamMap);
|
||||
this.pokemonTeamMap = __this__pokemonTeamMap;
|
||||
}
|
||||
this.treeLevel = other.treeLevel;
|
||||
}
|
||||
|
||||
public CrossArenaManager deepCopy() {
|
||||
|
@ -320,6 +329,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
this.seals = null;
|
||||
this.guildSkill = null;
|
||||
this.pokemonTeamMap = null;
|
||||
setTreeLevelIsSet(false);
|
||||
this.treeLevel = 0;
|
||||
}
|
||||
|
||||
public int getTeamsSize() {
|
||||
|
@ -648,6 +659,29 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
|
||||
public int getTreeLevel() {
|
||||
return this.treeLevel;
|
||||
}
|
||||
|
||||
public CrossArenaManager setTreeLevel(int treeLevel) {
|
||||
this.treeLevel = treeLevel;
|
||||
setTreeLevelIsSet(true);
|
||||
return this;
|
||||
}
|
||||
|
||||
public void unsetTreeLevel() {
|
||||
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TREELEVEL_ISSET_ID);
|
||||
}
|
||||
|
||||
/** Returns true if field treeLevel is set (has been assigned a value) and false otherwise */
|
||||
public boolean isSetTreeLevel() {
|
||||
return EncodingUtils.testBit(__isset_bitfield, __TREELEVEL_ISSET_ID);
|
||||
}
|
||||
|
||||
public void setTreeLevelIsSet(boolean value) {
|
||||
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TREELEVEL_ISSET_ID, value);
|
||||
}
|
||||
|
||||
public void setFieldValue(_Fields field, Object value) {
|
||||
switch (field) {
|
||||
case TEAMS:
|
||||
|
@ -730,6 +764,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
break;
|
||||
|
||||
case TREE_LEVEL:
|
||||
if (value == null) {
|
||||
unsetTreeLevel();
|
||||
} else {
|
||||
setTreeLevel((Integer)value);
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -765,6 +807,9 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
case POKEMON_TEAM_MAP:
|
||||
return getPokemonTeamMap();
|
||||
|
||||
case TREE_LEVEL:
|
||||
return Integer.valueOf(getTreeLevel());
|
||||
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -796,6 +841,8 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return isSetGuildSkill();
|
||||
case POKEMON_TEAM_MAP:
|
||||
return isSetPokemonTeamMap();
|
||||
case TREE_LEVEL:
|
||||
return isSetTreeLevel();
|
||||
}
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
|
@ -903,6 +950,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return false;
|
||||
}
|
||||
|
||||
boolean this_present_treeLevel = true && this.isSetTreeLevel();
|
||||
boolean that_present_treeLevel = true && that.isSetTreeLevel();
|
||||
if (this_present_treeLevel || that_present_treeLevel) {
|
||||
if (!(this_present_treeLevel && that_present_treeLevel))
|
||||
return false;
|
||||
if (this.treeLevel != that.treeLevel)
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -960,6 +1016,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (present_pokemonTeamMap)
|
||||
list.add(pokemonTeamMap);
|
||||
|
||||
boolean present_treeLevel = true && (isSetTreeLevel());
|
||||
list.add(present_treeLevel);
|
||||
if (present_treeLevel)
|
||||
list.add(treeLevel);
|
||||
|
||||
return list.hashCode();
|
||||
}
|
||||
|
||||
|
@ -1071,6 +1132,16 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
return lastComparison;
|
||||
}
|
||||
}
|
||||
lastComparison = Boolean.valueOf(isSetTreeLevel()).compareTo(other.isSetTreeLevel());
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
if (isSetTreeLevel()) {
|
||||
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.treeLevel, other.treeLevel);
|
||||
if (lastComparison != 0) {
|
||||
return lastComparison;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1182,6 +1253,12 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
first = false;
|
||||
}
|
||||
if (isSetTreeLevel()) {
|
||||
if (!first) sb.append(", ");
|
||||
sb.append("treeLevel:");
|
||||
sb.append(this.treeLevel);
|
||||
first = false;
|
||||
}
|
||||
sb.append(")");
|
||||
return sb.toString();
|
||||
}
|
||||
|
@ -1418,6 +1495,14 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
case 11: // TREE_LEVEL
|
||||
if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
|
||||
struct.treeLevel = iprot.readI32();
|
||||
struct.setTreeLevelIsSet(true);
|
||||
} else {
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
|
||||
}
|
||||
|
@ -1570,6 +1655,11 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
oprot.writeFieldEnd();
|
||||
}
|
||||
}
|
||||
if (struct.isSetTreeLevel()) {
|
||||
oprot.writeFieldBegin(TREE_LEVEL_FIELD_DESC);
|
||||
oprot.writeI32(struct.treeLevel);
|
||||
oprot.writeFieldEnd();
|
||||
}
|
||||
oprot.writeFieldStop();
|
||||
oprot.writeStructEnd();
|
||||
}
|
||||
|
@ -1618,7 +1708,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
if (struct.isSetPokemonTeamMap()) {
|
||||
optionals.set(9);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 10);
|
||||
if (struct.isSetTreeLevel()) {
|
||||
optionals.set(10);
|
||||
}
|
||||
oprot.writeBitSet(optionals, 11);
|
||||
if (struct.isSetTeams()) {
|
||||
{
|
||||
oprot.writeI32(struct.teams.size());
|
||||
|
@ -1711,12 +1804,15 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
}
|
||||
}
|
||||
if (struct.isSetTreeLevel()) {
|
||||
oprot.writeI32(struct.treeLevel);
|
||||
}
|
||||
}
|
||||
|
||||
@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(10);
|
||||
BitSet incoming = iprot.readBitSet(11);
|
||||
if (incoming.get(0)) {
|
||||
{
|
||||
org.apache.thrift.protocol.TMap _map139 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.LIST, iprot.readI32());
|
||||
|
@ -1859,6 +1955,10 @@ public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaMana
|
|||
}
|
||||
struct.setPokemonTeamMapIsSet(true);
|
||||
}
|
||||
if (incoming.get(10)) {
|
||||
struct.treeLevel = iprot.readI32();
|
||||
struct.setTreeLevelIsSet(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-9-23")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InvalidOperException extends TException implements org.apache.thrift.TBase<InvalidOperException, InvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class Pokemon implements org.apache.thrift.TBase<Pokemon, Pokemon._Fields>, java.io.Serializable, Cloneable, Comparable<Pokemon> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Pokemon");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class PropertyItem implements org.apache.thrift.TBase<PropertyItem, PropertyItem._Fields>, java.io.Serializable, Cloneable, Comparable<PropertyItem> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PropertyItem");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class PurpleMansionSeal implements org.apache.thrift.TBase<PurpleMansionSeal, PurpleMansionSeal._Fields>, java.io.Serializable, Cloneable, Comparable<PurpleMansionSeal> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PurpleMansionSeal");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCMatchRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RechargeResult implements org.apache.thrift.TBase<RechargeResult, RechargeResult._Fields>, java.io.Serializable, Cloneable, Comparable<RechargeResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RechargeResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class Result implements org.apache.thrift.TBase<Result, Result._Fields>, java.io.Serializable, Cloneable, Comparable<Result> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Result");
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* ArenaOfHeroManager 结构体
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class TeamPosHeroInfo implements org.apache.thrift.TBase<TeamPosHeroInfo, TeamPosHeroInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TeamPosHeroInfo> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TeamPosHeroInfo");
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCgTwRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCwTgRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -28,6 +28,12 @@ public class SMServerRankConfig implements BaseConfig {
|
|||
|
||||
private int[] fitRobotPool;
|
||||
|
||||
private int scoreLow1;
|
||||
|
||||
private int scoreUp1;
|
||||
|
||||
|
||||
|
||||
public static Map<Integer, SMServerRankConfig> serverRankConfig;
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
@ -85,5 +91,11 @@ public class SMServerRankConfig implements BaseConfig {
|
|||
return fitRobotPool;
|
||||
}
|
||||
|
||||
public int getScoreLow1() {
|
||||
return scoreLow1;
|
||||
}
|
||||
|
||||
public int getScoreUp1() {
|
||||
return scoreUp1;
|
||||
}
|
||||
}
|
|
@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
|
|||
/**
|
||||
* Structs can also be exceptions, if they are nasty.
|
||||
*/
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
|
||||
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCgTwRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-13")
|
||||
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-14")
|
||||
public class RPCwTgRequestIFace {
|
||||
|
||||
public interface Iface {
|
||||
|
|
Loading…
Reference in New Issue