2023-03-25 13:44:31 -04:00

21 lines
604 B
C#

using Newtonsoft.Json;
using System.ComponentModel;
namespace NewHorizons.External.Modules.Volumes
{
[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;
}
}