-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
| public interface ISharedInterop | |
| { | |
| /// <summary> | |
| /// Creates an osu!web room. | |
| /// </summary> | |
| /// <remarks> | |
| /// This does not join the creating user to the room. A subsequent call to <see cref="AddUserToRoomAsync"/> should be made if required. | |
| /// </remarks> | |
| /// <param name="hostUserId">The ID of the user that wants to create the room.</param> | |
| /// <param name="room">The room.</param> | |
| /// <returns>The room's ID.</returns> | |
| Task<long> CreateRoomAsync(int hostUserId, MultiplayerRoom room); | |
| /// <summary> | |
| /// Adds a user to an osu!web room. | |
| /// </summary> | |
| /// <remarks> | |
| /// This performs setup tasks like adding the user to the relevant chat channel. | |
| /// </remarks> | |
| /// <param name="userId">The ID of the user wanting to join the room.</param> | |
| /// <param name="roomId">The ID of the room to join.</param> | |
| /// <param name="password">The room's password.</param> | |
| Task AddUserToRoomAsync(int userId, long roomId, string password); | |
| /// <summary> | |
| /// Parts an osu!web room. | |
| /// </summary> | |
| /// <remarks> | |
| /// This performs setup tasks like removing the user from any relevant chat channels. | |
| /// </remarks> | |
| /// <param name="userId">The ID of the user wanting to part the room.</param> | |
| /// <param name="roomId">The ID of the room to part.</param> | |
| Task RemoveUserFromRoomAsync(int userId, long roomId); | |
| } |
All operations here should be replaced with local reimplementations that do not require web to be alive.
Metadata
Metadata
Assignees
Labels
No labels