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