feat: add user icon library and in-game selection

This commit is contained in:
2026-08-01 03:40:36 +00:00
parent 395b60cdbe
commit a275e6a234
26 changed files with 1214 additions and 69 deletions
+6 -1
View File
@@ -212,6 +212,7 @@ export type TurnDaemonCommand =
picture: string;
imageServer: number;
iconRevision: string;
enforceCooldown?: boolean;
}
| {
type: 'joinCreateGeneral';
@@ -254,6 +255,9 @@ export type TurnDaemonCommand =
uniqueName: string;
personality: string;
seedOwnerIdentity: string | number;
ownerPicture?: string;
ownerImageServer?: number;
ownerIconRevision?: string;
}
| {
type: 'selectPoolReselect';
@@ -534,8 +538,9 @@ export type TurnDaemonCommandResult =
| {
type: 'adjustGeneralIcon';
ok: false;
code: 'CONFLICT' | 'PRECONDITION_FAILED';
code: 'CONFLICT' | 'PRECONDITION_FAILED' | 'TOO_MANY_REQUESTS';
reason: string;
availableAt?: string;
}
| {
type: 'joinCreateGeneral';