|
@@ -876,7 +876,6 @@ namespace GFGGame
|
|
{
|
|
{
|
|
if (redPointUpdateFrame < 0) return;
|
|
if (redPointUpdateFrame < 0) return;
|
|
if (!GameGlobal.AfterDataInited) return;
|
|
if (!GameGlobal.AfterDataInited) return;
|
|
- if (!GameGlobal.AutoShowCompleted) return;
|
|
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
LogUtil.LogEditor($"MainUIView UpdateRedDot redPointUpdateFrame {redPointUpdateFrame}");
|
|
LogUtil.LogEditor($"MainUIView UpdateRedDot redPointUpdateFrame {redPointUpdateFrame}");
|
|
if (redPointUpdateFrame == 0)
|
|
if (redPointUpdateFrame == 0)
|
|
@@ -1059,14 +1058,15 @@ namespace GFGGame
|
|
}
|
|
}
|
|
private void CheckAutoShowViews()
|
|
private void CheckAutoShowViews()
|
|
{
|
|
{
|
|
|
|
+ if (RoleDataManager.lvl < 10) return;
|
|
|
|
+ if (GuideDataManager.currentGuideId <= 0) return;
|
|
if (GameGlobal.AutoShowCompleted) return;
|
|
if (GameGlobal.AutoShowCompleted) return;
|
|
if (!GameGlobal.AfterDataInited) return;
|
|
if (!GameGlobal.AfterDataInited) return;
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
if (!ViewManager.CheckIsTopView(this.viewCom)) return;
|
|
//if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow()))
|
|
//if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow()))
|
|
if (GameGlobal.AutoSevenDayLoginView)
|
|
if (GameGlobal.AutoSevenDayLoginView)
|
|
{
|
|
{
|
|
- if (ActivityDataManager.Instance.CanGetSevenDayBonus() &&
|
|
|
|
- GuideDataManager.currentGuideId <= 0)
|
|
|
|
|
|
+ if (ActivityDataManager.Instance.CanGetSevenDayBonus())
|
|
{
|
|
{
|
|
ViewManager.Show<SevenDayLoginView>();
|
|
ViewManager.Show<SevenDayLoginView>();
|
|
return;
|
|
return;
|