mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
Add support for udp bind port override (3.0.5) Fixes #149
This commit is contained in:
parent
68b8dfd684
commit
ce4e728493
8 changed files with 59 additions and 26 deletions
|
|
@ -3,8 +3,8 @@ const QueryRunner = require('./QueryRunner');
|
|||
let singleton = null;
|
||||
|
||||
class Gamedig {
|
||||
constructor() {
|
||||
this.queryRunner = new QueryRunner();
|
||||
constructor(runnerOpts) {
|
||||
this.queryRunner = new QueryRunner(runnerOpts);
|
||||
}
|
||||
|
||||
async query(userOptions) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue