private void DoStatChanged(SurvivalStat stat)
        {
            var args = new SurvivalStatChangedEventArgs(stat);

            InvokeStatChangedEvent(this, args);
        }
示例#2
0
 /// <summary>
 /// Invokes the stat changed event with the given parameters
 /// </summary>
 /// <param name="caller">The object performing the call</param>
 /// <param name="args">The <see cref="SurvivalStatChangedEventArgs" /> instance containing the event data.</param>
 public void InvokeStatChangedEvent(SurvivalModuleBase caller, SurvivalStatChangedEventArgs args)
 {
     StatChanged?.Invoke(caller, args);
 }