mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Add support for vcmp, 2.0.9, Fixes #106
This commit is contained in:
parent
89f1353c6f
commit
00f05b5385
5 changed files with 65 additions and 112 deletions
12
protocols/vcmp.js
Normal file
12
protocols/vcmp.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const Samp = require('./samp');
|
||||
|
||||
class Vcmp extends Samp {
|
||||
constructor() {
|
||||
super();
|
||||
this.magicHeader = 'VCMP';
|
||||
this.responseMagicHeader = 'MP04';
|
||||
this.isVcmp = true;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Vcmp;
|
||||
Loading…
Add table
Add a link
Reference in a new issue