[improve] set game dir on client -> updates Play/Install button based on games existing
This commit is contained in:
@ -5,6 +5,7 @@ use tracing::error;
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub enum Request {
|
||||
Ping,
|
||||
ListGames,
|
||||
GetGame { id: String },
|
||||
Invalid(Bytes, String),
|
||||
@ -12,6 +13,7 @@ pub enum Request {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub enum Response {
|
||||
Pong,
|
||||
Games(Vec<Game>),
|
||||
Game(Game),
|
||||
GameNotFound(String),
|
||||
|
Reference in New Issue
Block a user