cull(engine-cleanup): pass-8 phase-2 cascade round 2 after MyPageItemBattle stub
This commit is contained in:
@@ -17,8 +17,6 @@ public class AvatarBattleAllInfo
|
||||
|
||||
private Dictionary<string, AvatarBattleInfo> _avatarBattleDictionary = new Dictionary<string, AvatarBattleInfo>();
|
||||
|
||||
public PeriodData FreeMatchPeriod = new PeriodData();
|
||||
|
||||
private bool _avatarBattleScheduleExist;
|
||||
|
||||
private float _receiveSinceTime;
|
||||
@@ -37,18 +35,4 @@ public class AvatarBattleAllInfo
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private bool IsWithinPeriod(PeriodData period)
|
||||
{
|
||||
if (!_avatarBattleScheduleExist)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
double num = _receiveServerUnixTime + (double)Time.realtimeSinceStartup - (double)_receiveSinceTime;
|
||||
if (num > period.EndUnixTime)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return num > period.StartUnixTime;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user