mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-09-29 21:51:31 +02:00
Document input parameters
This commit is contained in:
parent
e0f3f7ecbf
commit
399dba0d9c
@ -22,6 +22,14 @@ Gamedig.query(
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Input Parameters
|
||||||
|
---
|
||||||
|
* type (one of the types from the protocols folder)
|
||||||
|
* host
|
||||||
|
* port (uses the protocol default if not set)
|
||||||
|
* login (required by nadeo protocol)
|
||||||
|
* password (required by nadeo protocol)
|
||||||
|
|
||||||
Callback Function
|
Callback Function
|
||||||
---
|
---
|
||||||
The callback function is "guaranteed" to be called exactly once.
|
The callback function is "guaranteed" to be called exactly once.
|
||||||
@ -64,7 +72,6 @@ Supported Games
|
|||||||
* Trackmania Forever
|
* Trackmania Forever
|
||||||
* Trackmania 2
|
* Trackmania 2
|
||||||
* Shootmania
|
* Shootmania
|
||||||
* (requires additional 'login' and 'password' parameters for User login on server)
|
|
||||||
* Quake 2 Protocol
|
* Quake 2 Protocol
|
||||||
* Quake 2
|
* Quake 2
|
||||||
* Quake 3 Protocol
|
* Quake 3 Protocol
|
||||||
|
Loading…
Reference in New Issue
Block a user