コード例 #1
0
    public ReqModify ModifyShip(UserShip ship)
    {
        ReqModify component = new ReqModify();

        component.ModifyShip(ship);
        return(component);
    }
コード例 #2
0
 public ReqModify ModifyShip(UserShip ship)
 {
     ReqModify component = new ReqModify();
     component.ModifyShip(ship);
     return component;
 }
コード例 #3
0
 private void reqSellItem(ShipEvoItemConfig config, int amount)
 {
     if (!this.isRequestingServer)
     {
         this.isRequestingServer = true;
         this.reqModify = ServerRequestManager.instance.SellModifyItem(config.cid, amount);
         this.reqModify.SellItemSuccess += new EventHandler<EventArgs>(this.OnSellSuccess);
         this.reqModify.SellItemFail += new EventHandler<EventArgs>(this.OnSellFail);
     }
 }
コード例 #4
0
 private void StartModify()
 {
     if (!this.isRequestingServer && GlobalLock.instance.CanGo)
     {
         GlobalLock.instance.GoNow();
     }
     else
     {
         return;
     }
     this.isRequestingServer = true;
     this.reqModify = ServerRequestManager.instance.ModifyShip(this.targetShip);
     this.reqModify.ModifySuccess += new EventHandler<EventArgs>(this.OnModifySuccess);
     this.reqModify.ModifyFail += new EventHandler<EventArgs>(this.OnModifyFail);
 }