public void OfferBuyed(LogicOffer offer)
        {
            LogicOfferData data = offer.GetData();

            if (data.GetLinkedPackageId() != 0)
            {
                this.m_terminate = true;
            }

            int shopFrontPageCooldownAfterPurchaseSeconds = data.GetShopFrontPageCooldownAfterPurchaseSeconds();

            if (shopFrontPageCooldownAfterPurchaseSeconds > 0)
            {
                if (this.m_timer != null)
                {
                    this.m_timer.Destruct();
                    this.m_timer = null;
                }

                this.m_timer = new LogicTimer();
                this.m_timer.StartTimer(shopFrontPageCooldownAfterPurchaseSeconds, this.m_level.GetLogicTime(), false, -1);
            }
        }
 public LogicOffer(LogicOfferData data, LogicLevel level)
 {
     this.m_data  = data;
     this.m_level = level;
 }