Skip to content

Commit 2fbcdb7

Browse files
committed
add doc block for getCamera
1 parent 418b2fd commit 2fbcdb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rustplus.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@ class RustPlus extends EventEmitter {
367367
}, callback);
368368
}
369369

370+
/**
371+
* Get a camera instance for controlling CCTV Cameras, PTZ Cameras and Auto Turrets
372+
* @param identifier Camera Identifier, such as DOME1, OILRIG1L1, (or a custom camera id)
373+
* @returns {Camera}
374+
*/
370375
getCamera(identifier) {
371376
return new Camera(this, identifier);
372377
}

0 commit comments

Comments
 (0)