示例#1
0
 private bool OnGmTalkRsp(GmTalkRsp rsp)
 {
     if (((rsp.get_retcode() == null) && rsp.get_msgSpecified()) && rsp.get_msg().Equals("CLEAR ALL", StringComparison.OrdinalIgnoreCase))
     {
         MiHoYoGameData.DeleteAllData();
     }
     return(false);
 }
示例#2
0
        public static void AutoTestForAndroid()
        {
            GameObject target = new GameObject("FakeAutoTest");

            UnityEngine.Object.DontDestroyOnLoad(target);
            MonoBehaviour behaviour = target.AddComponent <MonoBehaviour>();

            MiHoYoGameData.DeleteAllData();
            behaviour.StartCoroutine(DoAutoTestForAndroid());
        }
示例#3
0
 public void OnClearLocalDataCallBack()
 {
     MiHoYoGameData.DeleteAllData();
     this.Destroy();
 }