mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 06:34:09 +00:00
Basic synchronization of edited objects
This commit is contained in:
parent
00b903e97c
commit
8729de1312
6 changed files with 148 additions and 34 deletions
|
|
@ -4,8 +4,14 @@ use std::sync::{mpsc, Arc, RwLock, Mutex};
|
|||
use id::{Id, get_id};
|
||||
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
#[serde(tag = "type")]
|
||||
pub enum Message {
|
||||
Something,
|
||||
InstanceChanged {
|
||||
id: Id,
|
||||
},
|
||||
Error {
|
||||
message: String
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue