cstdotnet/CSTNet/IUIText.cs
Tony Bark 10a9958065 Improved GetText function
Glad I moved to the dev branch because I wasn't expecting this to be a breaking change.
2024-04-09 09:47:13 -04:00

19 lines
555 B
C#

// This project is licensed under the BSD 3-Clause license.
// See the LICENSE file in the project root for more information.
namespace CSTNet;
public interface IUIText
{
/// <summary>
/// The base directory for the language files.
/// </summary>
string BasePath { get; set; }
/// <summary>
/// Get the text for the given id and key.
/// </summary>
/// <param name="id">The id of the text.</param>
/// <param name="key">The key of the text.</param>
/// <returns>The text for the given id and key.</returns>
string GetText(int id, int key);
}