-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned up events to match naming conventions
- Loading branch information
Showing
84 changed files
with
2,758 additions
and
2,245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
using EliteAPI.Abstractions.Events; | ||
using EliteAPI.Abstractions.Events; | ||
using Newtonsoft.Json; | ||
|
||
namespace EliteAPI.Events; | ||
|
||
public readonly struct BuySuitEvent : IEvent | ||
{ | ||
[JsonProperty("timestamp")] | ||
public DateTime Timestamp { get; init; } | ||
|
||
[JsonProperty("event")] | ||
public string Event { get; init; } | ||
|
||
[JsonProperty("Name")] | ||
public Localised Name { get; init; } | ||
|
||
[JsonProperty("Price")] | ||
public long Price { get; init; } | ||
|
||
[JsonProperty("SuitId")] | ||
public string SuitId { get; init; } | ||
[JsonProperty("timestamp")] | ||
public DateTime Timestamp { get; init; } | ||
|
||
[JsonProperty("event")] | ||
public string Event { get; init; } | ||
|
||
[JsonProperty("Name")] | ||
public Localised Name { get; init; } | ||
|
||
[JsonProperty("Price")] | ||
public long Price { get; init; } | ||
|
||
[JsonProperty("SuitId")] | ||
public string SuitId { get; init; } | ||
|
||
[JsonProperty("SuitID")] | ||
public string SuitID { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,49 @@ | ||
using EliteAPI.Abstractions.Events; | ||
using EliteAPI.Abstractions.Events; | ||
using Newtonsoft.Json; | ||
|
||
namespace EliteAPI.Events; | ||
|
||
public readonly struct CarrierFinanceEvent : IEvent | ||
{ | ||
[JsonProperty("timestamp")] | ||
public DateTime Timestamp { get; init; } | ||
|
||
[JsonProperty("event")] | ||
public string Event { get; init; } | ||
|
||
[JsonProperty("CarrierID")] | ||
public string CarrierId { get; init; } | ||
|
||
[JsonProperty("TaxRate")] | ||
public long TaxRate { get; init; } | ||
|
||
[JsonProperty("CarrierBalance")] | ||
public long Balance { get; init; } | ||
|
||
[JsonProperty("ReserveBalance")] | ||
public long ReserveBalance { get; init; } | ||
|
||
[JsonProperty("AvailableBalance")] | ||
public long AvailableBalance { get; init; } | ||
|
||
[JsonProperty("ReservePercent")] | ||
public long ReservePercent { get; init; } | ||
[JsonProperty("timestamp")] | ||
public DateTime Timestamp { get; init; } | ||
|
||
[JsonProperty("event")] | ||
public string Event { get; init; } | ||
|
||
[JsonProperty("CarrierID")] | ||
public string CarrierId { get; init; } | ||
|
||
[JsonProperty("TaxRate")] | ||
public long TaxRate { get; init; } | ||
|
||
[JsonProperty("CarrierBalance")] | ||
public long Balance { get; init; } | ||
|
||
[JsonProperty("ReserveBalance")] | ||
public long ReserveBalance { get; init; } | ||
|
||
[JsonProperty("AvailableBalance")] | ||
public long AvailableBalance { get; init; } | ||
|
||
[JsonProperty("ReservePercent")] | ||
public long ReservePercent { get; init; } | ||
|
||
[JsonProperty("TaxRate_pioneersupplies")] | ||
public int TaxRatePioneerSupplies { get; init; } | ||
|
||
[JsonProperty("TaxRate_shipyard")] | ||
public int TaxRateShipyard { get; init; } | ||
|
||
[JsonProperty("TaxRate_rearm")] | ||
public int TaxRateRearm { get; init; } | ||
|
||
[JsonProperty("TaxRate_outfitting")] | ||
public int TaxRateOutfitting { get; init; } | ||
|
||
[JsonProperty("TaxRate_refuel")] | ||
public int TaxRateRefuel { get; init; } | ||
|
||
[JsonProperty("TaxRate_repair")] | ||
public int TaxRateRepair { get; init; } | ||
} |
Oops, something went wrong.