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

Add abilities components on the player #439

Merged
merged 10 commits into from
Aug 8, 2023
Merged

Commits on Aug 4, 2023

  1. Add abilities component on the player

    The client is updated when a change is detected on one of the player abilities component
    Bafbi committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    2bb1992 View commit details
    Browse the repository at this point in the history
  2. Handle client abilities change

    I'm updating the `PlayerAbilitiesFlags` when the client send `UpdatePlayerAbilitiesC2s` packet and when the `Gamemode` is change.
    Bafbi committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    0cb0164 View commit details
    Browse the repository at this point in the history
  3. fmt + add test

    We test if the `PlayerAbilitiesFlags` componant is nicely handle when the client start flying or the `Gamemode` component is changed
    Bafbi committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    08ed5eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    73f4d55 View commit details
    Browse the repository at this point in the history
  5. clippy

    Bafbi committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    ce94694 View commit details
    Browse the repository at this point in the history
  6. reclippy

    Bafbi committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    8357df7 View commit details
    Browse the repository at this point in the history
  7. fmt

    Bafbi committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    0d8f2a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2023

  1. Add fly event + remove useless packets sending

    The systems updating the flags after the gamemode change or the client packet were making the server send an `PlayerAbilitiesS2c` uselessly.
    One of the test don't pass anymore for unknown reason, but by ingame testing it should pass.
    Bafbi committed Aug 5, 2023
    Configuration menu
    Copy the full SHA
    a82b7ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    097d9cc View commit details
    Browse the repository at this point in the history
  3. clippy

    Bafbi committed Aug 5, 2023
    Configuration menu
    Copy the full SHA
    c36a60c View commit details
    Browse the repository at this point in the history