feat: synchronize account icons across game profiles

This commit is contained in:
2026-07-31 11:21:08 +00:00
parent c8adeeb47b
commit 5f20413552
87 changed files with 5755 additions and 280 deletions
+21
View File
@@ -205,6 +205,14 @@ export type TurnDaemonCommand =
specialWar?: string;
};
}
| {
type: 'adjustGeneralIcon';
requestId?: string;
userId: string;
picture: string;
imageServer: number;
iconRevision: string;
}
| {
type: 'joinCreateGeneral';
requestId?: string;
@@ -220,6 +228,7 @@ export type TurnDaemonCommand =
profileId: string;
ownerPicture?: string;
ownerImageServer?: number;
ownerIconRevision?: string;
ownerCanUsePicture?: boolean;
ownerLegacyPenalty?: Record<string, unknown>;
inheritSpecial?: string;
@@ -516,6 +525,18 @@ export type TurnDaemonCommandResult =
generalId: number;
reason: string;
}
| {
type: 'adjustGeneralIcon';
ok: true;
generalId: number | null;
updated: boolean;
}
| {
type: 'adjustGeneralIcon';
ok: false;
code: 'CONFLICT' | 'PRECONDITION_FAILED';
reason: string;
}
| {
type: 'joinCreateGeneral';
ok: true;