|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Binary factory for Json resources (version 0). More...
#include <JsonFactory.h>
Public Member Functions | |
| std::shared_ptr< IResource > | ReadResource (std::shared_ptr< File > file, std::shared_ptr< Ship::ResourceInitData > initData) override |
| Deserializes a binary file into a Json resource. | |
Public Member Functions inherited from Ship::ResourceFactory | |
| virtual std::shared_ptr< IResource > | ReadResource (std::shared_ptr< File > file, std::shared_ptr< ResourceInitData > initData)=0 |
| Deserializes a File into an IResource. | |
Additional Inherited Members | |
Protected Member Functions inherited from Ship::ResourceFactoryBinary | |
| bool | FileHasValidFormatAndReader (std::shared_ptr< File > file, std::shared_ptr< Ship::ResourceInitData > initData) override |
| Validates that the file uses the binary format and contains a BinaryReader. | |
Binary factory for Json resources (version 0).
Reads a JSON string from a File's BinaryReader, parses it, and produces a Json resource.
|
override |