This commit is contained in:
2025-08-22 02:19:48 +01:00
commit a4c82452be
373 changed files with 52044 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
namespace Penumbra.Api.Api;
/// <summary> Base interface for the API that is always available, regardless of version. </summary>
public interface IPenumbraApiBase
{
/// <summary>
/// The API version is staggered in two parts.
/// The major/Breaking version only increments if there are changes breaking backwards compatibility.
/// The minor/Feature version increments any time there is something added
/// and resets when Breaking is incremented.
/// </summary>
public (int Breaking, int Feature) ApiVersion { get; }
/// <summary> Whether the API is still usable. </summary>
public bool Valid { get; }
}