This commit is contained in:
Rusty Striker 2025-06-22 20:49:54 +03:00
parent 2a7324b133
commit bb7d3c48ea
Signed by: RustyStriker
GPG key ID: 87E4D691632DFF15
6 changed files with 98 additions and 44 deletions

View file

@ -75,11 +75,23 @@ pub enum Response {
Login(login::LoginResult),
Message(ChatMessage),
GetChatHistory(Vec<ChatMessage>),
ShowScene { scene: usize, tokens: Vec<SpawnToken>, background: Option<String> },
MoveToken { token_id: usize, x: f32, y: f32 },
ShowScene {
scene: usize,
tokens: Vec<SpawnToken>,
background: Option<String>,
grid_cell_size: Option<f32>,
grid_offset: Option<[f32; 2]>,
},
MoveToken {
token_id: usize,
x: f32,
y: f32,
},
SpawnToken(SpawnToken),
CharacterCreated(usize),
Quit { id: String },
Quit {
id: String,
},
Shutdown,
}