mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-08-04 22:36:11 +00:00
wip
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { EngineControllerBase } from './engineControllerBase.js';
|
||||
import { EngineControllerBase } from './EngineControllerBase.js';
|
||||
import type { PlayerProfile } from 'misskey-world-engine/src/PlayerContainer.js';
|
||||
import type { AvatarPreviewEngine } from 'misskey-world-engine/src/avatarPreviewEngine.js';
|
||||
import type { WorldAvatar } from 'misskey-world/src/types.js';
|
||||
|
||||
@@ -329,6 +329,10 @@ export abstract class EngineControllerBase<T extends EngineBase<EngineBaseEvents
|
||||
this.call('resumeRender');
|
||||
}
|
||||
|
||||
public takeScreenshot() {
|
||||
return this.callAndWaitReturn('takeScreenshot');
|
||||
}
|
||||
|
||||
public resize() {
|
||||
if (this.canvas == null) return;
|
||||
const width = this.canvas.clientWidth;
|
||||
|
||||
@@ -7,7 +7,7 @@ import { ref, shallowRef } from 'vue';
|
||||
import { cm } from 'misskey-world/src/utility.js';
|
||||
import { EngineControllerBase } from '../EngineControllerBase.js';
|
||||
import type { ShallowRef } from 'vue';
|
||||
import type { RoomState_InstalledFurniture } from 'misskey-world/src/room/object.js';
|
||||
import type { RoomState_InstalledFurniture } from 'misskey-world/src/room/furniture.js';
|
||||
import type { RoomEngine } from 'misskey-world-engine/src/room/engine.js';
|
||||
import type { RoomAttachments, RoomState } from 'misskey-world/src/room/type.js';
|
||||
import type { PlayerProfile, PlayerState } from 'misskey-world-engine/src/PlayerContainer.js';
|
||||
|
||||
Reference in New Issue
Block a user