少年修仙传客户端代码仓库
hch
2025-07-02 600733c8f592cb9e65f2b7a3e110ac1d686e6bfe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using vnxbqy.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
 
 
class FaQiWin : ILOneLevelWindow
{
    protected override void BindController()
    {
        base.BindController();
    }
 
    protected override void AddListeners()
    {
        base.AddListeners();
        SetFunctionListener(0, OnClikcFaQiLVUPTitle);
        SetFunctionListener(1, OnClickShenTongTitle);
        SetFunctionListener(2, OnClickZhenFaTitle);
    }
    protected override void OnPreOpen()
    {
        if (FaQiLVUPModel.Instance.redpoint1.state == RedPointState.Simple)
        {
            proxy.functionOrder = 0;
        }
        else if (ShentongModel.Instance.redpoint1.state == RedPointState.Simple)
        {
            proxy.functionOrder = 1;
        }
    }
 
 
 
    void OnClikcFaQiLVUPTitle()
    {
        CloseAllChildWindow();
        WindowCenter.Instance.OpenIL<FaQiLVUPWin>();
    }
 
    void OnClickZhenFaTitle()
    {
 
    }
 
    void OnClickShenTongTitle()
    {
        CloseAllChildWindow();
        WindowCenter.Instance.OpenIL<ShentongWin>();
    }
}