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
16 lines
541 B
C#
16 lines
541 B
C#
using System.Text.Json.Serialization;
|
|
using Observatory.Framework.Files.ParameterTypes;
|
|
|
|
namespace Observatory.Framework.Files.Journal.Other;
|
|
|
|
public class CommitCrime : JournalBase
|
|
{
|
|
public override string Event => "CommitCrime";
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public CrimeType CrimeType { get; init; }
|
|
public string Faction { get; init; }
|
|
public string Victim { get; init; }
|
|
public string Victim_Localised { get; init; }
|
|
public int Fine { get; init; }
|
|
public int Bounty { get; init; }
|
|
} |