mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 16:33:43 -04:00
Change all "ID" parameter types to ulong
This commit is contained in:
@ -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; }
|
||||
|
@ -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; }
|
||||
}
|
||||
|
@ -3,6 +3,6 @@
|
||||
public class CrewFire : JournalBase
|
||||
{
|
||||
public string Name { get; init; }
|
||||
public long CrewID { get; init; }
|
||||
public ulong CrewID { get; init; }
|
||||
}
|
||||
}
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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))]
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -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))]
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
public class Outfitting : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string StationName { get; init; }
|
||||
public string StarSystem { get; init; }
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
public class ScientificResearch : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string Name { get; init; }
|
||||
public string Category { get; init; }
|
||||
public int Count { get; init; }
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
public class SearchAndRescue : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string Name { get; init; }
|
||||
public string Name_Localised { get; init; }
|
||||
public int Count { get; init; }
|
||||
|
@ -4,7 +4,7 @@
|
||||
{
|
||||
public string ShipType { get; init; }
|
||||
public string System { get; init; }
|
||||
public int SellShipId { get; init; }
|
||||
public ulong SellShipId { get; init; }
|
||||
public long ShipPrice { get; init; }
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
public class Shipyard : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string StationName { get; init; }
|
||||
public string StarSystem { get; init; }
|
||||
}
|
||||
|
@ -2,14 +2,14 @@
|
||||
{
|
||||
public class ShipyardBuy : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string ShipType { get; init; }
|
||||
public string ShipType_Localised { get; init; }
|
||||
public long ShipPrice { get; init; }
|
||||
public string StoreOldShip { get; init; }
|
||||
public int StoreShipID { get; init; }
|
||||
public ulong StoreShipID { get; init; }
|
||||
public string SellOldShip { get; init; }
|
||||
public int SellShipID { get; init; }
|
||||
public ulong SellShipID { get; init; }
|
||||
public long SellPrice { get; init; }
|
||||
}
|
||||
}
|
||||
|
@ -4,6 +4,6 @@
|
||||
{
|
||||
public string ShipType { get; init; }
|
||||
public string ShipType_Localised { get; init; }
|
||||
public int NewShipID { get; init; }
|
||||
public ulong NewShipID { get; init; }
|
||||
}
|
||||
}
|
||||
|
@ -2,9 +2,9 @@
|
||||
{
|
||||
public class ShipyardSell : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string ShipType { get; init; }
|
||||
public int SellShipID { get; init; }
|
||||
public ulong SellShipID { get; init; }
|
||||
public long ShipPrice { get; init; }
|
||||
public string System { get; init; }
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
{
|
||||
public class ShipyardSwap : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string ShipType { get; init; }
|
||||
public string ShipType_Localised { get; init; }
|
||||
public ulong ShipID { get; init; }
|
||||
|
@ -2,12 +2,12 @@
|
||||
{
|
||||
public class ShipyardTransfer : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string ShipType { get; init; }
|
||||
public string ShipType_Localised { get; init; }
|
||||
public ulong ShipID { get; init; }
|
||||
public string System { get; init; }
|
||||
public long ShipMarketID { get; init; }
|
||||
public ulong ShipMarketID { get; init; }
|
||||
public float Distance { get; init; }
|
||||
public int TransferPrice { get; init; }
|
||||
public long TransferTime { get; init; }
|
||||
|
@ -7,7 +7,7 @@ namespace Observatory.Framework.Files.Journal
|
||||
{
|
||||
public string StarSystem { get; init; }
|
||||
public string StationName { get; init; }
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public ImmutableList<StoredItem> Items { get; init; }
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ namespace Observatory.Framework.Files.Journal
|
||||
{
|
||||
public class StoredShips : JournalBase
|
||||
{
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public string StationName { get; init; }
|
||||
public string StarSystem { get; init; }
|
||||
public ImmutableList<StoredShip> ShipsHere { get; init; }
|
||||
|
@ -6,7 +6,7 @@ namespace Observatory.Framework.Files.Journal
|
||||
public class TechnologyBroker : JournalBase
|
||||
{
|
||||
public string BrokerType { get; init; }
|
||||
public long MarketID { get; init; }
|
||||
public ulong MarketID { get; init; }
|
||||
public ImmutableList<ItemName> ItemsUnlocked { get; init; }
|
||||
public ImmutableList<CommodityReward> Commodities { get; init; }
|
||||
public ImmutableList<MaterialReward> Materials { get; init; }
|
||||
|
Reference in New Issue
Block a user