mirror of
https://github.com/Tribufu/rust-gamedig
synced 2026-08-10 07:31:07 +00:00
[Crate] Add better documentation for generic game implementation (#49)
This commit is contained in:
parent
08e00c64e4
commit
4b081371f4
6 changed files with 28 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ pub mod protocols;
|
|||
|
||||
pub use protocols::*;
|
||||
|
||||
/// Versions of the gamespy protocol
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum GameSpyVersion {
|
||||
|
|
@ -15,6 +16,7 @@ pub enum GameSpyVersion {
|
|||
Three,
|
||||
}
|
||||
|
||||
/// Enum of versions and their ExtraResponse data
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum VersionedExtraResponse {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue