mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Rename more enum
This commit is contained in:
parent
9b18438760
commit
c622b54cb6
@ -2,10 +2,10 @@ using Newtonsoft.Json;
|
|||||||
using Newtonsoft.Json.Converters;
|
using Newtonsoft.Json.Converters;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
namespace NewHorizons.External.Modules.Audio
|
namespace NewHorizons.External.Modules.SerializableEnums
|
||||||
{
|
{
|
||||||
[JsonConverter(typeof(StringEnumConverter))]
|
[JsonConverter(typeof(StringEnumConverter))]
|
||||||
public enum AudioMixerTrackName
|
public enum NHAudioMixerTrackName
|
||||||
{
|
{
|
||||||
[EnumMember(Value = @"undefined")] Undefined = 0,
|
[EnumMember(Value = @"undefined")] Undefined = 0,
|
||||||
[EnumMember(Value = @"menu")] Menu = 1,
|
[EnumMember(Value = @"menu")] Menu = 1,
|
||||||
@ -2,10 +2,10 @@ using Newtonsoft.Json;
|
|||||||
using Newtonsoft.Json.Converters;
|
using Newtonsoft.Json.Converters;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
namespace NewHorizons.External.Modules.Audio
|
namespace NewHorizons.External.Modules.SerializableEnums
|
||||||
{
|
{
|
||||||
[JsonConverter(typeof(StringEnumConverter))]
|
[JsonConverter(typeof(StringEnumConverter))]
|
||||||
public enum ClipSelectionType
|
public enum NHClipSelectionType
|
||||||
{
|
{
|
||||||
[EnumMember(Value = @"random")] RANDOM,
|
[EnumMember(Value = @"random")] RANDOM,
|
||||||
[EnumMember(Value = @"sequential")] SEQUENTIAL,
|
[EnumMember(Value = @"sequential")] SEQUENTIAL,
|
||||||
@ -1,4 +1,4 @@
|
|||||||
using NewHorizons.External.Modules.Audio;
|
using NewHorizons.External.Modules.SerializableEnums;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
@ -13,12 +13,12 @@ namespace NewHorizons.External.Modules.Volumes.VolumeInfos
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string audio;
|
public string audio;
|
||||||
|
|
||||||
[DefaultValue("random")] public ClipSelectionType clipSelection = ClipSelectionType.RANDOM;
|
[DefaultValue("random")] public NHClipSelectionType clipSelection = NHClipSelectionType.RANDOM;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The audio track of this audio volume
|
/// The audio track of this audio volume
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DefaultValue("environment")] public AudioMixerTrackName track = AudioMixerTrackName.Environment;
|
[DefaultValue("environment")] public NHAudioMixerTrackName track = NHAudioMixerTrackName.Environment;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether to loop this audio while in this audio volume or just play it once
|
/// Whether to loop this audio while in this audio volume or just play it once
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user