コード例 #1
0
ファイル: RuneMagicCraftDialog.cs プロジェクト: Mixi59/Stump
        public void StopAutoCraft(ExchangeReplayStopReasonEnum reason = ExchangeReplayStopReasonEnum.STOPPED_REASON_USER)
        {
            if (m_autoCraftTimer != null)
            {
                m_autoCraftTimer.Stop();
                m_autoCraftTimer = null;

                OnAutoCraftStopped(reason);
                ChangeAmount(1);
            }
        }
コード例 #2
0
 protected override void OnAutoCraftStopped(ExchangeReplayStopReasonEnum reason)
 {
     InventoryHandler.SendExchangeItemAutoCraftStopedMessage(Receiver.Character.Client, reason);
     InventoryHandler.SendExchangeItemAutoCraftStopedMessage(Crafter.Character.Client, reason);
 }
コード例 #3
0
ファイル: RuneMagicCraftDialog.cs プロジェクト: Mixi59/Stump
 protected virtual void OnAutoCraftStopped(ExchangeReplayStopReasonEnum reason)
 {
 }
コード例 #4
0
 public static void SendExchangeItemAutoCraftStopedMessage(IPacketReceiver client, ExchangeReplayStopReasonEnum reason)
 {
     client.Send(new ExchangeItemAutoCraftStopedMessage((sbyte)reason));
 }