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

Optimization: Update Player Data When Key Change #663

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sleepyexe
Copy link

Description

This change is to update player data when the key of data changing, so we can reduce the traffic from server to client.
Also i tested it for qb-core compat.

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

Copy link

@nurrifqialhusaini nurrifqialhusaini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, optimized and better trafic

@BerkieBb
Copy link
Contributor

My PR #661 will change a lot of how player data is saved and updated inside the core. You should wait until that one is merged and adjust this one.

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.

5 participants