示例#1
0
    public static void SendGetTaiXiuEventTop(string api, TaiXiuEventType type, string day)
    {
        STaiXiuEventTop data = new STaiXiuEventTop
        {
            type = (int)type,
            day  = day
        };

        WebServiceController.Instance.urlApiCustom = api;
        WebServiceController.Instance.SendRequest(WebServiceCode.Code.GetTaiXiuEventTop, data, HTTPMethods.Get);
    }
 public void SendGetEventTop(TaiXiuEventType type, string day)
 {
     UILayerController.Instance.ShowLoading();
     SendRequest.SendGetTaiXiuEventTop(_APIEVENT, type, day);
 }
 private void LoadTab(TaiXiuEventType type)
 {
     currentType              = type;
     btTabWin.VKInteractable  = type != TaiXiuEventType.Win;
     btTabLose.VKInteractable = type != TaiXiuEventType.Lose;
 }