use a SendTo enum instead of using Option to know who to send the broadcast message
This commit is contained in:
parent
23e23ad1a2
commit
0d99649e56
3 changed files with 58 additions and 30 deletions
|
@ -63,6 +63,7 @@ pub enum Request {
|
|||
GetScene {
|
||||
id: usize,
|
||||
},
|
||||
/// TODO: Perhaps remove it, as the client should auto get it on login and on scene list updates
|
||||
GetSceneList,
|
||||
GetTokens {
|
||||
scene: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue