Example #1
0
        void ParseWeightData()
        {
            m_TimeWeight    = TDRemoteConfigTable.QueryFloat(AdsAnalysisDefine.TIME_WEIGHT);
            m_RewardWeight  = TDRemoteConfigTable.QueryFloat(AdsAnalysisDefine.REWARD_WEIGHT);
            m_InterWeight   = TDRemoteConfigTable.QueryFloat(AdsAnalysisDefine.INTER_WEIGHT);
            m_ProcessWeight = TDRemoteConfigTable.QueryFloat(AdsAnalysisDefine.PROCESS_WEIGHT);

            m_ShowInterTime = TDRemoteConfigTable.QueryIntList(AdsAnalysisDefine.SHOW_INTER_TIME);
            m_SecInterTime  = TDRemoteConfigTable.QueryInt(AdsAnalysisDefine.SEC_INTER_TIME, -1);
        }
Example #2
0
        private void CheckIsUnpublishPackage()
        {
            if (Application.identifier != TDRemoteConfigTable.GetOfficialBundleID())
            {
                DataAnalysisMgr.S.CustomEventSingleton(DataAnalysisDefine.FAKE_APP, Application.identifier);

                if (m_OfficialVersionTimer <= 0)
                {
                    m_OfficialVersionTimer = Timer.S.Post2Scale(ShowOfficalVersionAD, 1);
                }
            }
        }
Example #3
0
        protected void InitRemoteConfig()
        {
            int maxLoadingCount = TDRemoteConfigTable.QueryInt("ad_max_loading_count");

            if (maxLoadingCount > 0)
            {
                AdInterface.MAX_LOADING_AD_COUNT = maxLoadingCount;
            }

            int maxLoadedCount = TDRemoteConfigTable.QueryInt("ad_max_loaded_count");

            if (maxLoadedCount > 0)
            {
                AdInterface.MAX_LOADED_AD_COUNT = maxLoadedCount;
            }

            float fulladLoadOffset = TDRemoteConfigTable.QueryFloat("ad_fullscreen_load_offset");

            if (fulladLoadOffset > 1)
            {
                AdInterface.FULLSCREEN_AD_LOAD_OFFSET = fulladLoadOffset;
            }
        }
 protected void OnClickDownloadButton()
 {
     DataAnalysisMgr.S.CustomEvent(DataAnalysisDefine.DOWNLOAD_OFFICIAL_VERSION, Application.identifier);
     SocialMgr.S.OpenMarketDownloadPage(TDRemoteConfigTable.GetOfficialBundleID());
 }