Commit Graph

263 Commits

Author SHA1 Message Date
smoogipoo 6f89e30f56 Add QueueingMode to MultiplayerRoomSettings 2021-10-15 20:17:19 +09:00
smoogipoo 2784ba1423 Add queueing modes 2021-10-14 16:34:23 +09:00
Dean Herbert e1ab3434ed Add ability to handle user join/leave/kick events in `MultiplayerComposite`s 2021-08-25 14:37:14 +09:00
Dean Herbert bc025efce5 Add commenting regarding workaround to avoid potential omission in the future 2021-08-19 17:42:44 +09:00
Dean Herbert 2b5a42e063 Add missing union specification for `MatchUserRequest` 2021-08-19 17:42:26 +09:00
Dean Herbert f95c6f0de5 Switch multiplayer back to messagepack 2021-08-19 17:42:13 +09:00
Bartłomiej Dach 498462dfd0
Fix room null-check racing against async schedule 2021-08-14 17:44:41 +02:00
Dean Herbert 9b21ebd6d0 Add client side handling on incoming kick 2021-08-11 19:56:06 +09:00
Dean Herbert d9a4f018e6 Add event flow for receiving kick commands 2021-08-11 19:56:06 +09:00
Dean Herbert e8ad0fba75 Add required server methods for kicking users 2021-08-11 17:20:41 +09:00
Dean Herbert 2b9168157d Fix `CurrentMatchPlayingItem` not being reset on leaving a multiplayer room 2021-08-10 16:53:03 +09:00
Dean Herbert ea6e441dec Simplify method of marking players as playing in test scenes 2021-08-09 19:21:22 +09:00
Dean Herbert 8dc167ac9a Set default `MultiplayerRoomSettings` type to something that isn't playlists 2021-08-06 18:56:01 +09:00
Dean Herbert 666007b2f9
Merge branch 'master' into multiplayer-team-vs-team-selection 2021-08-04 13:54:11 +09:00
Dean Herbert 401835a3d8 Add missing event glue 2021-08-04 13:13:47 +09:00
Dean Herbert 75426f84f1 Fire initial match user states in `TestMultiplayerClient` 2021-08-03 23:42:37 +09:00
Dean Herbert b956d32587 Add the ability to change multiplayer game type 2021-08-03 23:42:37 +09:00
Dean Herbert 70da58323a Drop `MatchRuleset` terminology completely 2021-08-03 15:45:17 +09:00
Dean Herbert 66427127f0 Update naming in line with discussion 2021-08-03 15:09:03 +09:00
Dean Herbert 5ac3abac99 Add missing `forceScheduled` parameter 2021-08-03 14:53:04 +09:00
Dean Herbert d93421b9b8 Expose a default `TeamVs` room state so it can be consumed by tests 2021-08-02 18:50:22 +09:00
Dean Herbert c7274355a4 Remove `abstract` definitions from multiplayer states for now 2021-08-02 18:50:22 +09:00
Dean Herbert 617ff40de7 Add the ability to not use MessagePack when creating a `HubConnector` 2021-08-02 18:50:22 +09:00
Dean Herbert 4cf2c6188d Add union attributes for derived class deserialisation 2021-08-02 18:50:22 +09:00
Dean Herbert ce92a47ec6 Add silly event handling hookups 2021-08-02 18:50:22 +09:00
Dean Herbert 359eb9c4ec Add new event flow for match ruleset state handling
I'm totally not happy with how this is done, but don't have the energy
to rewrite everything just now.
2021-08-02 18:50:22 +09:00
Dean Herbert 035dfd071f Add missing nullable specifications 2021-08-02 18:47:26 +09:00
Dean Herbert d17b2b3268 Add boilerplate for server events 2021-08-02 18:47:26 +09:00
Dean Herbert 1d645d4ca9 Mark base classes non-abstract to fix messagepack serialisation 2021-08-02 18:47:26 +09:00
Dean Herbert 1c125eef12 Make `Users` an `IList` for more flexibility server-side 2021-08-02 18:47:26 +09:00
Dean Herbert 9d1e95caf0 Add flow for sending match ruleset specific messages to the server 2021-08-02 18:47:26 +09:00
Dean Herbert e8338f2711 Add basic class structure for match rulesets and required state 2021-08-02 17:14:49 +09:00
smoogipoo 2eec524f27 Fix password not copied from multiplayer client 2021-07-19 20:20:08 +09:00
Dean Herbert 9f9d7f9125 Add remaining pieces of password flow (for osu-web join request) 2021-07-12 18:22:52 +09:00
Dean Herbert 08c40938db Add support for updating a room's password 2021-07-12 15:49:19 +09:00
Dean Herbert 5148069efe Update signatures in line with no-overload methods (unsupported by signalr) 2021-07-12 15:49:19 +09:00
Dean Herbert 2ca11d458a Add password to room settings and multiplayer lounge interface 2021-07-12 15:49:19 +09:00
Dean Herbert 9495f87f04 Remove redundant `NotNull` attributes in `nullable` classes 2021-06-17 16:07:32 +09:00
smoogipoo d197a7f6f5 Rename multiplayer client classes 2021-05-20 15:39:45 +09:00
smoogipoo 5f94b3bdac Remove legacy playlist item ID handling 2021-05-18 21:03:59 +09:00
smoogipoo f8f9cf9412 Merge branch 'fix-initial-playingusers' into multiplayer-spectator-screen 2021-04-22 23:25:25 +09:00
smoogipoo f593d9e42c Fix playing users not being updated on room join 2021-04-22 23:23:43 +09:00
smoogipoo 56e1bffdfd Populate initial user states 2021-04-13 23:57:16 +09:00
smoogipoo 6eddc6c59e Enable spectating multiplayer matches 2021-04-09 21:03:50 +09:00
smoogipoo 2791d454d2 Don't send spectating user state yet 2021-04-07 22:21:22 +09:00
smoogipoo 6de91d7b6b Add spectate button + test 2021-04-06 21:37:27 +09:00
smoogipoo d5ba77b2c2 Add spectating user state 2021-04-06 21:22:28 +09:00
Dean Herbert b1cd01ceb8 Apply ConfigureAwait changes to game side 2021-03-08 14:36:35 +09:00
smoogipoo 7adb33f40e Fix beatmap getting nulled due to failing web request 2021-03-01 17:24:54 +09:00
smoogipoo c0e0bd4f42 Add compatibility with old server build 2021-02-19 13:57:04 +09:00