| | |
| | | public readonly string dateFormat = "yyyy.MM.dd"; |
| | | public string nowUuid = string.Empty; |
| | | public int personalMailMaxLimitCount; |
| | | |
| | | |
| | | public override void Init() |
| | | { |
| | | if (tabRedpoint0 == null) |
| | | { |
| | | tabRedpoint0 = new Redpoint(MainRedDot.MailRepoint, GetTabRedpointId(MailCategory.Personal)); |
| | | } |
| | | if (tabRedpoint1 == null) |
| | | { |
| | | tabRedpoint1 = new Redpoint(MainRedDot.MailRepoint, GetTabRedpointId(MailCategory.Global)); |
| | | } |
| | | tabRedpoint0 = new Redpoint(MainRedDot.MailRepoint, GetTabRedpointId(MailCategory.Personal)); |
| | | tabRedpoint1 = new Redpoint(MainRedDot.MailRepoint, GetTabRedpointId(MailCategory.Global)); |
| | | DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += OnBeforePlayerDataInitializeEvent; |
| | | personalMailMaxLimitCount = int.Parse(FuncConfigConfig.Get("PersonalMail").Numerical1); |
| | | } |
| | |
| | | { |
| | | // 小于1天(但未过期):按精确的小时/分钟显示。 |
| | | TimeSpan t = TimeSpan.FromDays(days); |
| | | result = Language.Get("Mail12",StringUtility.Contact( " ", Language.Get("Mail13", t.Hours, t.Minutes))); |
| | | result = Language.Get("Mail12", StringUtility.Contact(" ", Language.Get("Mail13", t.Hours, t.Minutes))); |
| | | } |
| | | else |
| | | { |