public void StopAutoCraft(ExchangeReplayStopReasonEnum reason = ExchangeReplayStopReasonEnum.STOPPED_REASON_USER) { if (m_autoCraftTimer != null) { m_autoCraftTimer.Stop(); m_autoCraftTimer = null; OnAutoCraftStopped(reason); ChangeAmount(1); } }
public void Regrow() { if (m_regrowTimer != null) { m_regrowTimer.Stop(); m_regrowTimer = null; } InteractiveObject.Map.Refresh(InteractiveObject); InteractiveObject.SetInteractiveState(InteractiveStateEnum.STATE_NORMAL); }