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

feat(discord-rpc): improve the system #4271

Merged

Commits on Feb 18, 2021

  1. chore(idea): ignore discord plugin settings

    It's user-specific file. It shouldn't be shared since each user has its own settings.
    iHDeveloper committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    d8e959d View commit details
    Browse the repository at this point in the history
  2. feat(discord): change main menu state

    Change main menu state from "In Lobby" to "In Main Menu"
    iHDeveloper committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    f8077d8 View commit details
    Browse the repository at this point in the history
  3. feat(discord): rewrite + make it thread-safe

    The rewrite was necessary to be able to achieve the system to be thread-safe.
    It gave the opportunity to organise how the subsystem works.
    
    This also ensures the subsystem is easy to:
    - Implement new features!
    - Fix bugs without breaking stuff
    
    - Separated the thread into its own class
    - Subsystem manages the communication with the thread
    - Re-organized the system
    - Fix: disable discord-ipc library logger
    iHDeveloper committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    4dc6ec6 View commit details
    Browse the repository at this point in the history
  4. feat(discord): Ability to change details of the game

    Used to set the gameplay name (e.g. Josharias Survival, Metal Renegades, etc...)
    It will show on discord in this format "Game: <name>"
    
    - Improve the buffer change trigger and handler
    - Ability to change details in the buffer
    - Apply the new format for the rich presence
    -- Details -> "Game: <name>"
    -- Party State -> "Playing Solo" / "Playing Online" / "Hosting"
    
    - Fix: Triggering `Thread#setEnabled` with keeping the connection alive
    - Fix: No safe shutdown to the RPC thread
    iHDeveloper committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    129e899 View commit details
    Browse the repository at this point in the history
  5. feat(discord): Implement party size

    - fix: can't hide start timestamp
    iHDeveloper committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    dc1c158 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2021

  1. Configuration menu
    Copy the full SHA
    54784a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fd8605 View commit details
    Browse the repository at this point in the history