diff --git a/EliteAPI/EliteAPI.csproj b/EliteAPI/EliteAPI.csproj index 007bfceb..9c516007 100644 --- a/EliteAPI/EliteAPI.csproj +++ b/EliteAPI/EliteAPI.csproj @@ -94,6 +94,7 @@ + diff --git a/EliteAPI/EliteDangerousAPI.cs b/EliteAPI/EliteDangerousAPI.cs index 79e0daa6..971f1600 100644 --- a/EliteAPI/EliteDangerousAPI.cs +++ b/EliteAPI/EliteDangerousAPI.cs @@ -670,9 +670,15 @@ private void Process(string json) case "CollectCargo": CollectCargoEvent?.Invoke(this, JsonConvert.DeserializeObject(json)); break; + + case "DockingCancelled": + DockingCancelledEvent?.Invoke(this, JsonConvert.DeserializeObject(json)); + break; } } + public event EventHandler DockingCancelledEvent; + public event EventHandler PowerplayEvent; public event EventHandler CommunityGoalEvent; diff --git a/EliteAPI/Events/DockingCancelled.cs b/EliteAPI/Events/DockingCancelled.cs new file mode 100644 index 00000000..97f82d3f --- /dev/null +++ b/EliteAPI/Events/DockingCancelled.cs @@ -0,0 +1,12 @@ +using System; + +namespace EliteAPI +{ + public class DockingCancelledInfo + { + public DateTime timestamp { get; set; } + public long MarketID { get; set; } + public string StationName { get; set; } + public string StationType { get; set; } + } +} diff --git a/EliteAPI/Properties/AssemblyInfo.cs b/EliteAPI/Properties/AssemblyInfo.cs index 07bd3e9f..0027acff 100644 --- a/EliteAPI/Properties/AssemblyInfo.cs +++ b/EliteAPI/Properties/AssemblyInfo.cs @@ -33,7 +33,7 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.1.6.1")] -[assembly: AssemblyFileVersion("1.1.6.1")] +[assembly: AssemblyVersion("1.1.6.2")] +[assembly: AssemblyFileVersion("1.1.6.2")] [assembly: NeutralResourcesLanguage("en")]