Commit Graph

44 Commits

Author SHA1 Message Date
Dan Balasescu 18251c9285 Clean up SpectatorScreen based on suggestions 2022-02-09 12:20:07 +09:00
Dan Balasescu ffc4c64f7e Unify namings across the board 2022-02-09 12:10:07 +09:00
Dan Balasescu 4c76027178 Rename completed state to passed 2022-02-08 20:29:49 +09:00
Dan Balasescu f285060148 Fix MultiSpectatorScreen not continuing to results 2022-02-03 21:50:19 +09:00
Dan Balasescu 62537eb4aa Fix spectator not completing 2022-02-03 12:44:33 +09:00
Dan Balasescu fcbba3d948 Rename PlayingUserStates -> WatchingUserStates 2022-02-02 23:11:29 +09:00
Dan Balasescu f4210f7a30 Rework spectator components to use new user state 2022-02-01 21:53:25 +09:00
Dean Herbert 6eb2c28e41 Rename `RealmContextFactory` to `RealmAccess` 2022-01-24 20:38:07 +09:00
Dean Herbert 40aa873190 Rename register methods to better explain their purpose 2022-01-24 14:37:36 +09:00
Dean Herbert 61cef42be9 Proof of concept realm subscriptions via `Register` 2022-01-23 20:28:04 +09:00
Dean Herbert 1f157d729d Update existing subscriptions to new style
Fix missing detach calls in `MusicController`
2022-01-21 20:05:03 +09:00
Dean Herbert 86ce2256be Replace `SpectatorScreen` event flow with realm subscriptions 2022-01-12 17:00:16 +09:00
Dean Herbert 00177a3ae1 Update usages to new naming 2022-01-06 22:54:43 +09:00
Dean Herbert 3ea7588a91 Update continuation usages to use `GetCompletedResult` 2022-01-06 22:53:07 +09:00
Dean Herbert 73b40e6833 Replace usage of `.Result` with `.WaitSafelyForResult` 2022-01-04 11:51:41 +09:00
Dean Herbert bbd3ea5b77 Update all actual usages of `RulesetInfo.ID` to use `OnlineID` instead 2021-11-24 15:50:26 +09:00
Dean Herbert 6a098a8634 Rename `BeatmapInfo.OnlineBeatmapID` to `OnlineID` to match interface 2021-11-12 17:46:24 +09:00
Dean Herbert 78aef9ce86
Merge branch 'master' into remove-stupid-weak-reference-bindable-events 2021-11-08 13:35:49 +09:00
Dean Herbert 0ecf5f201c Rename `User` to `APIUser` and move to correct namespace 2021-11-07 11:26:01 +09:00
Dean Herbert 54f72d68ca Revert weird event flow in model manager/importers 2021-11-05 19:12:49 +09:00
Dean Herbert 6944151486 Apply batch fixing of built-in types using `var` 2021-10-27 13:04:41 +09:00
Dean Herbert 853cf6feaa Rename last remaining `BeatmapInfo Beatmap` usage 2021-10-04 17:35:53 +09:00
Dean Herbert 05ca3aec4f Rename `GameplayState` to `SpectatorGameplayState` 2021-10-02 02:10:11 +09:00
Dean Herbert a503274e1d Pass through `MultiplayerRoomUser`s instead of `int`s to avoid re-retrieval 2021-08-10 18:39:20 +09:00
Dean Herbert 459f9a0465 Handle nulls and fix missing documentation 2021-07-05 21:35:37 +09:00
Dean Herbert 9c311a6d8a Add ability to lookup multiple users at once to `UserLookupCache` 2021-07-05 19:56:16 +09:00
smoogipoo 7f24518004 Fix spectator crashing when converting mania replay frames 2021-05-31 19:24:22 +09:00
smoogipoo ee4bca9ed1 Handle collection changed event 2021-05-20 19:37:43 +09:00
smoogipoo 7ee81669f7 Remove bind helpers from SpectatorClient 2021-05-20 19:27:43 +09:00
smoogipoo f74dbb9e1f Remove locking from SpectatorScreen 2021-05-20 18:52:20 +09:00
smoogipoo 6beeb7f7c4 Rename SpectatorStreamingClient -> SpectatorClient 2021-05-20 15:55:07 +09:00
Dean Herbert c065092e72 Fix weird access to userIds in `MultiplayerSpectatorScreen` 2021-05-03 14:25:52 +09:00
smoogipoo 7e11d520d5 Remove finished players from multi spectator screen 2021-04-26 21:25:46 +09:00
smoogipoo 6df23f1301 Merge branch 'master' into multiplayer-spectator-screen 2021-04-22 20:29:24 +09:00
smoogipoo a9e4a0ed50 Fix potentially starting play when finished
The UserFinishedPlaying event may trigger before the event is subscribed
to by SpectatorScreen. For such cases, an extra check is done to make
sure the user is _actually_ playing.
2021-04-20 21:19:08 +09:00
smoogipoo c50b526ba0 Remove local state dictionary from SpectatorScreen 2021-04-19 16:48:55 +09:00
smoogipoo 65a6f9f8a4 Merge branch 'fix-initial-spectator-state-callback' into multiplayer-spectator-screen 2021-04-16 18:26:46 +09:00
smoogipoo 274e33184b Fix SpectatorScreen potentially missing user playing callbacks 2021-04-16 18:22:22 +09:00
smoogipoo 8005f146a9 Fix inspection 2021-04-09 18:37:11 +09:00
smoogipoo 1b5679b0d7 Refactor ctor 2021-04-08 22:14:26 +09:00
smoogipoo cd53074941 Schedule spectator callbacks 2021-04-02 21:27:20 +09:00
smoogipoo d2950105fb Add comment explaining use of lock 2021-04-02 20:31:34 +09:00
Dean Herbert 45d16fb916 Rename event parameter for clarity 2021-04-02 16:56:47 +09:00
smoogipoo af478fb2eb Add abstract spectator screen class 2021-04-01 22:02:32 +09:00