hch
37 分钟以前 cba555476b1f1b856b9211451e739d8cdce0eeba
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
54
//--------------------------------------------------------
//    [Author]:           玩个游戏
//    [  Date ]:           Tuesday, July 24, 2018
//--------------------------------------------------------
 
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
 
 
public class MainBossEnterWin : UIBase
{
    [SerializeField] Text fbNameText;
    [SerializeField] Button CloseBtn;
    [SerializeField] Button rankBtn;
 
 
    protected override void InitComponent()
    {
        CloseBtn.AddListener(CloseWindow);
        rankBtn.AddListener(()=>
        {
            RankModel.Instance.ResetQueryParam();
            RankModel.Instance.QueryRankByPage(1, watchID: (int)PlayerDatas.Instance.baseData.PlayerID);
            var win = UIManager.Instance.OpenWindow<PlayerRankWin>();
            win.rankType = 1;
            
        });
    }
 
    protected override void OnPreOpen()
    {
 
    }
 
    protected override void OnOpen()
    {
    }
 
    protected override void OnPreClose()
    {
 
    }
 
    protected override void OnClose()
    {
        base.OnClose();
    }
 
 
 
}