コード例 #1
0
        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);
 }