Add IsRecipeUnlocked

This commit is contained in:
Haselnussbomber 2025-10-01 23:59:01 +02:00
parent 6ade5b21cf
commit ba159f8c5f
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1
3 changed files with 280 additions and 1 deletions

View file

@ -245,6 +245,13 @@ public interface IUnlockState
/// <returns><see langword="true"/> if unlocked; otherwise, <see langword="false"/>.</returns>
bool IsPublicContentUnlocked(PublicContent row);
/// <summary>
/// Determines whether the specified Recipe is unlocked.
/// </summary>
/// <param name="row">The Recipe row to check.</param>
/// <returns><see langword="true"/> if unlocked; otherwise, <see langword="false"/>.</returns>
bool IsRecipeUnlocked(Recipe row);
/// <summary>
/// Determines whether the underlying RowRef type is unlocked.
/// </summary>