MCPcopy Create free account
hub / github.com/eva-engine/eva.js / constructor

Method constructor

packages/plugin-sound/lib/SoundSystem.ts:57–63  ·  view source on GitHub ↗
(obj?: SoundSystemParams)

Source from the content-addressed store, hash-verified

55 private audioBufferCache = {};
56
57 constructor(obj?: SoundSystemParams) {
58 super();
59 Object.assign(this, obj);
60 if (obj?.useLegacy) {
61 sound.useLegacy = true;
62 }
63 }
64
65 /**
66 * 恢复播放所有被暂停的音频

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected