mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Thread InstanceSnapshotContext through all SnapshotMiddleware
This commit is contained in:
parent
6d38a785ed
commit
f0cd4333c3
12 changed files with 131 additions and 52 deletions
|
|
@ -1,7 +1,16 @@
|
|||
#[derive(Debug)]
|
||||
pub struct InstanceSnapshotContext {
|
||||
/// Empty struct that will be used later to fill out required Lua state for
|
||||
/// user plugins.
|
||||
pub plugin_context: Option<()>,
|
||||
}
|
||||
|
||||
impl Default for InstanceSnapshotContext {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
plugin_context: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ImfsSnapshotContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue