mirror of
https://github.com/ppy/osu
synced 2024-12-12 01:48:49 +00:00
Merge pull request #11187 from smoogipoo/multiplayer-int-userids
Use ints for userid parameters
This commit is contained in:
commit
b9a8d1e455
@ -32,7 +32,7 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
||||
/// Signal that the host of the room has changed.
|
||||
/// </summary>
|
||||
/// <param name="userId">The user ID of the new host.</param>
|
||||
Task HostChanged(long userId);
|
||||
Task HostChanged(int userId);
|
||||
|
||||
/// <summary>
|
||||
/// Signals that the settings for this room have changed.
|
||||
@ -45,7 +45,7 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
||||
/// </summary>
|
||||
/// <param name="userId">The ID of the user performing a state change.</param>
|
||||
/// <param name="state">The new state of the user.</param>
|
||||
Task UserStateChanged(long userId, MultiplayerUserState state);
|
||||
Task UserStateChanged(int userId, MultiplayerUserState state);
|
||||
|
||||
/// <summary>
|
||||
/// Signals that a match is to be started. This will *only* be sent to clients which are to begin loading at this point.
|
||||
|
@ -22,7 +22,7 @@ namespace osu.Game.Online.RealtimeMultiplayer
|
||||
/// <param name="userId">The new user which is to become host.</param>
|
||||
/// <exception cref="NotHostException">A user other than the current host is attempting to transfer host.</exception>
|
||||
/// <exception cref="NotJoinedRoomException">If the user is not in a room.</exception>
|
||||
Task TransferHost(long userId);
|
||||
Task TransferHost(int userId);
|
||||
|
||||
/// <summary>
|
||||
/// As the host, update the settings of the currently joined room.
|
||||
|
Loading…
Reference in New Issue
Block a user