public static IEnumerator GetMasterDataVersion(MonoBehaviour coroutineObj, MasterDataFileIO fileIO, MasterDataVersionInfo masterDataVersion) { global::Debug.Assert(null != masterDataVersion, "マスターデータのバージョン格納先がNULLです."); yield return(coroutineObj.StartCoroutine(MasterDataVersionUpCheck.LoadLocalMasterDataVersionInfo(masterDataVersion, fileIO))); yield return(coroutineObj.StartCoroutine(MasterDataVersionUpCheck.GetServerMasterDataVersionInfo(masterDataVersion))); yield break; }
private static IEnumerator LoadLocalMasterDataVersionInfo(MasterDataVersionInfo masterDataVersion, MasterDataFileIO fileIO) { return(fileIO.ReadMasterDataVersionFile(delegate(GameWebAPI.RespDataCM_MDVersion data) { masterDataVersion.localVersion = data; })); }