Retry a failed portrait from the notice with the same scene builder.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -60,7 +60,8 @@ internal static class DevEndpoints
|
||||
var command = new GameCommand.PostSchoolNotice(
|
||||
id,
|
||||
defName,
|
||||
request?.PersonId ?? 0,
|
||||
request?.Person?.Trim() ?? "",
|
||||
request?.Kind?.Trim() ?? "",
|
||||
NewCompletion<PostedNotice?>());
|
||||
commands.Enqueue(command);
|
||||
var posted = await command.Result.Task.WaitAsync(CommandTimeout, cancellationToken);
|
||||
@@ -153,4 +154,4 @@ internal sealed record SchoolDumpLessonResponse(
|
||||
int Day,
|
||||
int Period);
|
||||
|
||||
internal sealed record PostDevNoticeRequest(string? DefName, uint PersonId);
|
||||
internal sealed record PostDevNoticeRequest(string? DefName, uint PersonId = 0, string? Person = null, string? Kind = null);
|
||||
|
||||
Reference in New Issue
Block a user