mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 04:51:47 +00:00
Compute snapshot context from project in build
This commit is contained in:
parent
b093626a21
commit
83665018d4
2 changed files with 33 additions and 9 deletions
|
|
@ -4,8 +4,10 @@ use rlua::{Lua, RegistryKey};
|
|||
|
||||
#[derive(Debug)]
|
||||
pub struct InstanceSnapshotContext {
|
||||
/// Empty struct that will be used later to fill out required Lua state for
|
||||
/// user plugins.
|
||||
/// Holds all the state needed to run user plugins as part of the snapshot
|
||||
/// process.
|
||||
///
|
||||
/// If this is None, then plugins should not be evaluated at all.
|
||||
pub plugin_context: Option<SnapshotPluginContext>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue