mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
Some invalid journal data is now handled Journals now use polymorphic deserialization Added Event names to all journal events Remove unused controllers
20 lines
528 B
C#
20 lines
528 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Observatory.Framework.Files.Journal.Startup;
|
|
|
|
public class FileHeader : JournalBase
|
|
{
|
|
public override string Event => "FileHeader";
|
|
[JsonPropertyName("part")]
|
|
public int Part { get; init; }
|
|
|
|
[JsonPropertyName("language")]
|
|
public string Language { get; init; }
|
|
|
|
[JsonPropertyName("gameversion")]
|
|
public string GameVersion { get; init; }
|
|
|
|
[JsonPropertyName("build")]
|
|
public string Build { get; init; }
|
|
public bool Odyssey { get; init; }
|
|
} |