Пример #1
0
 public static bool CanSendFreeTroopRequest(uint currentServerTime, uint troopRequestDate)
 {
     return(SquadUtils.GetTroopRequestTimeLeft(currentServerTime, troopRequestDate) <= 0);
 }
Пример #2
0
 public static int GetTroopRequestCrystalCost(uint currentServerTime, uint troopRequestDate)
 {
     return(GameUtils.SecondsToCrystals(SquadUtils.GetTroopRequestTimeLeft(currentServerTime, troopRequestDate)));
 }