mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
Upgrade syntax of everything to more modern javascript
This commit is contained in:
parent
f8d903b982
commit
69288baebc
43 changed files with 1499 additions and 1521 deletions
|
|
@ -1,7 +1,9 @@
|
|||
module.exports = require('./unreal2').extend({
|
||||
readExtraInfo: function(reader,state) {
|
||||
class Ut2004 extends require('./unreal2') {
|
||||
readExtraInfo(reader,state) {
|
||||
state.raw.ping = reader.uint(4);
|
||||
state.raw.flags = reader.uint(4);
|
||||
state.raw.skill = reader.uint(2);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = Ut2004;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue