mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
21 lines
616 B
C#
21 lines
616 B
C#
using Newtonsoft.Json;
|
|
using System.ComponentModel;
|
|
|
|
namespace NewHorizons.External.Modules.Volumes.VolumeInfos
|
|
{
|
|
[JsonObject]
|
|
public class PriorityVolumeInfo : VolumeInfo
|
|
{
|
|
/// <summary>
|
|
/// The layer of this volume.
|
|
/// </summary>
|
|
[DefaultValue(0)] public int layer = 0;
|
|
|
|
/// <summary>
|
|
/// The priority for this volume's effects to be applied.
|
|
/// Ex, a player in a gravity volume with priority 0, and zero-gravity volume with priority 1, will feel zero gravity.
|
|
/// </summary>
|
|
[DefaultValue(1)] public int priority = 1;
|
|
}
|
|
}
|