Synchronise les parties entre les deux devices
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using ChessCubing.App.Models;
|
||||
|
||||
namespace ChessCubing.App.Models.Social;
|
||||
|
||||
public sealed class SocialOverviewResponse
|
||||
@@ -133,3 +135,33 @@ public sealed class PlaySessionResponse
|
||||
|
||||
public DateTime ConfirmedUtc { get; init; }
|
||||
}
|
||||
|
||||
public sealed class CollaborativeMatchStateMessage
|
||||
{
|
||||
public string SessionId { get; init; } = string.Empty;
|
||||
|
||||
public string? MatchJson { get; init; }
|
||||
|
||||
public string Route { get; init; } = "/application.html";
|
||||
|
||||
public string SenderSubject { get; init; } = string.Empty;
|
||||
|
||||
public long Revision { get; init; }
|
||||
|
||||
public DateTime UpdatedUtc { get; init; }
|
||||
}
|
||||
|
||||
public sealed class CollaborativeMatchSnapshot
|
||||
{
|
||||
public string SessionId { get; init; } = string.Empty;
|
||||
|
||||
public MatchState? Match { get; init; }
|
||||
|
||||
public string Route { get; init; } = "/application.html";
|
||||
|
||||
public string SenderSubject { get; init; } = string.Empty;
|
||||
|
||||
public long Revision { get; init; }
|
||||
|
||||
public DateTime UpdatedUtc { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user