Merge branch 'phase/41-opinions'

# Conflicts:
#	docs/phases/README.md
This commit is contained in:
Leonid Pershin
2026-08-20 07:58:05 +03:00
25 changed files with 1021 additions and 28 deletions
+21 -2
View File
@@ -81,7 +81,8 @@ internal sealed record PersonCardResponse(
bool HasAvatar = false,
bool HasCustom = false,
bool HasFullBody = false,
string? CustomPortraitPrompt = null);
string? CustomPortraitPrompt = null,
PersonConnectionsResponse? Connections = null);
internal sealed record WornItemResponse(
string DefName,
@@ -112,7 +113,25 @@ internal sealed record PersonFamilyResponse(
IReadOnlyList<PersonRelResponse> Siblings,
IReadOnlyList<PersonRelResponse> Partners);
internal sealed record PersonRelResponse(string Id, string FullName, bool Female);
internal sealed record PersonRelResponse(
string Id,
string FullName,
bool Female,
int? Opinion = null,
string? OpinionLabel = null);
internal sealed record PersonOpinionLinkResponse(
string Id,
string FullName,
bool Female,
int Opinion,
string OpinionLabel);
internal sealed record PersonConnectionsResponse(
PersonFamilyResponse Family,
IReadOnlyList<PersonOpinionLinkResponse> Friends,
IReadOnlyList<PersonOpinionLinkResponse> Enemies,
IReadOnlyList<PersonOpinionLinkResponse> Others);
internal sealed record DirectoryResponse(IReadOnlyList<DirectoryPersonResponse> People);