Interface ServerSynchronizedDynamicKeyRegistry
- All Superinterfaces:
DynamicKeyRegistry
- All Known Implementing Classes:
NetworkedDynamicKeyRegistry
Optional client-side extension for registries backed by server synchronization.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyServerSnapshot(List<StoredKeybind> serverKeybinds, org.slf4j.Logger logger) Replaces current client state with a server-authoritative snapshot.voidclearLocalState(org.slf4j.Logger logger) Clears local keybind state without sending removal packets.Methods inherited from interface dev.munebase.dynamickeybinds.DynamicKeyRegistry
getAllDynamicKeys, getKeyBindAction, getKeyBindById, registerDynamicKey, unregisterDynamicKey, unregisterDynamicKey
-
Method Details
-
applyServerSnapshot
Replaces current client state with a server-authoritative snapshot. -
clearLocalState
void clearLocalState(org.slf4j.Logger logger) Clears local keybind state without sending removal packets.
-