Example #1
0
 internal SellShipOnRebuyEvent InvokeEvent(SellShipOnRebuyEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         SellShipOnRebuy?.Invoke(_api, arg);
     }
     return(arg);
 }
Example #2
0
 private static void AssertEvent(SellShipOnRebuyEvent @event)
 {
     Assert.NotNull(@event);
     Assert.Equal(DateTime.Parse("2017-07-20T08:56:39Z"), @event.Timestamp);
     Assert.Equal(EventName, @event.Event);
     Assert.Equal("Dolphin", @event.ShipType);
     Assert.Equal(ShipModel.Dolphin, @event.ShipModel);
     Assert.Equal("Shinrarta Dezhra", @event.System);
     Assert.Equal(4, @event.SellShipId);
     Assert.Equal(4110183, @event.ShipPrice);
 }
Example #3
0
 internal void InvokeSellShipOnRebuyEvent(SellShipOnRebuyEvent arg)
 {
     SellShipOnRebuyEvent?.Invoke(this, arg);
 }