ProjectDDD/Packages/com.distantlands.cozy.core/Runtime/Modules/Utility Modules/CozyDateOverride.cs
2025-07-08 19:46:31 +09:00

30 lines
901 B
C#

// Distant Lands 2025
// COZY: Stylized Weather 3
// All code included in this file is protected under the Unity Asset Store Eula
namespace DistantLands.Cozy
{
public abstract class CozyDateOverride : CozyModule
{
public float yearPercentage;
/// <summary>
/// Returns the current year percentage (0 - 1).
/// </summary>
public abstract float GetCurrentYearPercentage();
/// <summary>
/// Returns the current year percentage (0 - 1) after a number of ticks has passed.
/// </summary>
public abstract float GetCurrentYearPercentage(float inTicks);
/// <summary>
/// Gets the current day plus the current day percentage (0-1).
/// </summary>
public abstract float DayAndTime();
public abstract void ChangeDay(int days);
public abstract int DaysPerYear();
}
}