mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 14:05:35 +02:00
recordPlayer
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -68,6 +68,7 @@ import { poster } from './objects/poster.js';
|
||||
import { powerStrip } from './objects/powerStrip.js';
|
||||
import { radiometer } from './objects/radiometer.js';
|
||||
import { randomBooks } from './objects/randomBooks.js';
|
||||
import { recordPlayer } from './objects/recordPlayer.js';
|
||||
import { rolledUpPoster } from './objects/rolledUpPoster.js';
|
||||
import { roundRug } from './objects/roundRug.js';
|
||||
import { router } from './objects/router.js';
|
||||
@@ -168,6 +169,7 @@ export const OBJECT_DEFS = [
|
||||
powerStrip,
|
||||
radiometer,
|
||||
randomBooks,
|
||||
recordPlayer,
|
||||
rolledUpPoster,
|
||||
roundRug,
|
||||
router,
|
||||
|
||||
23
packages/frontend/src/world/room/objects/recordPlayer.ts
Normal file
23
packages/frontend/src/world/room/objects/recordPlayer.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: syuilo and misskey-project
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { defineObject } from '../object.js';
|
||||
|
||||
export const recordPlayer = defineObject({
|
||||
id: 'recordPlayer',
|
||||
name: 'recordPlayer',
|
||||
options: {
|
||||
schema: {},
|
||||
default: {},
|
||||
},
|
||||
placement: 'top',
|
||||
hasCollisions: false,
|
||||
canPreMeshesMerging: false,
|
||||
createInstance: () => {
|
||||
return {
|
||||
interactions: {},
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user