mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Added support for Starsiege 2009 Closes #100 (v2.0.2)
This commit is contained in:
parent
ad0be5a0bf
commit
9619449d77
6 changed files with 72 additions and 7 deletions
12
protocols/starsiege.js
Normal file
12
protocols/starsiege.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const Tribes1 = require('./tribes1');
|
||||
|
||||
class Starsiege extends Tribes1 {
|
||||
constructor() {
|
||||
super();
|
||||
this.encoding = 'latin1';
|
||||
this.requestByte = 0x72;
|
||||
this.responseByte = 0x73;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Starsiege;
|
||||
Loading…
Add table
Add a link
Reference in a new issue