[Game] Add JC2MP support. (#54)

* [Game] Add JC2MP support.

* [Game] Add game to changelog and games

* [Games] Add generic support to JC2MP.

* [Game] Add players_maximum and players_online
This commit is contained in:
CosminPerRam 2023-06-19 22:10:49 +03:00 committed by GitHub
parent cb9384e474
commit c3e2d948e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 236 additions and 91 deletions

View file

@ -16,6 +16,7 @@ pub enum Protocol {
Valve(valve::SteamApp),
TheShip,
FFOW,
JC2MP,
}
/// A generic version of a response
@ -56,6 +57,8 @@ pub enum SpecificResponse {
TheShip(crate::games::ts::ExtraResponse),
#[cfg(not(feature = "no_games"))]
FFOW(crate::games::ffow::ExtraResponse),
#[cfg(not(feature = "no_games"))]
JC2MP,
}
/// Timeout settings for socket operations