2021-06-29 20:09:34 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2021-06-29 20:40:54 +02:00
|
|
|
import registerForGetTokenConfigHeaderButtonsHook from './hooks/getTokenConfigHeaderButtons';
|
|
|
|
import registerForInitHook from './hooks/init';
|
2021-07-13 13:59:11 +02:00
|
|
|
import registerForRenderTokenConfigHook from './hooks/renderTokenConfig';
|
2021-06-29 20:40:54 +02:00
|
|
|
import registerForUpdateSceneHook from './hooks/updateScene';
|
|
|
|
import registerForUpdateTokenHook from './hooks/updateToken';
|
2021-06-29 20:09:34 +02:00
|
|
|
|
2021-06-29 20:46:48 +02:00
|
|
|
/**
|
|
|
|
* Register for all the hooks that darkness-dependent-vision needs to react to.
|
|
|
|
*/
|
2021-06-29 20:09:34 +02:00
|
|
|
export default function registerForHooks() {
|
2021-06-29 20:40:54 +02:00
|
|
|
registerForInitHook();
|
|
|
|
registerForUpdateSceneHook();
|
|
|
|
registerForUpdateTokenHook();
|
|
|
|
registerForGetTokenConfigHeaderButtonsHook();
|
2021-07-13 13:59:11 +02:00
|
|
|
registerForRenderTokenConfigHook();
|
2021-06-29 20:09:34 +02:00
|
|
|
}
|