MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / constructor

Method constructor

src/scripting/host/BridgedSandbox.ts:22–31  ·  view source on GitHub ↗
(scripter:IScripter, stage:StageElement, player:IPlayer)

Source from the content-addressed store, hash-verified

20 private _isAvailable:boolean = false;
21
22 constructor(scripter:IScripter, stage:StageElement, player:IPlayer) {
23 this._scripter = scripter;
24 this._scriptingContext = KagerouScripting.getContext(stage);
25 this._stage = stage;
26 this._player = player;
27 this._worker = new OOAPIWorker(this._scripter.getWorker());
28 this._queue = new SmartQueue<SandboxEvent>();
29
30 this._bind();
31 }
32
33 get isAvailable():boolean {
34 return this._isAvailable;

Callers

nothing calls this directly

Calls 2

_bindMethod · 0.95
getWorkerMethod · 0.65

Tested by

no test coverage detected