Example #1
0
        private static void Vote_OnCommand(CommandEventArgs e)
        {
            if (e.Mobile == null || e.Mobile.Deleted)
            {
                return;
            }

            VoteHelper.CastVote(e.Mobile, VoteItem.Instance.VoteSite);
        }
Example #2
0
 public virtual void CastVote(Mobile from)
 {
     VoteHelper.CastVote(from, VoteSite);
 }