1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-28 21:48:16 +09:00
MisskeyIO/src/client/scripts/room/furniture.ts

22 lines
442 B
TypeScript
Raw Normal View History

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>;
};