2025-02-14 22:32:52 -05:00

28 lines
835 B
C#

using NewHorizons.External.SerializableEnums;
using Newtonsoft.Json;
using System;
using System.ComponentModel;
namespace NewHorizons.External.Modules.Volumes.VolumeInfos
{
[JsonObject]
public class LoadCreditsVolumeInfo : VolumeInfo
{
[Obsolete("Use gameOver.creditsType")]
public NHCreditsType? creditsType;
[Obsolete("Use gameOver.text")]
public string gameOverText;
/// <summary>
/// The type of death the player will have if they enter this volume. Don't set to have the camera just fade out.
/// </summary>
[DefaultValue("default")] public NHDeathType? deathType = null;
/// <summary>
/// The game over message to display. Leave empty to go straight to credits.
/// </summary>
public GameOverModule gameOver;
}
}