private void AssertEvent(JetConeDamageEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2017-08-14T15:41:50Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); Assert.Equal("$modularcargobaydoor_name;", @event.Module); Assert.Equal("Cargo Hatch", @event.ModuleLocalised); }
internal JetConeDamageEvent InvokeEvent(JetConeDamageEvent arg) { if (_api.ValidateEvent(arg)) { JetConeDamage?.Invoke(_api, arg); } return(arg); }
internal void InvokeJetConeDamageEvent(JetConeDamageEvent arg) { JetConeDamageEvent?.Invoke(this, arg); }
internal void InvokeJetConeDamageEvent(JetConeDamageEvent arg) => JetConeDamageEvent?.Invoke(null, arg);