Merge pull request #11187 from smoogipoo/multiplayer-int-userids

Use ints for userid parameters
This commit is contained in:
Dean Herbert 2020-12-16 20:44:42 +09:00 committed by GitHub
commit b9a8d1e455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.