public void Update()
        {
            if (GM.GetInstance().GameId != 0)
            {
                this.m_gameMiniTime += Time.deltaTime;
            }
            this.m_gameTotalTime += Time.deltaTime;
            AdsManager.GetInstance().Update();
            if ((DateTime.Now - GlobalTimer.m_instance.m_saveTimer).Days == 0)
            {
                return;
            }
            GlobalTimer.m_instance.m_saveTimer = DateTime.Now;
            GlobalTimer.m_instance.SaveTime();
            TaskData.GetInstance().Reset();
            Action expr_82 = this.RefreshHandle;

            if (expr_82 != null)
            {
                expr_82();
            }
            GoodsManager.GetInstance().Reset();
            LoginData.GetInstance().RunSerialDay();
            DotManager.GetInstance().Check();
            GM.GetInstance().ResetSkinFreeTime();
            GM.GetInstance().ResetFirstShare(0);
        }
 public static GoodsManager GetInstance()
 {
     if (GoodsManager.m_intance == null)
     {
         GoodsManager.m_intance = new GoodsManager();
     }
     return(GoodsManager.m_intance);
 }
 public static void Initialize()
 {
     GoodsManager.m_intance = new GoodsManager();
 }
 public bool isShowAds()
 {
     return(!GoodsManager.GetInstance().isPuchasedAds());
 }