Merge branch 'master_test_gn' into master_prb_gn

back_recharge
xuexinpeng 2021-11-23 16:07:15 +08:00
commit 8a1e4fe26a
47 changed files with 2694 additions and 76 deletions

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCgTGRequestIFace {
public interface Iface {

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCgTGRequestIFace {
public interface Iface {

View File

@ -21,6 +21,7 @@ import com.ljsd.jieling.util.MessageUtil;
import org.apache.thrift.TException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import rpc.protocols.ArenaInfoProto;
import rpc.protocols.MessageTypeProto;
import rpc.protocols.RoomProto;
import util.TimeUtils;
@ -209,6 +210,17 @@ public class CoreService implements RPCRequestIFace.Iface {
}
return null;
}
@Override
public boolean sendCrossLingmaiHongdian(int uid){
ISession sess = OnlineUserManager.sessionMap.get(uid);
if (sess != null) {
LOGGER.info("灵脉秘境红点logloglogggggggggggggg");
ArenaInfoProto.CrossLingmaiIndicationResponse.Builder indication = ArenaInfoProto.CrossLingmaiIndicationResponse.newBuilder();
MessageUtil.sendIndicationMessage(sess, 1, MessageTypeProto.MessageType.CrossLingmaiIndicationResponse_VALUE, indication.build(), true);
}
return false;
}
private PropertyItem buildrprcPropertyItem(com.ljsd.jieling.logic.dao.PropertyItem propertyItem,User user,Hero hero){
PropertyItem rpcPropertyItem = new PropertyItem();

View File

@ -251,6 +251,15 @@ public class CrossLingmaiSecretAreaBattleHandler extends BaseHandler<ArenaInfoPr
LOGGER.info("灵脉秘境红点logloglogggggggggggggg");
ArenaInfoProto.CrossLingmaiIndicationResponse.Builder indication = ArenaInfoProto.CrossLingmaiIndicationResponse.newBuilder();
MessageUtil.sendIndicationMessage(sess, 1, MessageTypeProto.MessageType.CrossLingmaiIndicationResponse_VALUE, indication.build(), true);
}else{
//CSPlayer csPlayer = CrossServiceLogic.getPlayerByRedis(proto.getChallengeUid());
if (csPlayer == null){
throw new ErrorCodeException(ErrorCode.USE_NOT_EXIT);
}else{
boolean hongdian = PlayerLogic.getInstance().sendCrossLingmaiHongdian(csPlayer);
LOGGER.info("跨服灵脉红点:"+hongdian);
}
}
}
}

View File

@ -950,6 +950,43 @@ public class PlayerLogic {
return crossArenaManager;
}
public boolean sendCrossLingmaiHongdian(CSPlayer csPlayer){
String rpcString = RedisUtil.getInstence().getObject(RedisKey.LOGIC_SERVER_INFO, String.valueOf(csPlayer.getServerId()), String.class, -1);
String[] split = rpcString.split(":");
if (split.length < 4){
LOGGER.error("获取玩家rpc地址长度错误rpc{},玩家id{},服务器id{}",rpcString,csPlayer.getUserId(),csPlayer.getServerId());
return false;
}
String ip = rpcString.split(":")[0];
String port = rpcString.split(":")[3];
//rpc 数据调用
//String ip =csPlayer.getRpcIp();
//int port = csPlayer.getRpcPort();
int uid = csPlayer.getUserId();
StringBuilder sb = new StringBuilder();
sb.append("RPCCORE").append("|")
.append(ip).append("|")
.append(port);
ClientAdapterPo<RPCRequestIFace.Client> rPCClient = null;
boolean isSuccess =false;
try{
rPCClient = ClientAdapterPo.getClientAdapterPo(sb.toString());
isSuccess = rPCClient.getClient().sendCrossLingmaiHongdian(uid);
}catch (Exception e) {
LOGGER.error("callback=>{}", e);
} finally {
if(rPCClient != null){
rPCClient.returnObject(sb.toString());
}else{
LOGGER.info("callback=> rPCClient is null ");
return isSuccess;
}
}
return isSuccess;
}
//获取跨服玩家信息
public CommonProto.TeamOneInfo getCrossYxldOneTeamInfo(int id,List<Integer> team) throws Exception {
CSPlayer csPlayer = CrossServiceLogic.getPlayerByRedis(id);

View File

@ -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-28")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-11-17")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCMatchRequestIFace {
public interface Iface {

View File

@ -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-11-10")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCRequestIFace {
public interface Iface {
@ -47,6 +47,8 @@ public class RPCRequestIFace {
public CrossArenaManager getHeroManagerInfo(int uid) throws org.apache.thrift.TException;
public boolean sendCrossLingmaiHongdian(int uid) throws org.apache.thrift.TException;
public boolean isContaintSensitiveWord(String txt, int matchType) throws org.apache.thrift.TException;
public Set<String> getSensitiveWord(String txt, int matchType) throws org.apache.thrift.TException;
@ -65,6 +67,8 @@ public class RPCRequestIFace {
public void getHeroManagerInfo(int uid, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void sendCrossLingmaiHongdian(int uid, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void isContaintSensitiveWord(String txt, int matchType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getSensitiveWord(String txt, int matchType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@ -192,6 +196,29 @@ public class RPCRequestIFace {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHeroManagerInfo failed: unknown result");
}
public boolean sendCrossLingmaiHongdian(int uid) throws org.apache.thrift.TException
{
send_sendCrossLingmaiHongdian(uid);
return recv_sendCrossLingmaiHongdian();
}
public void send_sendCrossLingmaiHongdian(int uid) throws org.apache.thrift.TException
{
sendCrossLingmaiHongdian_args args = new sendCrossLingmaiHongdian_args();
args.setUid(uid);
sendBase("sendCrossLingmaiHongdian", args);
}
public boolean recv_sendCrossLingmaiHongdian() throws org.apache.thrift.TException
{
sendCrossLingmaiHongdian_result result = new sendCrossLingmaiHongdian_result();
receiveBase(result, "sendCrossLingmaiHongdian");
if (result.isSetSuccess()) {
return result.success;
}
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "sendCrossLingmaiHongdian failed: unknown result");
}
public boolean isContaintSensitiveWord(String txt, int matchType) throws org.apache.thrift.TException
{
send_isContaintSensitiveWord(txt, matchType);
@ -430,6 +457,38 @@ public class RPCRequestIFace {
}
}
public void sendCrossLingmaiHongdian(int uid, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
sendCrossLingmaiHongdian_call method_call = new sendCrossLingmaiHongdian_call(uid, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
public static class sendCrossLingmaiHongdian_call extends org.apache.thrift.async.TAsyncMethodCall {
private int uid;
public sendCrossLingmaiHongdian_call(int uid, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.uid = uid;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("sendCrossLingmaiHongdian", org.apache.thrift.protocol.TMessageType.CALL, 0));
sendCrossLingmaiHongdian_args args = new sendCrossLingmaiHongdian_args();
args.setUid(uid);
args.write(prot);
prot.writeMessageEnd();
}
public boolean getResult() throws org.apache.thrift.TException {
if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_sendCrossLingmaiHongdian();
}
}
public void isContaintSensitiveWord(String txt, int matchType, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
isContaintSensitiveWord_call method_call = new isContaintSensitiveWord_call(txt, matchType, resultHandler, this, ___protocolFactory, ___transport);
@ -549,6 +608,7 @@ public class RPCRequestIFace {
processMap.put("getRecharge", new getRecharge());
processMap.put("mathcRoomAdressInfo", new mathcRoomAdressInfo());
processMap.put("getHeroManagerInfo", new getHeroManagerInfo());
processMap.put("sendCrossLingmaiHongdian", new sendCrossLingmaiHongdian());
processMap.put("isContaintSensitiveWord", new isContaintSensitiveWord());
processMap.put("getSensitiveWord", new getSensitiveWord());
processMap.put("getUserByRPC", new getUserByRPC());
@ -639,6 +699,27 @@ public class RPCRequestIFace {
}
}
public static class sendCrossLingmaiHongdian<I extends Iface> extends org.apache.thrift.ProcessFunction<I, sendCrossLingmaiHongdian_args> {
public sendCrossLingmaiHongdian() {
super("sendCrossLingmaiHongdian");
}
public sendCrossLingmaiHongdian_args getEmptyArgsInstance() {
return new sendCrossLingmaiHongdian_args();
}
protected boolean isOneway() {
return false;
}
public sendCrossLingmaiHongdian_result getResult(I iface, sendCrossLingmaiHongdian_args args) throws org.apache.thrift.TException {
sendCrossLingmaiHongdian_result result = new sendCrossLingmaiHongdian_result();
result.success = iface.sendCrossLingmaiHongdian(args.uid);
result.setSuccessIsSet(true);
return result;
}
}
public static class isContaintSensitiveWord<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isContaintSensitiveWord_args> {
public isContaintSensitiveWord() {
super("isContaintSensitiveWord");
@ -717,6 +798,7 @@ public class RPCRequestIFace {
processMap.put("getRecharge", new getRecharge());
processMap.put("mathcRoomAdressInfo", new mathcRoomAdressInfo());
processMap.put("getHeroManagerInfo", new getHeroManagerInfo());
processMap.put("sendCrossLingmaiHongdian", new sendCrossLingmaiHongdian());
processMap.put("isContaintSensitiveWord", new isContaintSensitiveWord());
processMap.put("getSensitiveWord", new getSensitiveWord());
processMap.put("getUserByRPC", new getUserByRPC());
@ -932,6 +1014,58 @@ public class RPCRequestIFace {
}
}
public static class sendCrossLingmaiHongdian<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, sendCrossLingmaiHongdian_args, Boolean> {
public sendCrossLingmaiHongdian() {
super("sendCrossLingmaiHongdian");
}
public sendCrossLingmaiHongdian_args getEmptyArgsInstance() {
return new sendCrossLingmaiHongdian_args();
}
public AsyncMethodCallback<Boolean> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<Boolean>() {
public void onComplete(Boolean o) {
sendCrossLingmaiHongdian_result result = new sendCrossLingmaiHongdian_result();
result.success = o;
result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
return;
} catch (Exception e) {
LOGGER.error("Exception writing to internal frame buffer", e);
}
fb.close();
}
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
sendCrossLingmaiHongdian_result result = new sendCrossLingmaiHongdian_result();
{
msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
}
try {
fcall.sendResponse(fb,msg,msgType,seqid);
return;
} catch (Exception ex) {
LOGGER.error("Exception writing to internal frame buffer", ex);
}
fb.close();
}
};
}
protected boolean isOneway() {
return false;
}
public void start(I iface, sendCrossLingmaiHongdian_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
iface.sendCrossLingmaiHongdian(args.uid,resultHandler);
}
}
public static class isContaintSensitiveWord<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, isContaintSensitiveWord_args, Boolean> {
public isContaintSensitiveWord() {
super("isContaintSensitiveWord");
@ -4694,6 +4828,726 @@ public class RPCRequestIFace {
}
public static class sendCrossLingmaiHongdian_args implements org.apache.thrift.TBase<sendCrossLingmaiHongdian_args, sendCrossLingmaiHongdian_args._Fields>, java.io.Serializable, Cloneable, Comparable<sendCrossLingmaiHongdian_args> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("sendCrossLingmaiHongdian_args");
private static final org.apache.thrift.protocol.TField UID_FIELD_DESC = new org.apache.thrift.protocol.TField("uid", org.apache.thrift.protocol.TType.I32, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new sendCrossLingmaiHongdian_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new sendCrossLingmaiHongdian_argsTupleSchemeFactory());
}
public int uid; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
UID((short)1, "uid");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // UID
return UID;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __UID_ISSET_ID = 0;
private byte __isset_bitfield = 0;
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);
tmpMap.put(_Fields.UID, new org.apache.thrift.meta_data.FieldMetaData("uid", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(sendCrossLingmaiHongdian_args.class, metaDataMap);
}
public sendCrossLingmaiHongdian_args() {
}
public sendCrossLingmaiHongdian_args(
int uid)
{
this();
this.uid = uid;
setUidIsSet(true);
}
/**
* Performs a deep copy on <i>other</i>.
*/
public sendCrossLingmaiHongdian_args(sendCrossLingmaiHongdian_args other) {
__isset_bitfield = other.__isset_bitfield;
this.uid = other.uid;
}
public sendCrossLingmaiHongdian_args deepCopy() {
return new sendCrossLingmaiHongdian_args(this);
}
@Override
public void clear() {
setUidIsSet(false);
this.uid = 0;
}
public int getUid() {
return this.uid;
}
public sendCrossLingmaiHongdian_args setUid(int uid) {
this.uid = uid;
setUidIsSet(true);
return this;
}
public void unsetUid() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __UID_ISSET_ID);
}
/** Returns true if field uid is set (has been assigned a value) and false otherwise */
public boolean isSetUid() {
return EncodingUtils.testBit(__isset_bitfield, __UID_ISSET_ID);
}
public void setUidIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __UID_ISSET_ID, value);
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case UID:
if (value == null) {
unsetUid();
} else {
setUid((Integer)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case UID:
return Integer.valueOf(getUid());
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case UID:
return isSetUid();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof sendCrossLingmaiHongdian_args)
return this.equals((sendCrossLingmaiHongdian_args)that);
return false;
}
public boolean equals(sendCrossLingmaiHongdian_args that) {
if (that == null)
return false;
boolean this_present_uid = true;
boolean that_present_uid = true;
if (this_present_uid || that_present_uid) {
if (!(this_present_uid && that_present_uid))
return false;
if (this.uid != that.uid)
return false;
}
return true;
}
@Override
public int hashCode() {
List<Object> list = new ArrayList<Object>();
boolean present_uid = true;
list.add(present_uid);
if (present_uid)
list.add(uid);
return list.hashCode();
}
@Override
public int compareTo(sendCrossLingmaiHongdian_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = Boolean.valueOf(isSetUid()).compareTo(other.isSetUid());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetUid()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uid, other.uid);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("sendCrossLingmaiHongdian_args(");
boolean first = true;
sb.append("uid:");
sb.append(this.uid);
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class sendCrossLingmaiHongdian_argsStandardSchemeFactory implements SchemeFactory {
public sendCrossLingmaiHongdian_argsStandardScheme getScheme() {
return new sendCrossLingmaiHongdian_argsStandardScheme();
}
}
private static class sendCrossLingmaiHongdian_argsStandardScheme extends StandardScheme<sendCrossLingmaiHongdian_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, sendCrossLingmaiHongdian_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // UID
if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
struct.uid = iprot.readI32();
struct.setUidIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, sendCrossLingmaiHongdian_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldBegin(UID_FIELD_DESC);
oprot.writeI32(struct.uid);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class sendCrossLingmaiHongdian_argsTupleSchemeFactory implements SchemeFactory {
public sendCrossLingmaiHongdian_argsTupleScheme getScheme() {
return new sendCrossLingmaiHongdian_argsTupleScheme();
}
}
private static class sendCrossLingmaiHongdian_argsTupleScheme extends TupleScheme<sendCrossLingmaiHongdian_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, sendCrossLingmaiHongdian_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetUid()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetUid()) {
oprot.writeI32(struct.uid);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, sendCrossLingmaiHongdian_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.uid = iprot.readI32();
struct.setUidIsSet(true);
}
}
}
}
public static class sendCrossLingmaiHongdian_result implements org.apache.thrift.TBase<sendCrossLingmaiHongdian_result, sendCrossLingmaiHongdian_result._Fields>, java.io.Serializable, Cloneable, Comparable<sendCrossLingmaiHongdian_result> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("sendCrossLingmaiHongdian_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new sendCrossLingmaiHongdian_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new sendCrossLingmaiHongdian_resultTupleSchemeFactory());
}
public boolean success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
SUCCESS((short)0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __SUCCESS_ISSET_ID = 0;
private byte __isset_bitfield = 0;
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);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(sendCrossLingmaiHongdian_result.class, metaDataMap);
}
public sendCrossLingmaiHongdian_result() {
}
public sendCrossLingmaiHongdian_result(
boolean success)
{
this();
this.success = success;
setSuccessIsSet(true);
}
/**
* Performs a deep copy on <i>other</i>.
*/
public sendCrossLingmaiHongdian_result(sendCrossLingmaiHongdian_result other) {
__isset_bitfield = other.__isset_bitfield;
this.success = other.success;
}
public sendCrossLingmaiHongdian_result deepCopy() {
return new sendCrossLingmaiHongdian_result(this);
}
@Override
public void clear() {
setSuccessIsSet(false);
this.success = false;
}
public boolean isSuccess() {
return this.success;
}
public sendCrossLingmaiHongdian_result setSuccess(boolean success) {
this.success = success;
setSuccessIsSet(true);
return this;
}
public void unsetSuccess() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
public void setSuccessIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((Boolean)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return Boolean.valueOf(isSuccess());
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof sendCrossLingmaiHongdian_result)
return this.equals((sendCrossLingmaiHongdian_result)that);
return false;
}
public boolean equals(sendCrossLingmaiHongdian_result that) {
if (that == null)
return false;
boolean this_present_success = true;
boolean that_present_success = true;
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (this.success != that.success)
return false;
}
return true;
}
@Override
public int hashCode() {
List<Object> list = new ArrayList<Object>();
boolean present_success = true;
list.add(present_success);
if (present_success)
list.add(success);
return list.hashCode();
}
@Override
public int compareTo(sendCrossLingmaiHongdian_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("sendCrossLingmaiHongdian_result(");
boolean first = true;
sb.append("success:");
sb.append(this.success);
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class sendCrossLingmaiHongdian_resultStandardSchemeFactory implements SchemeFactory {
public sendCrossLingmaiHongdian_resultStandardScheme getScheme() {
return new sendCrossLingmaiHongdian_resultStandardScheme();
}
}
private static class sendCrossLingmaiHongdian_resultStandardScheme extends StandardScheme<sendCrossLingmaiHongdian_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, sendCrossLingmaiHongdian_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
struct.success = iprot.readBool();
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, sendCrossLingmaiHongdian_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeBool(struct.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class sendCrossLingmaiHongdian_resultTupleSchemeFactory implements SchemeFactory {
public sendCrossLingmaiHongdian_resultTupleScheme getScheme() {
return new sendCrossLingmaiHongdian_resultTupleScheme();
}
}
private static class sendCrossLingmaiHongdian_resultTupleScheme extends TupleScheme<sendCrossLingmaiHongdian_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, sendCrossLingmaiHongdian_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetSuccess()) {
oprot.writeBool(struct.success);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, sendCrossLingmaiHongdian_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.success = iprot.readBool();
struct.setSuccessIsSet(true);
}
}
}
}
public static class isContaintSensitiveWord_args implements org.apache.thrift.TBase<isContaintSensitiveWord_args, isContaintSensitiveWord_args._Fields>, java.io.Serializable, Cloneable, Comparable<isContaintSensitiveWord_args> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isContaintSensitiveWord_args");
@ -6296,13 +7150,13 @@ public class RPCRequestIFace {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.SET) {
{
org.apache.thrift.protocol.TSet _set212 = iprot.readSetBegin();
struct.success = new HashSet<String>(2*_set212.size);
String _elem213;
for (int _i214 = 0; _i214 < _set212.size; ++_i214)
org.apache.thrift.protocol.TSet _set222 = iprot.readSetBegin();
struct.success = new HashSet<String>(2*_set222.size);
String _elem223;
for (int _i224 = 0; _i224 < _set222.size; ++_i224)
{
_elem213 = iprot.readString();
struct.success.add(_elem213);
_elem223 = iprot.readString();
struct.success.add(_elem223);
}
iprot.readSetEnd();
}
@ -6330,9 +7184,9 @@ public class RPCRequestIFace {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.success.size()));
for (String _iter215 : struct.success)
for (String _iter225 : struct.success)
{
oprot.writeString(_iter215);
oprot.writeString(_iter225);
}
oprot.writeSetEnd();
}
@ -6363,9 +7217,9 @@ public class RPCRequestIFace {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
for (String _iter216 : struct.success)
for (String _iter226 : struct.success)
{
oprot.writeString(_iter216);
oprot.writeString(_iter226);
}
}
}
@ -6377,13 +7231,13 @@ public class RPCRequestIFace {
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
org.apache.thrift.protocol.TSet _set217 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
struct.success = new HashSet<String>(2*_set217.size);
String _elem218;
for (int _i219 = 0; _i219 < _set217.size; ++_i219)
org.apache.thrift.protocol.TSet _set227 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
struct.success = new HashSet<String>(2*_set227.size);
String _elem228;
for (int _i229 = 0; _i229 < _set227.size; ++_i229)
{
_elem218 = iprot.readString();
struct.success.add(_elem218);
_elem228 = iprot.readString();
struct.success.add(_elem228);
}
}
struct.setSuccessIsSet(true);

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* ArenaOfHeroManager
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCgTwRequestIFace {
public interface Iface {

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCwTgRequestIFace {
public interface Iface {

View File

@ -100,7 +100,7 @@ service RPCRequestIFace{
RechargeResult getRecharge(1:i32 uid);
void mathcRoomAdressInfo(1:i32 uid,2:i32 type,3:string address);
CrossArenaManager getHeroManagerInfo(1:i32 uid);
bool sendCrossLingmaiHongdian(1:i32 uid);//
//
bool isContaintSensitiveWord(1:string txt, 2:i32 matchType);
//

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCgTGRequestIFace {
public interface Iface {

View File

@ -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-28")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-11-17")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCMatchRequestIFace {
public interface Iface {

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* ArenaOfHeroManager
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-10-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCgTwRequestIFace {
public interface Iface {

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCwTgRequestIFace {
public interface Iface {

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
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");

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCgTwRequestIFace {
public interface Iface {

View File

@ -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-21")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2021-11-23")
public class RPCwTgRequestIFace {
public interface Iface {