Skip to content

Commit

Permalink
#154 textのpackageにinterfaceを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ienaga committed Feb 5, 2025
1 parent be7f1bd commit 7f661d0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/text/src/interface/IDictionaryTag.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export interface IDictionaryTag {
characterId: number;
name: string;
startFrame: number;
endFrame: number;
depth: number;
clipDepth: number;
}
6 changes: 6 additions & 0 deletions packages/text/src/interface/ISoundTag.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface ISoundTag {
characterId: number;
volume: number;
autoPlay: boolean;
loopCount: number;
}
12 changes: 12 additions & 0 deletions packages/text/src/interface/IVideoCharacter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { IBounds } from "./IBounds";

export interface IVideoCharacter {
symbol?: string;
extends: string;
buffer: number[] | null;
videoData: Uint8Array;
volume: number;
loop: boolean;
autoPlay: boolean;
bounds: IBounds;
}

0 comments on commit 7f661d0

Please sign in to comment.