
using System.Diagnostics;
using SGModule.NetKit;

public partial class Property
{
    public static readonly string adEvent = TrackEvent.Register("AD_Event");
    public static readonly string MaxPayEvent = TrackEvent.Register("Max_Pay_Event");
    public static readonly string IOS_Pay_Event = TrackEvent.Register("IOS_Pay_Event");

    public static readonly string withdraw_Event = TrackEvent.Register("withdraw_behavior");
    public static readonly string rank_Event = TrackEvent.Register("rank_show");
    public static readonly string video_Event = TrackEvent.Register("video_type");


    #region 加盒子

    public static readonly string BuyOneShow = TrackProperty.Register("BuyOneShow");
    public static readonly string BuyOneClick = TrackProperty.Register("BuyOneClick");
    public static readonly string BuyOneOpen = TrackProperty.Register("BuyOneOpen");
    public static readonly string BuyOneSuccess = TrackProperty.Register("BuyOneSuccess");

    public static readonly string BuyOneOffShow = TrackProperty.Register("BuyOneOffShow");
    public static readonly string BuyOneOffClick = TrackProperty.Register("BuyOneOffClick");
    public static readonly string BuyOneOffOpen = TrackProperty.Register("BuyOneOffOpen");
    public static readonly string BuyOneOffSuccess = TrackProperty.Register("BuyOneOffSuccess");

    public static readonly string BuyOneNewShow = TrackProperty.Register("BuyOneNewShow");
    public static readonly string BuyOneNewClick = TrackProperty.Register("BuyOneNewClick");
    public static readonly string BuyOneNewSuccess = TrackProperty.Register("BuyOneNewSuccess");
    #endregion

    #region 礼包

    public static readonly string FirstPackShow = TrackProperty.Register("FirstPackShow");
    public static readonly string FirstPackClick = TrackProperty.Register("FirstPackClick");
    public static readonly string FirstPackSuccess = TrackProperty.Register("FirstPackSuccess");

    public static readonly string RemoveAdShow = TrackProperty.Register("RemoveAdShow");
    public static readonly string RemoveAdClick = TrackProperty.Register("RemoveAdClick");
    public static readonly string RemoveAdSuccess = TrackProperty.Register("RemoveAdSuccess");

    #endregion

    #region 金币

    public static readonly string GoldShow = TrackProperty.Register("GoldShow");
    public static readonly string GoldOpen = TrackProperty.Register("GoldOpen");
    public static readonly string GoldClick = TrackProperty.Register("GoldClick");
    public static readonly string GoldClickAd = TrackProperty.Register("GoldClickAd");
    public static readonly string GoldSuccess = TrackProperty.Register("GoldSuccess");

    #endregion

    #region H5

    public static readonly string FlyCtNumber = TrackProperty.Register("FlyCtNumber");
    public static readonly string AnnularCtNumber = TrackProperty.Register("AnnularCtNumber");
    public static readonly string AnnularFinishNumber = TrackProperty.Register("AnnularFinishNumber");
    public static readonly string AnnularGetNumber = TrackProperty.Register("AnnularGetNumber");
    public static readonly string CollectFlyNumber = TrackProperty.Register("CollectFlyNumber");

    #endregion

    #region AF

    public static readonly string AfterRewardAdShow = TrackProperty.Register("AfterRewardAdShow");
    public static readonly string AfterRewardAdEnd = TrackProperty.Register("AfterRewardAdEnd");

    #endregion

    #region 通行证

    public static readonly string PassShow = TrackProperty.Register("PassShow");
    public static readonly string PassClick = TrackProperty.Register("PassClick");
    public static readonly string PassSuccess = TrackProperty.Register("PassSuccess");

    #endregion

    #region Interstitial

    public static readonly string InterstitialVideosFillNumber = TrackProperty.Register("InterstitialVideosFillNumber");

    #endregion

    #region AD

    public static readonly string AdLoadCode = TrackProperty.Register("AdLoadCode");
    public static readonly string AdShowCode = TrackProperty.Register("AdShowCode");

