1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
 
// 开服活动-红颜冲榜排行奖励
public class OSRankBeautyMMAwardWin : OSRankAwardBaseWin
{
    protected override int GetRankType() => 8; // 8对应红颜冲榜
    
    // 提供红颜榜的奖励字典 Key
    protected override ICollection<int> GetAwardKeys() => OSActivityManager.Instance.beautyMMRankAwards.Keys;
 
    protected override void OnRefreshCell(ScrollerDataType type, CellView cell)
    {
        var _cell = cell.GetComponent<OSRankBeautyMMAwardCell>();
        _cell.Display(cell.index);
    }
}