Esempio n. 1
0
 private void OnBatOKClick(GameObject go)
 {
     this.batchAck.SetActive(false);
     MC2S_Diamond2Money mC2S_Diamond2Money = new MC2S_Diamond2Money();
     mC2S_Diamond2Money.Count = this.batCount;
     Globals.Instance.CliSession.Send(220, mC2S_Diamond2Money);
 }
Esempio n. 2
0
 private void HandleDiamond2MoneyCmd(CommandParser.Command param)
 {
     int count = 0;
     int.TryParse(param.GetParam(1), out count);
     MC2S_Diamond2Money mC2S_Diamond2Money = new MC2S_Diamond2Money();
     mC2S_Diamond2Money.Count = count;
     Globals.Instance.CliSession.Send(220, mC2S_Diamond2Money);
 }
Esempio n. 3
0
 private void OnAlchemyClick(GameObject go)
 {
     Globals.Instance.EffectSoundMgr.Play("ui/ui_001");
     if (Globals.Instance.Player.Data.D2MCount >= this.GetMaxD2MCount())
     {
         this.noCount.SetActive(true);
         return;
     }
     if (Tools.MoneyNotEnough(ECurrencyType.ECurrencyT_Diamond, this.GetD2MCost(), 0))
     {
         return;
     }
     this.batCount = 0;
     MC2S_Diamond2Money mC2S_Diamond2Money = new MC2S_Diamond2Money();
     mC2S_Diamond2Money.Count = 1;
     Globals.Instance.CliSession.Send(220, mC2S_Diamond2Money);
 }