Пример #1
0
        public override void GameStepInfo(string step, string type)
        {
            Dictionary <string, string> paramsDic = new Dictionary <string, string>();

            paramsDic.Add("step", step);
            paramsDic.Add("type", type);
            MSDKReport.ReportEvent("GameStepInfo", paramsDic, "", true);
        }
Пример #2
0
 public override void InitGCloud(InitializeInfo cloudInfo)
 {
     MSDKLogin.LoginRetEvent        += OnLoginRetEvent;
     MSDKLogin.LoginBaseRetEvent    += OnLoginBaseRetEvent;
     MSDKNotice.NoticeRetEvent      += OnNoticeRetEvent;
     MSDKPush.PushBaseRetEvent      += OnPushBaseRetEvent;
     MSDKPush.PushNotificationEvent += OnPushNotificationEvent;
     MSDKCrash.CrashBaseRetEvent    += OnCrashBaseRetEvent;
     IGCloud.Instance.Initialize(cloudInfo);
     RegisterDirCallback();
     inited = true;
     MSDKPush.RegisterPush("XG");
     MSDKReport.Init("Beacon,TDM");
     MSDK.Init();
 }
Пример #3
0
 public override void ReportEvent(string eventName, Dictionary <string, string> paramsDic, string spChannels = "", bool isRealTime = true)
 {
     MSDKReport.ReportEvent(eventName, paramsDic, spChannels, isRealTime);
 }