Change all "ID" parameter types to ulong

This commit is contained in:
Xjph 2021-11-22 10:37:50 -03:30
commit ab1d6d41dc
33 changed files with 66 additions and 66 deletions

View file

@ -5,14 +5,14 @@ namespace Observatory.Framework.Files.Journal
{
public class CargoDepot : JournalBase
{
public int MissionID { get; init; }
public ulong MissionID { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public UpdateType UpdateType { get; init; }
public string CargoType { get; init; }
public string CargoType_Localised { get; init; }
public int Count { get; init; }
public long StartMarketID { get; init; }
public long EndMarketID { get; init; }
public ulong StartMarketID { get; init; }
public ulong EndMarketID { get; init; }
public int ItemsCollected { get; init; }
public int ItemsDelivered { get; init; }
public int TotalItemsToDeliver { get; init; }

View file

@ -2,7 +2,7 @@
{
public class CommunityGoalDiscard : JournalBase
{
public long CGID { get; init; }
public ulong CGID { get; init; }
public string Name { get; init; }
public string System { get; init; }
}

View file

@ -3,6 +3,6 @@
public class CrewFire : JournalBase
{
public string Name { get; init; }
public long CrewID { get; init; }
public ulong CrewID { get; init; }
}
}

View file

@ -6,7 +6,7 @@ namespace Observatory.Framework.Files.Journal
public class EngineerContribution : JournalBase
{
public string Engineer { get; init; }
public long EngineerID { get; init; }
public ulong EngineerID { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]
public ContributionType Type { get; init; }
public string Commodity { get; init; }

View file

@ -8,11 +8,11 @@ namespace Observatory.Framework.Files.Journal
public class EngineerCraft : JournalBase
{
public string Engineer { get; init; }
public long EngineerID { get; init; }
public ulong EngineerID { get; init; }
public string Blueprint { get; init; }
public string Slot { get; init; }
public string Module { get; init; }
public long BlueprintID { get; init; }
public ulong BlueprintID { get; init; }
public string BlueprintName { get; init; }
public string ExperimentalEffect { get; init; }
public string ExperimentalEffect_Localised { get; init; }

View file

@ -7,7 +7,7 @@ namespace Observatory.Framework.Files.Journal
public class EngineerProgress : JournalBase
{
public string Engineer { get; init; }
public int EngineerID { get; init; }
public ulong EngineerID { get; init; }
public int Rank { get; init; }
public int RankProgress { get; init; }
[JsonConverter(typeof(JsonStringEnumConverter))]

View file

@ -2,11 +2,11 @@
{
public class FetchRemoteModule : JournalBase
{
public int ShipID { get; init; }
public ulong ShipID { get; init; }
public int StorageSlot { get; init; }
public string StoredItem { get; init; }
public string StoredItem_Localised { get; init; }
public long ServerId { get; init; }
public ulong ServerId { get; init; }
public long TransferCost { get; init; }
public string Ship { get; init; }
public long TransferTime { get; init; }

View file

@ -6,7 +6,7 @@ namespace Observatory.Framework.Files.Journal
// TODO: Read market.json file - Will only be valid for most recent market event
public class Market : JournalBase
{
public long MarketID { get; init; }
public ulong MarketID { get; init; }
public string StationName { get; init; }
public string StationType { get; init; }
public string StarSystem { get; init; }

View file

@ -4,7 +4,7 @@ namespace Observatory.Framework.Files.Journal
{
public class MaterialTrade : JournalBase
{
public long MarketID { get; init; }
public ulong MarketID { get; init; }
public string TraderType { get; init; }
public TradeDetail Paid { get; init; }
public TradeDetail Received { get; init; }

View file

@ -3,7 +3,7 @@
public class MissionAbandoned : JournalBase
{
public string Name { get; init; }
public long MissionID { get; init; }
public ulong MissionID { get; init; }
public long Fine { get; init; }
}
}

View file

@ -10,7 +10,7 @@ namespace Observatory.Framework.Files.Journal
public string Name { get; init; }
public string LocalisedName { get; init; }
public string Faction { get; init; }
public long MissionID { get; init; }
public ulong MissionID { get; init; }
[JsonConverter(typeof(MissionEffectConverter))]
public MissionEffect Influence { get; init; }
[JsonConverter(typeof(MissionEffectConverter))]

View file

@ -10,7 +10,7 @@ namespace Observatory.Framework.Files.Journal
public string Name { get; init; }
public string LocalisedName { get; init; }
public string Faction { get; init; }
public long MissionID { get; init; }
public ulong MissionID { get; init; }
public string Commodity { get; init; }
public string Commodity_Localised { get; init; }
public int Count { get; init; }

View file

@ -4,7 +4,7 @@
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public long MissionID { get; init; }
public ulong MissionID { get; init; }
public long Fine { get; init; }
}
}

View file

@ -4,7 +4,7 @@
{
public string Name { get; init; }
public string Name_Localised { get; init; }
public long MissionID { get; init; }
public ulong MissionID { get; init; }
public string NewDestinationStation { get; init; }
public string OldDestinationStation { get; init; }
public string NewDestinationSystem { get; init; }

View file

@ -2,7 +2,7 @@
{
public class ModuleBuy : JournalBase
{
public long MarketID { get; init; }
public ulong MarketID { get; init; }
public string Slot { get; init; }
public string BuyItem { get; init; }
public string BuyItem_Localised { get; init; }

View file

@ -2,7 +2,7 @@
{
public class ModuleRetrieve : JournalBase
{
public long MarketID { get; init; }
public ulong MarketID { get; init; }
public string Slot { get; init; }
public string Ship { get; init; }
public ulong ShipID { get; init; }

View file

@ -2,7 +2,7 @@
{
public class ModuleSell : JournalBase
{
public long MarketID { get; init; }
public ulong MarketID { get; init; }
public string Slot { get; init; }
public string SellItem { get; init; }
public string SellItem_Localised { get; init; }

View file

@ -5,7 +5,7 @@
public int StorageSlot { get; init; }
public string SellItem { get; init; }
public string SellItem_Localised { get; init; }
public long ServerId { get; init; }
public ulong ServerId { get; init; }
public int SellPrice { get; init; }
public string Ship { get; init; }
public ulong ShipID { get; init; }

View file

@ -4,7 +4,7 @@ namespace Observatory.Framework.Files.Journal
{
public class ModuleStore : JournalBase
{
public long MarketID { get; init; }
public ulong MarketID { get; init; }
public string Slot { get; init; }
public string Ship { get; init; }
public ulong ShipID { get; init; }

View file

@ -2,7 +2,7 @@
{
public class ModuleSwap : JournalBase
{
public long MarketID { get; init; }
public ulong MarketID { get; init; }
public string FromSlot { get; init; }
public string ToSlot { get; init; }
public string FromItem { get; init; }

Some files were not shown because too many files have changed in this diff Show more