mirror of
https://github.com/Tribufu/rust-gamedig
synced 2026-08-09 23:21:06 +00:00
[Games] Generic query add support for GS2 protocol and Halo:CE game
This commit is contained in:
parent
e44a680a59
commit
a377b76a55
4 changed files with 41 additions and 2 deletions
|
|
@ -11,12 +11,14 @@ pub use protocols::*;
|
|||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum GameSpyVersion {
|
||||
One,
|
||||
Two,
|
||||
Three,
|
||||
}
|
||||
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum VersionedExtraResponse {
|
||||
One(protocols::one::ExtraResponse),
|
||||
Three(protocols::three::ExtraResponse),
|
||||
One(one::ExtraResponse),
|
||||
Two(two::ExtraResponse),
|
||||
Three(three::ExtraResponse),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue