hch
5 天以前 03b4d02041aae9867483d5bf9acc91690feca668
0312 打开主界面触发下载
2个文件已修改
9 ■■■■ 已修改文件
Main/System/AssetVersion/InGameDownLoad.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Main/MainWin.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/AssetVersion/InGameDownLoad.cs
@@ -92,16 +92,10 @@
    private void Awake()
    {
        DownloadHotMgr.MaxDownLoadTask = GetMaxTask();
        DTC0403_tagPlayerLoginLoadOK.playerLoginOkEvent += OnPlayerLoginOk;
    }
    protected override void OnDestroy()
    {
        DTC0403_tagPlayerLoginLoadOK.playerLoginOkEvent -= OnPlayerLoginOk;
        base.OnDestroy();
    }
    
    void OnPlayerLoginOk()
    public void OnPlayerLoginOk()
    {
        OnPlayerLevelChange(PlayerDataType.LV);
    }
Main/System/Main/MainWin.cs
@@ -40,6 +40,7 @@
    protected override void InitComponent()
    {
        base.InitComponent();
        InGameDownLoad.Instance.OnPlayerLoginOk();
        avatarCell.redpoint.redpointId = MainRedDot.PhantasmPavilionRepoint;
        avatarCell.SetListener(() =>
        {