API?
WanderingFox opened this issue ยท 1 comments
Hey there,
Is there a way to inject a custom toast (eg. extending the existing system via another addon etc)? It looks like all the methods needed are private inside of the addon namespace :(
Hi!
All of my toast "systems" are written as plugins, so if you need a reference take a look at something like achievement toasts, they're pretty simple. All you need are E
(engine), C
(config), and L
(locales) tables, to access them just add the following to your plugin's code.
local E, C, L = unpack(ls_Toasts)