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

25 lines
783 B
C#

namespace Observatory.Framework.Files.Journal.Exploration;
/// <summary>
/// Event generated the first time a CMDR finds a particular material resource.
/// </summary>
public class MaterialDiscovered : JournalBase
{
public override string Event => "MaterialDiscovered";
/// <summary>
/// Category of the material.
/// </summary>
public string Category { get; init; }
/// <summary>
/// Name of the material.
/// </summary>
public string Name { get; init; }
/// <summary>
/// Localised name of the material.
/// </summary>
public string Name_Localised { get; init; }
/// <summary>
/// Count of the number of discovered items in that category by the CMDR.
/// </summary>
public int DiscoveryNumber { get; init; }
}