rojo/src/snapshot_middleware
Sasial bb8dd1402d
Add RunContext support for script outputs (#765)
Resolves #667

This PR:

- Introduces a new field in the project file: `scriptType` which has the
default value of `Class` (in parity with previous versions), but can
also be `RunContext`.
- This is then passed to `InstanceContext` from the `Project` struct.
- This then changes the RunContext in the lua `snapshot_middleware`

---------

Co-authored-by: Micah <dekkonot@rocketmail.com>
2023-09-23 13:28:09 -07:00
..
snapshots Add RunContext support for script outputs (#765) 2023-09-23 13:28:09 -07:00
csv.rs feature init csv (#594) 2022-07-29 21:45:19 -04:00
dir.rs Fix snapshot middleware clippy lints (#686) 2023-06-30 11:06:12 -07:00
json.rs Move responsibility for extracting names from paths lower 2021-08-24 17:59:53 -04:00
json_model.rs Removed InstanceSnapshot snapshot_id's redudant Ref. (#730) 2023-07-12 10:00:09 -07:00
lua.rs Add RunContext support for script outputs (#765) 2023-09-23 13:28:09 -07:00
meta_file.rs added attributes to AdjacentMetadata (#624) 2022-08-20 22:32:58 -04:00
mod.rs Add RunContext support for script outputs (#765) 2023-09-23 13:28:09 -07:00
project.rs Add RunContext support for script outputs (#765) 2023-09-23 13:28:09 -07:00
rbxm.rs Major Performance Improvements (#548) 2022-06-05 17:47:31 -04:00
rbxmx.rs Major Performance Improvements (#548) 2022-06-05 17:47:31 -04:00
toml.rs Add support for TOML files (#633) 2023-07-14 20:36:50 +00:00
txt.rs Move responsibility for extracting names from paths lower 2021-08-24 17:59:53 -04:00
util.rs Add RunContext support for script outputs (#765) 2023-09-23 13:28:09 -07:00