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

Discord rpc tweaks (3205 successor) #3216

Merged
merged 29 commits into from
Oct 24, 2023

Commits on Oct 23, 2023

  1. Add server name to presence state

    Also fixes some edge cases where the rich presence won't be displayed properly (after enabling it for the first time, or when disconnecting from a server)
    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    d5ce7df View commit details
    Browse the repository at this point in the history
  2. Remove unused method in CDiscordRichPresence

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    d33913c View commit details
    Browse the repository at this point in the history
  3. Modify state formatting

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    0220b63 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48a6457 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0b59104 View commit details
    Browse the repository at this point in the history
  6. Remove unnecessary check

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    e3edcd1 View commit details
    Browse the repository at this point in the history
  7. Change logic of SetStartTime

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    59def90 View commit details
    Browse the repository at this point in the history
  8. Rename variable

    Probably should refactor all this Discord code to not use Hungarian notation tbh
    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    33ffbd5 View commit details
    Browse the repository at this point in the history
  9. Swap CCore::GetSingleton usage for g_pCore

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    89d022d View commit details
    Browse the repository at this point in the history
  10. Use details instead of state for server name

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    8f99d74 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3f8df64 View commit details
    Browse the repository at this point in the history
  12. Allow custom state to be empty in order to reset it

    This will allow servers to revert to using the built-in/default states
    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    58d4291 View commit details
    Browse the repository at this point in the history
  13. Add setDiscordRichPresenceEndTime

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    6ffa60b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6e6cbe5 View commit details
    Browse the repository at this point in the history
  15. Allow all string values to be empty/reset

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    c1de4f7 View commit details
    Browse the repository at this point in the history
  16. Remove unnecessary presence updates

    We handle presence state updates primarily in CClientGame::DoPulsePostFrame() now
    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    c5ddcdc View commit details
    Browse the repository at this point in the history
  17. Set Discord state update rate to 15

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    4628d69 View commit details
    Browse the repository at this point in the history
  18. Add new default states based on player tasks

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    a0b1ee5 View commit details
    Browse the repository at this point in the history
  19. Use std::optional in STaskState

    Requires moving to Client Deathmatch due to Game SA not supporting C++17
    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    b8c7077 View commit details
    Browse the repository at this point in the history
  20. Update CDiscordRichPresence.cpp

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    6d5d08f View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c74d60e View commit details
    Browse the repository at this point in the history
  22. Use unordered_multimap

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    19b14b7 View commit details
    Browse the repository at this point in the history
  23. Address code review

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    bf14d1f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    dd4a38d View commit details
    Browse the repository at this point in the history
  25. Addendum to previous commit

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    7543ad6 View commit details
    Browse the repository at this point in the history
  26. Update g_vehicleTypePrefixes order

    Lpsd authored and tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    ee3b6c9 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    da65173 View commit details
    Browse the repository at this point in the history
  28. Fix Windows build

    tederis committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    6342ae3 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Fix custom presence details

    tederis committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    7d2e6b3 View commit details
    Browse the repository at this point in the history