Added 'getQueueLength' to room
@@ -26,6 +26,16 @@ Clear the queue.
|
||||
Room.clearQueue();
|
||||
```
|
||||
|
||||
### getQueueLength
|
||||
|
||||
Get the amount of players in the waiting queue.
|
||||
|
||||
```javascript
|
||||
Room.getQueueLength();
|
||||
```
|
||||
|
||||
**Return** number _Amount of players in the queue._
|
||||
|
||||
## Events
|
||||
|
||||
### on: playerJoinQueue
|
||||
|
||||
Reference in New Issue
Block a user