internal ShipyardSellEvent InvokeEvent(ShipyardSellEvent arg) { if (_api.ValidateEvent(arg)) { ShipyardSell?.Invoke(_api, arg); } return(arg); }
private static void AssertEvent(ShipyardSellEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2016-07-21T15:12:19Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); Assert.Equal("adder", @event.ShipType); Assert.Equal(ShipModel.Adder, @event.ShipModel); Assert.Equal(6, @event.SellShipId); Assert.Equal(79027, @event.ShipPrice); Assert.Equal("Eranin", @event.System); }
internal void InvokeShipyardSellEvent(ShipyardSellEvent arg) { ShipyardSellEvent?.Invoke(this, arg); }
internal void InvokeShipyardSellEvent(ShipyardSellEvent arg) => ShipyardSellEvent?.Invoke(null, arg);