|
@@ -216,15 +216,17 @@ namespace GFGGame
|
|
//long lastTime = GameGlobal.lastLoginTime; // GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
//long lastTime = GameGlobal.lastLoginTime; // GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
|
|
|
|
//if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow()))
|
|
//if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow()))
|
|
- //{
|
|
|
|
|
|
+ if (GameGlobal.isLogon)
|
|
|
|
+ {
|
|
if (ActivityDataManager.Instance.sevenDayLoginBonusStatus == ConstBonusStatus.CAN_GET &&
|
|
if (ActivityDataManager.Instance.sevenDayLoginBonusStatus == ConstBonusStatus.CAN_GET &&
|
|
GuideDataManager.currentGuideId <= 0)
|
|
GuideDataManager.currentGuideId <= 0)
|
|
{
|
|
{
|
|
ViewManager.Show<SevenDayLoginView>();
|
|
ViewManager.Show<SevenDayLoginView>();
|
|
|
|
+ GameGlobal.isLogon = false;
|
|
}
|
|
}
|
|
|
|
|
|
//GameGlobal.lastLoginTime = GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
//GameGlobal.lastLoginTime = GameGlobal.myNumericComponent.GetAsInt(NumericType.OnlineTimeSecs);
|
|
- //}
|
|
|
|
|
|
+ }
|
|
|
|
|
|
SetPos();
|
|
SetPos();
|
|
GetAdIds();
|
|
GetAdIds();
|