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
This commit is contained in:
RattleSN4K3 2024-10-12 16:51:56 +02:00 committed by GitHub
parent fe9d4f2cfc
commit d2397b67e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 765 additions and 2 deletions

View file

@ -1457,6 +1457,18 @@ export const games = {
protocol: 'gamespy2'
}
},
hawakening: {
name: 'Hawakening',
release_year: 2024,
options: {
port: 7777,
port_query: 27015,
protocol: 'hawakening'
},
extra: {
doc_notes: 'hawakening'
}
},
heretic2: {
name: 'Heretic II',
release_year: 1998,