Add 'route' to each RbxInstance, which tags how the instance was generated

This commit is contained in:
Lucien Greathouse
2018-01-05 13:07:09 -08:00
parent 2df1dfa1cb
commit 86d7d033d7
4 changed files with 8 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ pub struct RbxInstance {
pub class_name: String,
pub children: Vec<RbxInstance>,
pub properties: HashMap<String, RbxValue>,
/// The route that this instance was generated from, if there was one.
pub route: Option<Vec<String>>,
}
/// Any kind value that can be used by Roblox