Examples of AdminTrade


Examples of uk.co.thomasc.scrapbanktf.scrap.listeners.AdminTrade

    msg.handle(SessionStartCallback.class, new ActionT<SessionStartCallback>() {
      @Override
      public void call(SessionStartCallback call) {
        TradeListener listener = new ScrapTrade(Bot.this);
        if (BotInfo.getAdmins().contains(call.getOtherClient().convertToLong())) {
          listener = new AdminTrade(Bot.this);
        } else if (Main.bots.contains(call.getOtherClient())) {
          listener = new ExchangeTrade(Bot.this);
        }
        try {
          currentTrade = new Trade(steamUser.getSteamId(), call.getOtherClient(), sessionId, token, listener);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.