-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Plugin rewrite #513
Plugin rewrite #513
Conversation
…into plugin-rewrite
b663426
to
fdd6322
Compare
…into plugin-rewrite
cea454e
to
647df9e
Compare
Remove "maked configurable value of capacity of player packets buffer (its useful).". Has nothing to do with Plugins. |
Ok, i remove commit. |
Oh stop |
No, second works correctly, ? Shows only in on_load func |
@Snowiiii i created static what contains dyn Log and created macro for automatization |
Looks good, Thank you @suprohub 👍 |
* simplify all * fmt * Consider using derive macro * Add new events * Add events call * minor fixes * minor fixes * fix * optimize code * big changes * fix skill issue * fix * Consider not specify patch version * make logger shared * i want test one thing * Add one useful function * add little amouth of docs * use config instead * revert changes * fmt --------- Co-authored-by: Alexander Medvedev <[email protected]>
Description
I added new events, converted event to derive macro.
Ajusted docs,
Created macro for sending cancellable events, also now used arc in context functions for registering handlers (may be useful when one struct have more what one event implementations).
Cargo.toml now not uses patch version, because its useless and like all crates adds not brraking updates to patch version.
Testing
clippy & fmt
Please follow our Coding Guidelines