Exemple #1
0
 internal FighterDestroyedEvent InvokeEvent(FighterDestroyedEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         FighterDestroyed?.Invoke(_api, arg);
     }
     return(arg);
 }
Exemple #2
0
 internal void InvokeFighterDestroyedEvent(FighterDestroyedEvent arg)
 {
     FighterDestroyedEvent?.Invoke(this, arg);
 }
Exemple #3
0
 private void AssertEvent(FighterDestroyedEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2019-09-03T13:38:51Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
 }
Exemple #4
0
 internal void InvokeFighterDestroyedEvent(FighterDestroyedEvent arg) => FighterDestroyedEvent?.Invoke(null, arg);