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

Created Identifier to help keep track of plugin resources. #72

Merged
merged 4 commits into from
Sep 1, 2024

Conversation

neeleshpoli
Copy link
Contributor

Created Identifier to help keep track of plugin resources.

Use cases:

  • Can be used in the event handler api to make it easy to keep track of events
  • Make it easier to keep track of commands.
  • + many other uses as well

Serde was added so that structs can be serialized and deserialized when transporting between plugin and server. Currently message pack is used, but protocol buffers should be used in the future due to smaller size and efficiency. The only reason why protocol buffers are not used right now is because it requires some work to setup.

pumpkin-plugin/Cargo.toml Outdated Show resolved Hide resolved
@neeleshpoli
Copy link
Contributor Author

I have moved serde into the workspace as well

@Snowiiii
Copy link
Member

Snowiiii commented Sep 1, 2024

Okay looks good then, Thank you @neeleshpoli

@Snowiiii Snowiiii merged commit 0e1f8b1 into Pumpkin-MC:master Sep 1, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants