Esempio n. 1
0
 public static void PointOperate(EPRPlayer player, int amount, PointOperateReason reason)
 {
     PointOperateArgs e = new PointOperateArgs();
     e.Handled = false;
     e.Player = player;
     e.Amount = amount;
     e.Reason = reason;
     if (OnPointOperate != null)
         OnPointOperate(e);
 }
Esempio n. 2
0
        public static void PointOperate(EPRPlayer player, int amount, PointOperateReason reason)
        {
            PointOperateArgs e = new PointOperateArgs();

            e.Handled = false;
            e.Player  = player;
            e.Amount  = amount;
            e.Reason  = reason;
            if (OnPointOperate != null)
            {
                OnPointOperate(e);
            }
        }