Commit Graph

77 Commits

Author SHA1 Message Date
147db0abe2 Fix client naming and xmldoc 2020-12-08 20:43:18 +09:00
60550b73f7 Add missing states and xmldoc for all states' purposes 2020-12-08 20:43:18 +09:00
8eccfa476c Add loading states 2020-12-08 20:43:18 +09:00
345352be67 Mark PerformUpdate as an instant handle method (doesn't really help with anything) 2020-12-08 20:43:18 +09:00
11a7057289 Add notification flow for user state changes in room 2020-12-08 20:43:18 +09:00
dbe048cdc6 Add client method for notifying about host changes 2020-12-08 20:43:18 +09:00
a4ca8d2998 Ensure multiplayer rooms are instantiated with a room ID 2020-12-08 20:43:18 +09:00
71de7ce0a3 Add missing methods to server interface 2020-12-08 20:43:18 +09:00
5f5c0d5533 Return room model when joining 2020-12-08 20:43:18 +09:00
5d2ca7fc39 Make remaining model classes nullable and serializable 2020-12-08 20:43:18 +09:00
2365d65610 Move business logic out of MultiplayerRoom 2020-12-08 20:43:18 +09:00
42b1e9d6a4 Add xmldoc coverage of MultiplayerRoom 2020-12-08 20:43:18 +09:00
4f449ba821 Rename idle state 2020-12-08 20:43:18 +09:00
5a231cef15 Add thread safety for external operations on MultiplayerRoom 2020-12-08 20:43:18 +09:00
327799c263 Rename multiplayer server file to match class 2020-12-08 20:43:18 +09:00
b3bdaaa7b5 Move exceptions to common code 2020-12-08 20:43:18 +09:00
e193f8214d Remove unnecessary room id from leave room request 2020-12-08 20:43:18 +09:00
882ace6efe Make MultiplayerRoomUser equatable 2020-12-08 20:43:18 +09:00
baf16cfbc3 Add room settings related model and event flow 2020-12-08 20:43:18 +09:00
6e5846d91b Fix serialization failure due to missing set 2020-12-08 20:43:18 +09:00
ff52a5ddc6 Add callbacks for join/leave events to notify other room occupants 2020-12-08 20:43:18 +09:00
ca86524c92 Add locking on join/leave operations 2020-12-08 20:43:18 +09:00
fdf025942b Ensure room is locked when mutating users 2020-12-08 20:43:18 +09:00
8ebdb5723b Add models for users and rooms 2020-12-08 20:43:18 +09:00
f4ccbbd092 Add basic server implementation 2020-12-08 20:43:18 +09:00
daed27460c Add simple user state class 2020-12-08 20:43:18 +09:00
be4a668e0b Add basic structure for multiplayer state and model components 2020-12-08 20:43:18 +09:00