node-gamedig/protocols/hawakening.js
RattleSN4K3 d2397b67e7
feat: add Hawakening support (#648)
* Add support for Hawakening, querying master server

* Outsource backend calls into Api class

* Define json response via schema, optional data validation with Ajv (commented out)

* Add support for Hawakening master query through separate protocol

Protocol 'hawakeningmaster' provides full list of processed server info

* docs: update CHANGELOG and GAMES_LIST for Hawakening

* Additional API check + cleanup

* Allowing public/non-authorized master server query for Hawkening severs

* Fix: Reference the master protocol correctly in docs/games_list

* Reorganized code file, moved schema and API-class to the end
2024-10-12 17:51:56 +03:00

13 lines
361 B
JavaScript

import hawakeningmaster from './hawakeningmaster.js'
/**
* Implements the protocol for Hawakening, a fan project of the UnrealEngine3 based game HAWKEN
* using a Meteor backend for the master server
*/
export default class hawakening extends hawakeningmaster {
constructor () {
super()
this.doQuerySingle = true
this.requireToken = true
}
}