    #endregion

    #region Withdraw

    public static readonly string WithdrawMessage = TrackProperty.Register("WithdrawMessage");
    public static readonly string WithdrawCash = TrackProperty.Register("WithdrawCash");

    #endregion

    public static readonly string ACheck = TrackProperty.Register("ACheck");

    public static readonly string watch_ad_people = TrackProperty.Register("watch_ad_people");
    public static readonly string Rewarded_videos_trigger_number = TrackProperty.Register("Rewarded_videos_trigger_number");

    #region 储钱罐
    public static readonly string withdraw_cash1 = TrackProperty.Register("withdraw_cash1");
    public static readonly string withdraw_cash2 = TrackProperty.Register("withdraw_cash2");
    public static readonly string withdraw_cash3 = TrackProperty.Register("withdraw_cash3");
    #endregion

    #region 三天礼包
    public static readonly string ThreeDaysGiftShow = TrackProperty.Register("three_days_gift_show");
    public static readonly string ThreeDaysGiftBuySuccess = TrackProperty.Register("three_days_gift_buy_success");
    public static readonly string ThreeDaysGiftClick = TrackProperty.Register("three_days_gift_click");
    public static readonly string ThreeDays1GiftSuccess = TrackProperty.Register("three_day1_success");
    public static readonly string ThreeDays2GiftSuccess = TrackProperty.Register("three_day2_success");
    public static readonly string ThreeDays3GiftSuccess = TrackProperty.Register("three_day3_success");
    #endregion

    #region 失败礼包
    public static readonly string FailGiftOpen = TrackProperty.Register("FailGiftOpen");
    public static readonly string FailGiftShow = TrackProperty.Register("FailGiftShow");
    public static readonly string FailGiftClick = TrackProperty.Register("FailGiftClick");
    public static readonly string FailGiftSuccess = TrackProperty.Register("FailGiftSuccess");

    #endregion
    public static readonly string Af_purchase = TrackProperty.Register("af_purchase");

    #region rank
    public static readonly string RankShow = TrackProperty.Register("rank_show");
    #endregion

    public static readonly string WatchAdNumber = TrackProperty.Register("WatchAdNumber");
    public static readonly string FinishAdNumber = TrackProperty.Register("FinishAdNumber");


    public static readonly string open_show = TrackProperty.Register("open_show");
    public static readonly string open_show_people = TrackProperty.Register("open_show_people");
    public static readonly string open_click = TrackProperty.Register("open_click");
    public static readonly string open_click_people = TrackProperty.Register("open_click_people");
}

// public partial class TrackProperty
// {
//     static TrackProperty()
//     {
//         //H5相关
//         RegisterTrackData(strings.FlyCtNumber, new TrackData { Event = "Hall_behavior", Property = "fly_ct_number", N = 1 });
//         RegisterTrackData(strings.AnnularCtNumber, new TrackData { Event = "Hall_behavior", Property = "annular_ct_number", N = 1 });
//         RegisterTrackData(strings.AnnularFinishNumber, new TrackData { Event = "Hall_behavior", Property = "annular_finish_number", N = 1 });
//         RegisterTrackData(strings.AnnularGetNumber, new TrackData { Event = "Hall_behavior", Property = "annular_get_number", N = 1 });
//         RegisterTrackData(strings.CollectFlyNumber, new TrackData { Event = "Hall_behavior", Property = "collect_fly_number", N = 1 });



//         //广告相关
//         RegisterTrackData(strings.AfterRewardAdShow, new TrackData { Event = "AD_Event", Property = "afterRewardAdShow", N = 1 });
//         RegisterTrackData(strings.AfterRewardAdEnd, new TrackData { Event = "AD_Event", Property = "afterRewardAdEnd", N = 1 });

//         //Interstitial
//         RegisterTrackData(strings.InterstitialVideosFillNumber, new TrackData { Event = "video_type", Property = "Interstitial_videos_fill_number", N = 1 });

//         //AD
//         RegisterTrackData(strings.AdLoadCode, new TrackData { Event = "AD", Property = "ad_load_code_", N = 1 });
//         RegisterTrackData(strings.AdShowCode, new TrackData { Event = "AD", Property = "ad_show_code_", N = 1 });

//         //Withdraw
//         RegisterTrackData(strings.WithdrawMessage, new TrackData { Event = "withdraw_behavior", Property = "withdraw_message", N = 1 });
//         RegisterTrackData(strings.WithdrawCash, new TrackData { Event = "withdraw_behavior", Property = "withdraw_cash", N = 1 });
//         RegisterTrackData(strings.withdraw_cash1, new TrackData { Event = "withdraw_behavior", Property = "withdraw_cash1", N = 1 });
//         RegisterTrackData(strings.withdraw_cash2, new TrackData { Event = "withdraw_behavior", Property = "withdraw_cash2", N = 1 });
//         RegisterTrackData(strings.withdraw_cash3, new TrackData { Event = "withdraw_behavior", Property = "withdraw_cash3", N = 1 });

//         //审核打点
//         RegisterTrackData(strings.ACheck, new TrackData { Event = "ACheck_Event", Property = "", N = 1 });

//         RegisterTrackData(strings.watch_ad_people, new TrackData { Event = "video_behavior", Property = "watch_ad_people", N = 1 });
//         RegisterTrackData(strings.Rewarded_videos_trigger_number, new TrackData { Event = "video_behavior", Property = "Rewarded_videos_trigger_number", N = 1 });

//         //三天
//         RegisterTrackData(strings.ThreeDays1GiftSuccess, new TrackData { Event = "Three_days_gift_event", Property = "three_day1_success", N = 1 });
//         RegisterTrackData(strings.ThreeDays2GiftSuccess, new TrackData { Event = "Three_days_gift_event", Property = "three_day2_success", N = 1 });
//         RegisterTrackData(strings.ThreeDays3GiftSuccess, new TrackData { Event = "Three_days_gift_event", Property = "three_day3_success", N = 1 });

//         RegisterTrackData(strings.Af_purchase, new TrackData { Event = "af_purchase", Property = "af_revenue", N = 1 });

//         RegisterTrackData(strings.WatchAdNumber, new TrackData { Event = "ad_task", Property = "watch_ad_number", N = 1 });
//         RegisterTrackData(strings.FinishAdNumber, new TrackData { Event = "ad_task", Property = "finish_ad_number", N = 1 });

//         RegisterTrackData(strings.open_show, new TrackData { Event = "AD_Event", Property = "open_show", N = 1 });
//         RegisterTrackData(strings.open_show_people, new TrackData { Event = "AD_Event", Property = "open_show_people", N = 1 });
//         RegisterTrackData(strings.open_click, new TrackData { Event = "AD_Event", Property = "open_click", N = 1 });
//         RegisterTrackData(strings.open_click_people, new TrackData { Event = "AD_Event", Property = "open_click_people", N = 1 });
//     }

//     public static void InitTrackData()
//     {
//         string event_ = "AD_Event";
//         if (NetworkKit.Instance.GetLoginModel().Enwp == 1)
//         {
//             event_ = MaxPayManager.isIOSPay ? "IOS_Pay_Event" : "Max_Pay_Event";
//         }
//         RegisterTrackData(strings.BuyOneShow, new TrackData { Event = event_, Property = "buy_one_show", N = 1 });
//         RegisterTrackData(strings.BuyOneClick, new TrackData { Event = event_, Property = "buy_one_click", N = 1 });
//         RegisterTrackData(strings.BuyOneOpen, new TrackData { Event = event_, Property = "buy_one_open", N = 1 });
//         RegisterTrackData(strings.BuyOneSuccess, new TrackData { Event = event_, Property = "buy_one_success", N = 1 });


