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

FEATURE REQUEST: Revamp the way packets are being written to a more standalone approach #859

Open
Tofaa2 opened this issue Jun 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Tofaa2
Copy link
Contributor

Tofaa2 commented Jun 28, 2024

Is your feature request related to a problem? Please describe.
PacketEvents currently has no way to write buffer content besides the PacketWrapper class, which limits the usage to specifically packets only.

Describe the solution you'd like
We could make a standalone class that is responsible for reading and writing from a ByteBuf, rather than bundling every single method inside the PacketWrapper class.

Basic approach brainstorm: https://hastebin.com/share/emaqogenel.java

@Tofaa2 Tofaa2 added the enhancement New feature or request label Jun 28, 2024
@Tofaa2
Copy link
Contributor Author

Tofaa2 commented Jun 29, 2024

#860

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

No branches or pull requests

1 participant