new-horizons/NewHorizons/External/Volumes/PriorityVolumeInfo.cs

24 lines
616 B
C#

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