Files
Shigure/Modules/IKeymapResolver.cs
waynebian01 232fa91aa2 Add SpellFieldKey class for managing spell and aura keys
- Introduced a new class `SpellFieldKey` to encapsulate constants and methods related to spell and aura identifiers.
- Added methods for generating keys for spells and auras, including parsing functionality for spell and aura strings.
- Implemented utility methods for stripping prefixes and canonicalizing aura IDs.
2026-08-30 10:22:51 +08:00

19 lines
518 B
C#

namespace Shigure;
public interface IKeymapResolver
{
void SelectForClass(int? classId, int? specId);
string? GetHotkey(int? unit, string spell, string? macroCondition = null);
string? GetHotkey(int? unit, long spellId, string? macroCondition = null);
IReadOnlyDictionary<int, long> GetCurrentFailedSpells();
IReadOnlyDictionary<int, long> GetCurrentOneKeySpells();
IReadOnlyDictionary<long, int> GetCurrentSpellIndices();
IReadOnlyDictionary<long, string> GetCurrentSpellNames();
}