public static GameWebAPI.ColosseumDeckInfoLogic Request() { GameWebAPI.ColosseumDeckInfoLogic colosseumDeckInfoLogic = new GameWebAPI.ColosseumDeckInfoLogic(); colosseumDeckInfoLogic.SetSendData = delegate(GameWebAPI.ReqData_ColosseumDeckInfoLogic param) { param.target = "me"; }; RequestTypeBase <GameWebAPI.ReqData_ColosseumDeckInfoLogic, GameWebAPI.RespData_ColosseumDeckInfoLogic> requestTypeBase = colosseumDeckInfoLogic; if (ColosseumDeckWeb.< > f__mg$cache1 == null) { ColosseumDeckWeb.< > f__mg$cache1 = new Action <GameWebAPI.RespData_ColosseumDeckInfoLogic>(ColosseumDeckWeb.OnResponseDeck); } requestTypeBase.OnReceived = ColosseumDeckWeb.< > f__mg$cache1; return(colosseumDeckInfoLogic); }
public static APIRequestTask RequestDeck() { GameWebAPI.ColosseumDeckInfoLogic colosseumDeckInfoLogic = new GameWebAPI.ColosseumDeckInfoLogic(); colosseumDeckInfoLogic.SetSendData = delegate(GameWebAPI.ReqData_ColosseumDeckInfoLogic param) { param.target = "me"; }; RequestTypeBase <GameWebAPI.ReqData_ColosseumDeckInfoLogic, GameWebAPI.RespData_ColosseumDeckInfoLogic> requestTypeBase = colosseumDeckInfoLogic; if (ColosseumDeckWeb.< > f__mg$cache0 == null) { ColosseumDeckWeb.< > f__mg$cache0 = new Action <GameWebAPI.RespData_ColosseumDeckInfoLogic>(ColosseumDeckWeb.OnResponseDeck); } requestTypeBase.OnReceived = ColosseumDeckWeb.< > f__mg$cache0; GameWebAPI.ColosseumDeckInfoLogic request = colosseumDeckInfoLogic; return(new APIRequestTask(request, false)); }