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

Simplify info packets #16

Open
Z-Kris opened this issue Jun 28, 2024 · 0 comments
Open

Simplify info packets #16

Z-Kris opened this issue Jun 28, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Z-Kris
Copy link
Contributor

Z-Kris commented Jun 28, 2024

Since world entities, the entire updating procedure for info packets has become quite a nightmare to maintain server-side.
It'd be nice to find a way to merge all three infos into one so the server could get away with less calls.
As an example, all infos currently contain player's own coord as well as the "render coord"; right now you must call each of the three infos individually and pass in the same coordinates before being able to build it. A lot of the updating procedure is similar. All this could be merged into one, e.g. infos.updateCoord(), infos.updateRenderCoord() and so on.

@Z-Kris Z-Kris added the enhancement New feature or request label Jun 28, 2024
@Z-Kris Z-Kris self-assigned this Jun 28, 2024
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