Beispiel #1
0
        /// <summary>
        /// </summary>
        /// <param name="e">
        /// </param>
        private void OnBeforeStatChangedEvent(StatChangedEventArgs e)
        {
            EventHandler <StatChangedEventArgs> handler = this.RaiseBeforeStatChangedEvent;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #2
0
 /// <summary>
 /// </summary>
 /// <param name="e">
 /// </param>
 private void OnBeforeStatChangedEvent(StatChangedEventArgs e)
 {
     EventHandler<StatChangedEventArgs> handler = this.RaiseBeforeStatChangedEvent;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Beispiel #3
0
        /// <summary>
        /// </summary>
        /// <param name="sender">
        /// </param>
        /// <param name="e">
        /// </param>
        public void Send(object sender, StatChangedEventArgs e)
        {
            if (!((DynelStat)sender).Parent.DoNotDoTimers)
            {
                Stat.Send(e.Stat.Parent, e.Stat.StatId, e.NewValue, e.Stat.AnnounceToPlayfield);

                e.Stat.Changed = false;
            }
        }