//         RegisterTrackData(strings.BuyOneOffShow, new TrackData { Event = event_, Property = "buy_one_off_show", N = 1 });
//         RegisterTrackData(strings.BuyOneOffClick, new TrackData { Event = event_, Property = "buy_one_off_click", N = 1 });
//         RegisterTrackData(strings.BuyOneOffOpen, new TrackData { Event = event_, Property = "buy_one_off_open", N = 1 });
//         RegisterTrackData(strings.BuyOneOffSuccess, new TrackData { Event = event_, Property = "buy_one_off_success", N = 1 });

//         RegisterTrackData(strings.BuyOneNewShow, new TrackData { Event = event_, Property = "kaiju_show", N = 1 });
//         RegisterTrackData(strings.BuyOneNewClick, new TrackData { Event = event_, Property = "kaiju_click", N = 1 });
//         RegisterTrackData(strings.BuyOneNewSuccess, new TrackData { Event = event_, Property = "kaiju_success", N = 1 });

//         //礼包相关
//         RegisterTrackData(strings.FirstPackShow, new TrackData { Event = event_, Property = "first_pack_show", N = 1 });
//         RegisterTrackData(strings.FirstPackClick, new TrackData { Event = event_, Property = "lucky_gift_click", N = 1 });
//         RegisterTrackData(strings.FirstPackSuccess, new TrackData { Event = event_, Property = "lucky_gift_success", N = 1 });

//         //免广告礼包相关
//         RegisterTrackData(strings.RemoveAdShow, new TrackData { Event = event_, Property = "gift_show", N = 1 });
//         RegisterTrackData(strings.RemoveAdClick, new TrackData { Event = event_, Property = "remove_ad_click", N = 1 });
//         RegisterTrackData(strings.RemoveAdSuccess, new TrackData { Event = event_, Property = "remove_ad_success", N = 1 });

//         //购买金币相关
//         RegisterTrackData(strings.GoldShow, new TrackData { Event = event_, Property = "shop_show", N = 1 });
//         RegisterTrackData(strings.GoldOpen, new TrackData { Event = event_, Property = "shop_open_", N = 1 });
//         RegisterTrackData(strings.GoldClick, new TrackData { Event = event_, Property = "gold_click_", N = 1 });
//         RegisterTrackData(strings.GoldClickAd, new TrackData { Event = event_, Property = "gold_click_ad", N = 1 });
//         RegisterTrackData(strings.GoldSuccess, new TrackData { Event = event_, Property = "gold_success_", N = 1 });

//         //通行证相关
//         RegisterTrackData(strings.PassShow, new TrackData { Event = event_, Property = "master_pass_show", N = 1 });
//         RegisterTrackData(strings.PassClick, new TrackData { Event = event_, Property = "master_pass_click", N = 1 });
//         RegisterTrackData(strings.PassSuccess, new TrackData { Event = event_, Property = "master_pass_success", N = 1 });
//         //失败礼包
//         RegisterTrackData(strings.FailGiftOpen, new TrackData { Event = event_, Property = "fail_open", N = 1 });
//         RegisterTrackData(strings.FailGiftShow, new TrackData { Event = event_, Property = "fail_show", N = 1 });
//         RegisterTrackData(strings.FailGiftClick, new TrackData { Event = event_, Property = "fail_click", N = 1 });
//         RegisterTrackData(strings.FailGiftSuccess, new TrackData { Event = event_, Property = "fail_buy_success", N = 1 });
//         //三天
//         RegisterTrackData(strings.ThreeDaysGiftShow, new TrackData { Event = event_, Property = "three_days_gift_show", N = 1 });
//         RegisterTrackData(strings.ThreeDaysGiftBuySuccess, new TrackData { Event = event_, Property = "three_days_gift_buy_success", N = 1 });
//         RegisterTrackData(strings.ThreeDaysGiftClick, new TrackData { Event = event_, Property = "three_days_gift_click", N = 1 });

//         RegisterTrackData(strings.RankShow, new TrackData { Event = event_, Property = "rank_show", N = 1 });
//     }
// }
