跑得快多局
parent
2a34165fe4
commit
e8cdeef66c
|
|
@ -328,7 +328,7 @@ public class RobotConnectionManager {
|
|||
huNanPaoDeKuai.getPaoDekuaiCardInhand().clear();
|
||||
ITArray card_list = huNanPaoDeKuai.getCard_list().getTArray("card_list");
|
||||
card_list.clear();
|
||||
// ready();
|
||||
huNanPaoDeKuai.ready(client);
|
||||
}
|
||||
|
||||
if (type == 1) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@ import com.taurus.core.entity.ITArray;
|
|||
import com.taurus.core.entity.ITObject;
|
||||
import com.taurus.core.entity.TObject;
|
||||
import com.taurus.core.plugin.redis.Redis;
|
||||
import com.taurus.core.util.ICallback;
|
||||
import redis.clients.jedis.Jedis;
|
||||
import taurus.client.MessageResponse;
|
||||
import taurus.client.TaurusClient;
|
||||
import taurus.util.CardObj;
|
||||
import taurus.util.CardUtil;
|
||||
|
|
@ -209,6 +211,26 @@ public class HuNanPaoDeKuai {
|
|||
}
|
||||
|
||||
|
||||
public void ready(TaurusClient client){
|
||||
try {
|
||||
// 添加1秒延迟
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
ITObject params = TObject.newInstance();
|
||||
params.putString("session", session + "," + token);
|
||||
|
||||
client.send("1003", params, new ICallback<MessageResponse>() {
|
||||
|
||||
@Override
|
||||
public void action(MessageResponse messageResponse) {
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public String piao(TaurusClient client){
|
||||
List<Integer> sl = new ArrayList<>();
|
||||
sl.add(0);
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +1,6 @@
|
|||
taurus\util\CardUtil.class
|
||||
robot\mj\Config.class
|
||||
robot\mj\handler\HuNanPaoDeKuai$3.class
|
||||
robot\mj\business\AccountBusiness.class
|
||||
robot\mj\handler\HuNanPaoDeKuai$1.class
|
||||
robot\mj\RobotConnectionManager.class
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue