[sdvx] v1.0
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import { common } from './handlers/common';
|
||||
import { hiscore, rival, saveMix, loadMix } from './handlers/features';
|
||||
import {
|
||||
updateProfile,
|
||||
updateMix,
|
||||
importMix,
|
||||
deleteMix,
|
||||
} from './handlers/webui';
|
||||
import {
|
||||
load,
|
||||
create,
|
||||
@@ -16,6 +22,11 @@ export function register() {
|
||||
R.Config('unlock_all_songs', { type: 'boolean', default: false });
|
||||
R.Config('unlock_all_navigators', { type: 'boolean', default: false });
|
||||
|
||||
R.WebUIEvent('updateProfile', updateProfile);
|
||||
R.WebUIEvent('updateMix', updateMix);
|
||||
R.WebUIEvent('importMix', importMix);
|
||||
R.WebUIEvent('deleteMix', deleteMix);
|
||||
|
||||
const MultiRoute = (method: string, handler: EPR | boolean) => {
|
||||
// Helper for register multiple versions.
|
||||
R.Route(`game.sv4_${method}`, handler);
|
||||
|
||||
Reference in New Issue
Block a user