[Update] (Affect to backend) Plugin System. Saveable if the plugin is enabled or not.
Add functions that merge plugins data.
This commit is contained in:
@@ -73,6 +73,7 @@ import {
|
||||
useOverlayShowOnlyTranslatedMessages,
|
||||
useEnableNotificationVrcSfx,
|
||||
useHotkeys,
|
||||
usePlugins,
|
||||
useOscIpAddress,
|
||||
useOscPort,
|
||||
} from "@logics_configs";
|
||||
@@ -176,6 +177,7 @@ export const useReceiveRoutes = () => {
|
||||
const { updateEnableNotificationVrcSfx } = useEnableNotificationVrcSfx();
|
||||
|
||||
const { updateHotkeys } = useHotkeys();
|
||||
const { updateSavedPluginsStatus } = usePlugins();
|
||||
|
||||
const { updateOscIpAddress } = useOscIpAddress();
|
||||
const { updateOscPort } = useOscPort();
|
||||
@@ -488,6 +490,10 @@ export const useReceiveRoutes = () => {
|
||||
"/get/data/hotkeys": updateHotkeys,
|
||||
"/set/data/hotkeys": updateHotkeys,
|
||||
|
||||
// Plugins
|
||||
"/get/data/plugins_status": updateSavedPluginsStatus,
|
||||
"/set/data/plugins_status": updateSavedPluginsStatus,
|
||||
|
||||
// Advanced Settings
|
||||
"/get/data/osc_ip_address": updateOscIpAddress,
|
||||
"/set/data/osc_ip_address": updateOscIpAddress,
|
||||
|
||||
Reference in New Issue
Block a user