This commit is contained in:
cthangover committed 2026-10-21 15:10:32 +03:00
commit eadc7a1157
20 files changed
+2288

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
using Cthangover.Core.UI.Tool;
namespace Cthangover.Tools.RpgEditor
{
/// <summary>In-game toolbar button of the RPG map editor, so a map can be fixed while walking on it.</summary>
public class RpgMapEditorToolBoxButton : IToolBoxButton
{
/// <summary>Matches <see cref="RpgMapEditorToolProvider.Id"/>.</summary>
public string ToolId => "rpg_map_editor";
/// <summary>No icon: the button shows its label.</summary>
public string IconPath => "";
/// <summary>Button label key.</summary>
public string LocaleKey => "tools/rpg_editor/title";
/// <summary>Always shown.</summary>
public bool IsVisible() => true;
}
}