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); }
public static void AutoTestForAndroid() { GameObject target = new GameObject("FakeAutoTest"); UnityEngine.Object.DontDestroyOnLoad(target); MonoBehaviour behaviour = target.AddComponent <MonoBehaviour>(); MiHoYoGameData.DeleteAllData(); behaviour.StartCoroutine(DoAutoTestForAndroid()); }
public void OnClearLocalDataCallBack() { MiHoYoGameData.DeleteAllData(); this.Destroy(); }