Ejemplo n.º 1
0
 public void SetUserReadStatus(User user, bool read)
 {
     if (Receivers.Contains(user) || BCC.Contains(user) || CC.Contains(user))
     {
         IsRead[user.Email] = read;
     }
 }
Ejemplo n.º 2
0
    public void AddReceiver(Player player)
    {
        if (Receivers.Contains(player) || player == Giver)
        {
            return;
        }

        Receivers.Add(player);

        if (MaxReceivers == Receivers.Count)
        {
            DistributeReward();
        }
    }