0.4.0: Claim, Models/ DTOs, compile
LeaderboardSession.ClaimAsync sends onClaim. Generated DTOs live under Models/ with nullable wire fields. Remove incomplete duplicate type files.
This commit is contained in:
@@ -62,9 +62,9 @@ public sealed partial class ScenarioService
|
||||
// Prefer server-provided WaitDeadline from the plan boundary over local calculation.
|
||||
// The server stamps WaitDeadline on server-enforced wait boundaries (see StampBoundaries).
|
||||
var boundary = run.Plan.BoundaryNodes?.FirstOrDefault(
|
||||
b => b.SourceNodeId == state.NodeId && !string.IsNullOrEmpty(b.WaitDeadline)
|
||||
b => b.SourceNodeId == state.NodeId && b.WaitDeadline.HasValue
|
||||
);
|
||||
if (boundary != null && DateTimeOffset.TryParse(boundary.WaitDeadline, null, DateTimeStyles.RoundtripKind, out var parsed))
|
||||
if (boundary?.WaitDeadline is { } parsed)
|
||||
{
|
||||
state.WaitDeadlineUtc = parsed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user