Project_WL/Assets/Script/UI/Center/Rank/Rank_PetBattle.cs

24 lines
614 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rank_PetBattle : ScrollViewMgr
{
public RankCard m_MyRankCard;
DateTime t;
private void OnEnable()
{
if ((t - ServerInfo.ServerTime).TotalSeconds <= 0d)
{
t = ServerInfo.ServerTime.AddMinutes(10);
//ServerInfo.Ins.Get_Rank("PetBattle", false, my => { m_MyRankCard.Set(my); m_MyRankCard.Set_MyCard(); }, list =>
//{
// DSUtil.Fix_Rank(list);
// Set_ScrollView(list, true);
//});
2024-12-15 01:39:39 +00:00
}
}
}