mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
MMM obsolete
This commit is contained in:
parent
10f4c7a5a1
commit
b92e67f79c
6
NewHorizons/External/Modules/Props/Quantum/BaseQuantumGroupInfo.cs
vendored
Normal file
6
NewHorizons/External/Modules/Props/Quantum/BaseQuantumGroupInfo.cs
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
namespace NewHorizons.External.Modules.Props.Quantum;
|
||||||
|
|
||||||
|
internal class BaseQuantumGroupInfo
|
||||||
|
{
|
||||||
|
public string id;
|
||||||
|
}
|
||||||
@ -1,9 +1,11 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace NewHorizons.External.Modules.Props.Quantum
|
namespace NewHorizons.External.Modules.Props.Quantum
|
||||||
{
|
{
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
|
[Obsolete]
|
||||||
public class QuantumGroupInfo
|
public class QuantumGroupInfo
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -34,11 +36,6 @@ namespace NewHorizons.External.Modules.Props.Quantum
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Optional. Only used if type is `states` and `sequential` is true. If this is false, then after the last state has appeared, the object will no longer change state
|
/// Optional. Only used if type is `states` and `sequential` is true. If this is false, then after the last state has appeared, the object will no longer change state
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DefaultValue(true)] public bool loop = true;
|
[DefaultValue(true)] public bool loop = true;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Flash of lightning and changes state
|
|
||||||
/// </summary>
|
|
||||||
public bool lightning;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Converters;
|
using Newtonsoft.Json.Converters;
|
||||||
|
using System;
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
|
|
||||||
namespace NewHorizons.External.Modules.Props.Quantum
|
namespace NewHorizons.External.Modules.Props.Quantum
|
||||||
{
|
{
|
||||||
[JsonConverter(typeof(StringEnumConverter))]
|
[JsonConverter(typeof(StringEnumConverter))]
|
||||||
|
[Obsolete]
|
||||||
public enum QuantumGroupType
|
public enum QuantumGroupType
|
||||||
{
|
{
|
||||||
[EnumMember(Value = @"sockets")] Sockets = 0,
|
[EnumMember(Value = @"sockets")] Sockets = 0,
|
||||||
|
|||||||
9
NewHorizons/External/Modules/Props/Quantum/SocketQuantumGroupInfo.cs
vendored
Normal file
9
NewHorizons/External/Modules/Props/Quantum/SocketQuantumGroupInfo.cs
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace NewHorizons.External.Modules.Props.Quantum;
|
||||||
|
|
||||||
|
[JsonObject]
|
||||||
|
internal class SocketQuantumGroupInfo : BaseQuantumGroupInfo
|
||||||
|
{
|
||||||
|
QuantumSocketInfo[] sockets;
|
||||||
|
}
|
||||||
18
NewHorizons/External/Modules/Props/Quantum/StatesQuantumGroupInfo.cs
vendored
Normal file
18
NewHorizons/External/Modules/Props/Quantum/StatesQuantumGroupInfo.cs
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
using Newtonsoft.Json;
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
|
namespace NewHorizons.External.Modules.Props.Quantum;
|
||||||
|
|
||||||
|
[JsonObject]
|
||||||
|
internal class StatesQuantumGroupInfo : BaseQuantumGroupInfo
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Optional. If this is true, then the states will be presented in order, rather than in a random order
|
||||||
|
/// </summary>
|
||||||
|
public bool sequential;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Optional. Only used if `sequential` is true. If this is false, then after the last state has appeared, the object will no longer change state
|
||||||
|
/// </summary>
|
||||||
|
[DefaultValue(true)] public bool loop = true;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user