登入流程
2023-12-06 11:26:09 0 举报
登入流程
作者其他创作
大纲/内容
COWGameEntry.Start()
ResHotUpdater.StartGetLocalVersion()
result
UILauncherController.OnLaunchGame
step3.1:ResHotUpdater.onLocalFileInfoLoaded_Pass()
ResUpdateDownloadEngine.StartGetLocalVersionInfo()
UILauncherController.OnUIOpen()
UILauncherController.OnColdUpdate()
IEnumerator:UILauncherController.StartLocDownload()
ResHotUpdateResult.PASS
UILauncherController.StartVersionCheck()
GameStartup.StartLauncher()
UILauncherController.OnHotUpdateError()
HttpErrorCode.OK
type_List
step1:ResHotUpdater.onLocalVersionInfoLoaded()
ret != ResErrorCode.OK
ShowMessageBox
ResErrorCode
errorCode != HttpErrorCode.OKtip:ResHotUpdater.LastError
UILauncherController.CheckVersion()
need down
ResHotUpdater.StartDownloadContextByType()
ResHotUpdaterContext
m_LaucherController.UIOpen()
UILauncherController.OnOptionalCommonFileDownloaded()
m_LocalVersionInfo.LoadFileInfo
step 2:ResHotUpdater.onRemoveVersionInfoLoaded()
UILauncherController.OnHotUpdateFinished()
COWGameEntry.EnterFrontEndGame()
ResDownloadType.CompulsoryRes
这里开始多语言Loc处理
ResHotUpdaterContext.OnGetLocalVerionFinished
GameStartup.Start()
GameStartup.StartGame()
Finish
IEnumerator:UILauncherController.StartLoginCommonDownload()
UILauncherController.StartLoginDownload()
GameStartup.LaunchGame()
done
Launch
ResHotUpdateResult.ERRORtip:ResHotUpdater.LastError
ResHotUpdaterContext.OnStarted
create
ResHotUpdateResult.ERROR
COWGameEntry
IEnumerator:UILauncherController.StartLaunchGame()
ResDownloadType.OptionalLocRes
这里开始处理登入前的资源更新
UILauncherController.OnLocUpdateError()
UILauncherController.RetrieveVerInfo()
m_LocalVersionInfo.Load
ResHotUpdater.StartVersionCheck()
ret == ResErrorCode.OK
这里开始处理热更信息(CDN)
UILauncherController.OnLocDownloaded()
0 条评论
下一页