@@ 54,6 54,8 @@ pub enum PlayerState {
pub struct PlayerStatus {
pub state: PlayerState,
+ pub plays: i16,
+ pub buys: i16,
pub currency: i16,
pub vp: i16,
pub hand: Vec<Card>,
@@ 52,6 52,8 @@ pub fn parse(game: &Game) -> Result<GameStatus, ()> {
game.host_id.clone(),
PlayerStatus {
state: PlayerState::Idle,
+ plays: 0,
+ buys: 0,
currency: 0,
vp: 2,
hand: vec![],
@@ 64,6 66,8 @@ pub fn parse(game: &Game) -> Result<GameStatus, ()> {
game.guest_id.clone(),
PlayerStatus {
state: PlayerState::Idle,
+ plays: 0,
+ buys: 0,
currency: 0,
vp: 2,
hand: vec![],