1
0

feat(client): Reimplement Misskey Rooms

This commit is contained in:
syuilo
2020-05-09 15:47:20 +09:00
parent 71e5892308
commit 0294061c00
149 changed files with 1672 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
export type RoomInfo = {
roomType: string;
carpetColor: string;
furnitures: Furniture[];
};
export type Furniture = {
id: string; // 同じ家具が複数ある場合にそれぞれを識別するためのIDであり、家具IDではない
type: string; // こっちが家具ID(chairとか)
position: {
x: number;
y: number;
z: number;
};
rotation: {
x: number;
y: number;
z: number;
};
props?: Record<string, any>;
};