mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
22 lines
783 B
C#
22 lines
783 B
C#
using System.Collections.Generic;
|
|
|
|
namespace MiraAPI.GameOptions;
|
|
|
|
/// <summary>
|
|
/// Allows an option group to compress noisy option blocks in the wiki "Options" section.
|
|
/// Implementers can hide specific option keys and replace them with one or more summary lines.
|
|
/// </summary>
|
|
public interface ISummarizedOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets the option string keys (StringNames) to omit from the wiki options list (e.g., a large set of related options).
|
|
/// </summary>
|
|
IReadOnlySet<StringNames> WikiHiddenOptionKeys { get; }
|
|
|
|
/// <summary>
|
|
/// Gets summary lines to insert when the first hidden option would have appeared.
|
|
/// Lines should already be formatted as "Title: Value".
|
|
/// </summary>
|
|
IEnumerable<string> GetWikiOptionSummaryLines();
|
|
}
|