24 lines
570 B
C#
24 lines
570 B
C#
using asap.core;
|
|
using cfg;
|
|
using game;
|
|
using GameCore;
|
|
using System.Collections.Generic;
|
|
|
|
public partial class HomePanel
|
|
{
|
|
bool AquariumUpdate()
|
|
{
|
|
var _dataProvider = GContext.container.Resolve<FishingBoxDataProvier>();
|
|
Dictionary<int, int> FishingBoxs = _dataProvider.Data.FishingBoxs;
|
|
foreach (var item in FishingBoxs)
|
|
{
|
|
if (item.Value > 0)
|
|
{
|
|
UIManager.Instance.ShowUI(UITypes.AquariumUpdatePopupPanel);
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
}
|