Esempio n. 1
0
 public ExUnReadMailCount(Player player) {
   int count = 0;
   List<Mail> mails = MailDAO.getInstance().getReceivedMailByOwnerId(player.getObjectId());
   for (Mail mail : mails) {
     if (mail.isUnread()) count++;
   }
   _count = count;
 }