mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-10-15 16:03:49 -04:00
Improved GetText function
Glad I moved to the dev branch because I wasn't expecting this to be a breaking change.
This commit is contained in:
parent
488c45620f
commit
10a9958065
5 changed files with 62 additions and 91 deletions
|
@ -4,16 +4,16 @@ namespace CSTNet;
|
|||
|
||||
public interface IUIText
|
||||
{
|
||||
/// <summary>
|
||||
/// The base directory for the language files.
|
||||
/// </summary>
|
||||
string[] BasePath { get; set; }
|
||||
/// <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);
|
||||
/// <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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue