Create a NoticeManager
language of notices
OptionalupdateInterval: numberupdate interval(ms) Min: 1 minute
OptionalurlParams: Partial<URLParams>URL params
ReadonlylanguageLanguage of notices
ReadonlynoticesNotices
ReadonlyupdateUpdate interval(ms)
Alias for emitter.on(eventName, listener).
ProtectedemitSynchronously calls each of the listeners registered for the event namedeventName, in the order they were registered, passing the supplied arguments to each.
Returns true if the event had listeners, false otherwise.
the name of the event.
arguments to pass to the listeners.
Alias for emitter.removeListener().
Adds the listener function to the end of the listeners array for the event named eventName.
No checks are made to see if the listener has already been added.
Multiple calls passing the same combination of eventNameand listener will result in the listener being added, and called, multiple times.
Adds a one-timelistener function for the event named eventName. The next time eventName is triggered, this listener is removed and then invoked.
Removes all listeners, or those of the specified eventName.
Optionalevent: NoticeManagerEvents | (keyof NoticeManagerEventMap) | Kthe name of the event.
Removes the specified listener from the listener array for the event namedeventName.
Update notices
Class for fetching notices from mihoyo