IHotkeys.MigrateSavedBinding method
One-time move of a binding the player SAVED for actionId: if it equals from, it becomes to — or “unbound” when another declared action already holds to. Suggested defaults are never saved, so changing a default needs no migration. Call it before declaring the action, and remember (in your own config) that you ran it.
public SavedBindingMigration MigrateSavedBinding(string actionId, KeyBinding from, KeyBinding to)| parameter | description |
|---|---|
| actionId | The action id, as passed to DeclareAction. |
| from | The old chord. |
| to | The new chord. |
See Also
Section titled “See Also”- enum SavedBindingMigration
- struct KeyBinding
- interface IHotkeys
- namespace Stellar.Abstractions.Services