Add note about LoadRequested only being sent to a subset of room users

This commit is contained in:
Dean Herbert 2020-12-08 19:44:22 +09:00
parent 021a116093
commit d76fabedf9
2 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public interface IMultiplayerClient
Task UserStateChanged(long userId, MultiplayerUserState state);
/// <summary>
/// Signals that a match is to be started. Users in the <see cref="MultiplayerUserState.Ready"/> state should begin loading gameplay at this point.
/// Signals that a match is to be started. This will *only* be sent to clients which are to begin loading at this point.
/// </summary>
Task LoadRequested();

View File

@ -13,6 +13,10 @@ public enum MultiplayerUserState
/// <summary>
/// The user has marked themselves as ready to participate and should be considered for the next game start.
/// </summary>
/// <remarks>
/// Clients in this state will receive gameplay channel messages.
/// As a client the only thing to look for in this state is a <see cref="IMultiplayerClient.LoadRequested"/> call.
/// </remarks>
Ready,
/// <summary>