Add client method for notifying about host changes

This commit is contained in:
Dean Herbert 2020-12-08 17:03:44 +09:00
parent a4ca8d2998
commit dbe048cdc6
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ public interface IMultiplayerClient
/// <param name="user">The user.</param>
Task UserLeft(MultiplayerRoomUser user);
/// <summary>
/// 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);
/// <summary>
/// Signals that the settings for this room have changed.
/// </summary>