Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | List of all members
core::res::PeoplemonBundleHandler< T > Struct Template Reference

Generic handler for peoplemon files when being bundled. Performs format conversion and registers dependency files. Requires dev loaders to be installed. More...

#include <BundleHandlers.hpp>

+ Inheritance diagram for core::res::PeoplemonBundleHandler< T >:

Public Member Functions

virtual bool processFile (const std::string &path, std::ostream &output, bl::resource::bundle::FileHandlerContext &context) override
 Processes the given resource file to bundle. More...
 

Detailed Description

template<typename T>
struct core::res::PeoplemonBundleHandler< T >

Generic handler for peoplemon files when being bundled. Performs format conversion and registers dependency files. Requires dev loaders to be installed.

Template Parameters
TThe type of Peoplemon file to bundle

Definition at line 19 of file BundleHandlers.hpp.

Member Function Documentation

◆ processFile()

template<typename T >
virtual bool core::res::PeoplemonBundleHandler< T >::processFile ( const std::string &  path,
std::ostream &  output,
bl::resource::bundle::FileHandlerContext &  context 
)
inlineoverridevirtual

Processes the given resource file to bundle.

Parameters
pathThe file to bundle
outputStream to bundle into
contextContext for bundling
Returns
True if the file could be bundled, false on error

Definition at line 28 of file BundleHandlers.hpp.


The documentation for this struct was generated from the following file: