| 272 | } |
| 273 | |
| 274 | Json LuaBindings::RootCallbacks::assetFrames(Root* root, String const& path) { |
| 275 | if (auto frames = root->assets()->imageFrames(path)) |
| 276 | return frames->toJson(); |
| 277 | return Json(); |
| 278 | } |
| 279 | |
| 280 | Json LuaBindings::RootCallbacks::assetJson(Root* root, String const& path) { |
| 281 | return root->assets()->json(path); |
nothing calls this directly
no test coverage detected