mirror of
				https://github.com/9ParsonsB/Pulsar.git
				synced 2025-11-03 15:26:43 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			745 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			745 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.Collections.Immutable;
 | 
						|
using Observatory.Framework.Files.Journal;
 | 
						|
using Observatory.Framework.Files.ParameterTypes;
 | 
						|
 | 
						|
namespace Observatory.Framework.Files;
 | 
						|
 | 
						|
/// <summary>
 | 
						|
/// Elite Dangerous cargo.json file. Describes the current cargo carried above the player's ship.
 | 
						|
/// </summary>
 | 
						|
public class CargoFile : JournalBase
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// Type of vehicle currently being reported. "Ship" or "SRV".
 | 
						|
    /// </summary>
 | 
						|
    public string Vessel { get; init; }
 | 
						|
    /// <summary>
 | 
						|
    /// Number of different types of cargo carried(?)
 | 
						|
    /// </summary>
 | 
						|
    public int Count { get; init; }
 | 
						|
    /// <summary>
 | 
						|
    /// List of full cargo details.
 | 
						|
    /// </summary>
 | 
						|
    public ImmutableList<CargoType> Inventory { get; init; }
 | 
						|
} |