tsrk
da10166628
quality: convert getter property to method so that sensible information can be hidden via an argument
2023-02-06 21:30:55 +00:00
tsrk
bc89f8dc5b
feat: add name and rulset verb display support
2023-02-06 12:44:00 +00:00
Dan Balasescu
7bc8908ca9
Partial everything
2022-11-27 00:00:27 +09:00
andy840119
11a4bb5833
Prevent return the null value.
2022-08-02 22:29:54 +08:00
andy840119
78cc28d75f
Remove nullable disable annotation and fix the api broken.
2022-08-02 22:29:54 +08:00
Dean Herbert
31a447fda0
Update parameter discards
2022-06-24 21:26:19 +09:00
Dan Balasescu
f8830c6850
Automated #nullable processing
2022-06-17 16:37:17 +09:00
Dean Herbert
c55c7becba
Always use current ruleset to ensure URL is valid
2022-06-15 02:38:44 +09:00
Dean Herbert
1951eb30bc
Remove call to RegisterUriScheme
...
Seems both unnecessary, and crashes the whole came on macOS.
2022-06-15 02:27:51 +09:00
Dean Herbert
0d36495cfc
Fix up code quality, use more correct URL and update button text
2022-06-15 02:25:06 +09:00
Dean Herbert
cf82843e3d
Merge branch 'master' into jaxxibae/master
2022-06-15 02:15:24 +09:00
Dean Herbert
3799689c7d
Tidy up variable naming and layout
2022-06-09 12:32:30 +09:00
tornac1234
caa29e1f9e
Removed ruleset rankings request from DiscordRichPresence.cs
2022-06-01 12:05:24 +02:00
tornac1234
bcee9ac438
Removed IAPIProvider from load and unified it's usage
2022-05-30 23:32:55 +02:00
tornac1234
80fa90f65d
Removed a useless branch in the statistics request
2022-05-30 23:23:54 +02:00
tornac1234
bc1b20291b
Revert "Show beatmap star rating in RPC"
...
This reverts commit a3f5e2458d
.
2022-05-30 23:12:39 +02:00
tornac1234
a3f5e2458d
Show beatmap star rating in RPC
2022-05-30 22:39:49 +02:00
tornac1234
0d7fa3b55c
Added rulesets rankings updating for Discord RPC
2022-05-30 22:39:23 +02:00
Dean Herbert
42e07b7308
Convert to extension method to avoid recursive calls
2022-03-03 14:15:37 +09:00
Dean Herbert
fab9323707
Replace all legacy ruleset checks with a helper property call
2022-03-03 14:08:48 +09:00
Dean Herbert
bbd3ea5b77
Update all actual usages of RulesetInfo.ID
to use OnlineID
instead
2021-11-24 15:50:26 +09:00
David Paiva
58d3e66d8b
Update osu.Desktop/DiscordRichPresence.cs
...
Co-authored-by: Salman Ahmed <frenzibyte@gmail.com>
2021-11-21 09:36:05 +00:00
David Paiva
5276300c08
Added required changes.
2021-11-20 14:11:02 +00:00
David Paiva
e65826979e
Whoops, forgot that comment
2021-11-20 12:41:31 +00:00
David Paiva
abbc13c60f
Added Beatmap Link button to Discord Rich Presence
2021-11-20 12:41:01 +00:00
Dean Herbert
0ecf5f201c
Rename User
to APIUser
and move to correct namespace
2021-11-07 11:26:01 +09:00
Dean Herbert
ec61c3c5ee
Rename all remaining cases
2021-10-03 00:55:29 +09:00
Nathan Alo
cc3468b4ab
apply suggestions
...
- make `UserActivity.InGame` and derive that to `InSoloGame` and `InMultiplayerGame`
- rename `SoloGame` to `InSoloGame`
- rename `MultiplayerGame` to `InMultiplayerGame`
2021-08-16 06:32:33 +08:00
Salman Ahmed
a845e96b7a
Replace Ranks.Global
completely with a GlobalRank
property
2021-02-17 08:52:04 +03:00
Dean Herbert
a8530fde9d
Tidy up variables and spacing
2021-01-07 00:05:12 +09:00
LavaDesu
7c9f345cd2
Use better naming for DiscordRichPresenceMode
2021-01-03 16:46:25 +07:00
LavaDesu
2e5c67be3f
Add ability to toggle discord rich presence
...
There are 3 modes: enabled, limited, and disabled.
The limited mode hides identifiable information such as username, rank, and
(if participating in one) multiplayer lobby name.
2021-01-03 10:37:28 +07:00
Dean Herbert
206bf3713e
Make IAPIProvider read-only bindables into IBindables
2020-12-18 15:16:36 +09:00
Lucas A
b8c63e7944
Apply review suggestions.
2020-11-09 13:39:50 +01:00
Lucas A
e4fb9b4dd3
Display room name on discord rich presence.
2020-11-08 18:42:24 +01:00
Lucas A
ec95cbd0af
Don't update rich presence if the rpc client isn't initialized.
2020-01-11 16:03:00 +01:00
Dean Herbert
a5e30859a9
Truncate rich presence status strings to 128 bytes ( #7318 )
...
Truncate rich presence status strings to 128 bytes
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
2019-12-25 12:28:44 +09:00
smoogipoo
1a7937bcf7
Apply suggested optimisations
2019-12-25 12:04:28 +09:00
smoogipoo
36dd0e6998
Make ellipsis length into a static
2019-12-25 11:14:40 +09:00
smoogipoo
f1f9e1f658
Don't truncate with exactly 128 bytes
2019-12-23 19:56:05 +09:00
Dean Herbert
b9bc1c954e
Disable automatic retry of failed discord RPC connections
2019-12-23 19:50:35 +09:00
Dan Balasescu
bc0c331c33
Merge branch 'master' into fix-discord-rpc
2019-12-23 19:37:00 +09:00
smoogipoo
4302412243
Simplify implementation
2019-12-23 19:34:12 +09:00
Lucas A
125f4286ae
Move truncate() to a method body
2019-12-23 10:55:44 +01:00
Lucas A
e2b4e3580c
Truncate strings passed to the Discord RPC client to a maximum of 128 bytes
2019-12-22 19:21:21 +01:00
Dean Herbert
9ac15ef3a8
Don't log discord connection failures
2019-12-18 22:56:00 +09:00
Dean Herbert
0710e5ba13
Rename unknown mode assets (discord dev page broken)
2019-12-18 14:35:18 +09:00
Dean Herbert
b65847b0d7
Refactor / rewrite discord code
2019-12-18 14:07:53 +09:00