mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Turn messages into stub SubscribeMessage struct
This commit is contained in:
parent
a46d467b75
commit
bd33aebc3d
5 changed files with 28 additions and 12 deletions
|
|
@ -60,6 +60,7 @@ pub struct PatchUpdate {
|
|||
///
|
||||
// TODO: Introduce machinery to detect conflicts, like keeping previous +
|
||||
// current values in all fields.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct AppliedPatchSet {
|
||||
pub removed: Vec<RbxId>,
|
||||
pub added: Vec<AppliedPatchAdd>,
|
||||
|
|
@ -76,10 +77,12 @@ impl AppliedPatchSet {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct AppliedPatchAdd {
|
||||
pub instance_id: RbxId,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct AppliedPatchUpdate {
|
||||
pub id: RbxId,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue