private void SendUseCoupon(string couponId)
 {
     this.isRequestingServer = true;
     this.reqcoupon = ServerRequestManager.instance.UseCoupon(couponId);
     this.reqcoupon.GetGiftSuccess += new EventHandler<EventArgs>(this.HandleGetGiftSuccess);
     this.reqcoupon.GetGiftFail += new EventHandler<EventArgs>(this.HandleGetGiftFail);
 }
Esempio n. 2
0
    public ReqCoupon UseCoupon(string couponId)
    {
        ReqCoupon component = new ReqCoupon();

        component.UseCoupon(couponId);
        return(component);
    }
 public ReqCoupon UseCoupon(string couponId)
 {
     ReqCoupon component = new ReqCoupon();
     component.UseCoupon(couponId);
     return component;
 }