PROGRESS! mostly ui, got admin stuff
This commit is contained in:
parent
2658f3d28c
commit
e730f9a870
6 changed files with 198 additions and 68 deletions
|
@ -16,6 +16,7 @@ pub enum Request {
|
|||
Login(login::LoginRequest),
|
||||
Quit,
|
||||
Kick(String),
|
||||
Save,
|
||||
Shutdown,
|
||||
// Character stuff
|
||||
CreateCharacter,
|
||||
|
@ -57,12 +58,15 @@ pub enum Request {
|
|||
grid_cell_size: f32,
|
||||
grid_offset: [f32; 2],
|
||||
},
|
||||
SceneSetVisible {
|
||||
SetSceneVisible {
|
||||
scene: usize,
|
||||
visible: bool,
|
||||
},
|
||||
GetScene {
|
||||
id: usize,
|
||||
scene: usize,
|
||||
},
|
||||
ShowScene {
|
||||
scene: usize,
|
||||
},
|
||||
/// TODO: Perhaps remove it, as the client should auto get it on login and on scene list updates
|
||||
GetSceneList,
|
||||
|
@ -101,7 +105,7 @@ pub enum Response {
|
|||
grid_offset: Option<[f32; 2]>,
|
||||
},
|
||||
SceneList {
|
||||
scenes: Vec<(usize, String)>,
|
||||
scenes: Vec<(usize, String, bool)>,
|
||||
},
|
||||
MoveToken {
|
||||
token_id: usize,
|
||||
|
@ -110,6 +114,7 @@ pub enum Response {
|
|||
},
|
||||
SpawnToken(SpawnToken),
|
||||
CharacterCreated(usize),
|
||||
ConnectedPlayers(Vec<String>),
|
||||
Quit {
|
||||
id: String,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue