mirror of
https://github.com/gamedig/node-gamedig.git
synced 2024-11-16 08:48:32 +01:00
cee42e7a88
* Convert to LF? * Modify gitattributes * Force LF * Git --renormalize * Update .gitattributes to enforce eol=lf * Redo CRLF -> LF on remaining files
16 lines
416 B
JavaScript
16 lines
416 B
JavaScript
import gamespy3 from './gamespy3.js'
|
|
|
|
// supposedly, gamespy3 is the "official" query protocol for jcmp,
|
|
// but it's broken (requires useOnlySingleSplit), and may not include some player names
|
|
export default class jc2mp extends gamespy3 {
|
|
constructor () {
|
|
super()
|
|
this.useOnlySingleSplit = true
|
|
this.isJc2mp = true
|
|
this.encoding = 'utf8'
|
|
}
|
|
|
|
async run (state) {
|
|
await super.run(state)
|
|
}
|
|
}
|