From 27f1cccce497cb3924284236c691b9ee3236ad9b Mon Sep 17 00:00:00 2001 From: iisaev Date: Fri, 23 Oct 2026 19:09:39 +0200 Subject: [PATCH] ItemActionFactory.Ids for editors that offer the registered actions --- src/ItemActionFactory.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ItemActionFactory.cs b/src/ItemActionFactory.cs index f3e50d2..c8fdb74 100644 --- a/src/ItemActionFactory.cs +++ b/src/ItemActionFactory.cs @@ -31,6 +31,9 @@ namespace Cthangover.Core.Factories.Impls { } + /// Ids of the registered actions, for editors that offer them ("null", no effect, is not among them). + public IEnumerable Ids => data.Keys; + /// Registers a single action under its ; the first action of an id wins, null/empty ids are ignored. public void Register(IItemAction action) {