2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
Ben Parsons efd0b3e0c0 Journals Now processed in own thread
Some invalid journal data is now handled
Journals now use polymorphic deserialization
Added Event names to all journal events
Remove unused controllers
2024-05-24 19:30:12 +10:00

46 lines
1.4 KiB
C#

namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated when the player takes a screenshot.
/// </summary>
public class Screenshot : JournalBase
{
public override string Event => "Screenshot";
/// <summary>
/// <para>Filename of the screenshot taken in the form of "\\ED Pictures\\filename"</para>
/// <para>"\\ED Pictures\\" corresponds to "%userprofile%\Pictures\Frontier Developments\Elite Dangerous\"</para>
/// </summary>
public string Filename { get; init; }
/// <summary>
/// Pixel width of the saved image.
/// </summary>
public int Width { get; init; }
/// <summary>
/// Pixel height of the saved image.
/// </summary>
public int Height { get; init; }
/// <summary>
/// System name of the current system.
/// </summary>
public string System { get; init; }
/// <summary>
/// Body name of the current location.
/// </summary>
public string Body { get; init; }
/// <summary>
/// Current latitude if applicable.
/// </summary>
public float Latitude { get; init; }
/// <summary>
/// Current longitude if applicable.
/// </summary>
public float Longitude { get; init; }
/// <summary>
/// Current altitude if applicable.
/// </summary>
public float Altitude { get; init; }
/// <summary>
/// Current heading if applicable.
/// </summary>
public int Heading { get; init; }
}