essences/
matchmaking.rs

1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3use tsify_next::Tsify;
4use uuid::Uuid;
5
6#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, JsonSchema, Tsify)]
7pub struct MatchmakingCache {
8    pub character_id: Uuid,
9    pub opponent_ids: Vec<Uuid>,
10    pub need_refresh: bool,
11    pub is_free_refresh_available: bool,
12}