| | |
| | | //例子 |
| | | //x天 |
| | | //x时 |
| | | //x分x秒 |
| | | //x分 |
| | | //x秒 |
| | | public static string SecondsToConsumeRebate(int _seconds) |
| | | { |
| | |
| | | } |
| | | else if (hours >= 1) |
| | | { |
| | | return StringUtility.Contact(Mathf.CeilToInt(hours), Language.Get("Hour")); |
| | | return StringUtility.Contact(Mathf.CeilToInt(hours), Language.Get("L1072")); |
| | | } |
| | | else if (mins >= 1) |
| | | { |
| | | return StringUtility.Contact(mins, Language.Get("Minute"), seconds, Language.Get("RealmWin_Bewrite_35")); |
| | | return StringUtility.Contact(mins, Language.Get("L1073")); |
| | | } |
| | | else |
| | | { |
| | | return StringUtility.Contact(seconds, Language.Get("RealmWin_Bewrite_35")); |
| | | return StringUtility.Contact(seconds, Language.Get("L1075")); |
| | | } |
| | | } |
| | | |