aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/interfaces/PreloadedAssets.ts
blob: 54d20b8f8441dee319fe79e55fd5a94a29c3abf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export interface PreloadedAssets {
  /** Resolved URL for idle (a) sprite */
  idleUrl: string;
  /** Resolved URL for talking (b) sprite */
  talkingUrl: string;
  /** Resolved URL for pre-animation sprite (no prefix) */
  preanimUrl: string;
  /** Duration of preanim in ms (0 if no preanim) */
  preanimDuration: number;
  /** Resolved URL for paired character idle (a) sprite */
  pairIdleUrl: string;
  /** Resolved per-character shout SFX URL, or null to use default */
  shoutSfxUrl: string | null;
  /** Resolved emote SFX URL, or null if no sound */
  emoteSfxUrl: string | null;
  /** Resolved realization (flash) SFX URL */
  realizationSfxUrl: string | null;
  /** Resolved stab (screenshake) SFX URL */
  stabSfxUrl: string | null;
}