Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any tutorial about how to expend bosses with sub-plugin? #287

Open
HotoCocoaco opened this issue Aug 28, 2021 · 2 comments
Open

Any tutorial about how to expend bosses with sub-plugin? #287

HotoCocoaco opened this issue Aug 28, 2021 · 2 comments

Comments

@HotoCocoaco
Copy link

Any tutorial about how to expend bosses with sub-plugin? As the README.md says. However I can't find any documentation about it.

@FortyTwoFortyTwo
Copy link
Member

There is no tutorial on anything with this plugin yet, which I should eventually make one.

For bosses from sub-plugins, it's very identical to bosses in main plugin, should be able to easily figure out yourself if have basic knowledge.

Only major difference is to make sure bosses is registered correctly when plugins is loaded/unloaded:

  • SaxtonHale_RegisterClass when OnLibraryAdded is called, main plugin with saxtonhale library
  • SaxtonHale_UnregisterClass when OnPluginEnd is called, subplugin itself unloads

@HotoCocoaco
Copy link
Author

It would be great if there's a temple plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants