mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Add ping field, start improving README for 2.0
This commit is contained in:
parent
e937c725bb
commit
6496660633
3 changed files with 73 additions and 5 deletions
|
|
@ -4,7 +4,10 @@ const gbxremote = require('gbxremote'),
|
|||
class Nadeo extends Core {
|
||||
async run(state) {
|
||||
await this.withClient(async client => {
|
||||
const start = Date.now();
|
||||
await this.methodCall(client, 'Authenticate', this.options.login, this.options.password);
|
||||
this.registerRtt(Date.now()-start);
|
||||
|
||||
//const data = this.methodCall(client, 'GetStatus');
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue