internal LiftoffEvent InvokeEvent(LiftoffEvent arg) { if (_api.ValidateEvent(arg)) { Liftoff?.Invoke(_api, arg); } return(arg); }
private void AssertEvent(LiftoffEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2016-07-22T10:53:19Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); Assert.Equal(63.468872, @event.Latitude, 6); Assert.Equal(157.599380, @event.Longitude); Assert.True(@event.PlayerControlled); }
internal void InvokeLiftoffEvent(LiftoffEvent arg) { LiftoffEvent?.Invoke(this, arg); }
internal void InvokeLiftoffEvent(LiftoffEvent arg) => LiftoffEvent?.Invoke(null, arg);