mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
30 lines
950 B
C#
30 lines
950 B
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Runtime.Serialization;
|
|
using NewHorizons.Utility;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace NewHorizons.External.Modules
|
|
{
|
|
[JsonObject]
|
|
public class CloakModule
|
|
{
|
|
/// <summary>
|
|
/// Radius of the cloaking field around the planet. It's a bit finicky so experiment with different values. If you
|
|
/// don't want a cloak, leave this as 0.
|
|
/// </summary>
|
|
public float radius;
|
|
|
|
[Obsolete("audioClip is deprecated, please use audio instead")]
|
|
public string audioClip;
|
|
|
|
[Obsolete("audioFilePath is deprecated, please use audio instead")]
|
|
public string audioFilePath;
|
|
|
|
/// <summary>
|
|
/// The audio that will play when entering the cloaking field. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list.
|
|
/// </summary>
|
|
public string audio;
|
|
}
|
|
} |