mirror of
https://github.com/waynebian01/Shigure.git
synced 2026-09-03 07:15:24 +08:00
- 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.
19 lines
518 B
C#
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();
|
|
}
|