mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
26 lines
608 B
C#
26 lines
608 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
using System.ComponentModel;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace NewHorizons.External.Volumes
|
|
{
|
|
[JsonObject]
|
|
public class LoadCreditsVolumeInfo : VolumeInfo
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public enum CreditsType
|
|
{
|
|
[EnumMember(Value = @"fast")] Fast = 0,
|
|
|
|
[EnumMember(Value = @"final")] Final = 1,
|
|
|
|
[EnumMember(Value = @"kazoo")] Kazoo = 2
|
|
}
|
|
|
|
[DefaultValue("fast")]
|
|
public CreditsType creditsType = CreditsType.Fast;
|
|
}
|
|
}
|
|
|