mirror of
https://github.com/arabine/open-story-teller.git
synced 2025-12-07 01:15:14 +01:00
24 lines
540 B
C++
24 lines
540 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include "i_story_manager.h"
|
|
#include "base_node.h"
|
|
#include "i_script_node.h"
|
|
#include "i_story_project.h"
|
|
|
|
class FunctionNode : public BaseNode
|
|
{
|
|
public:
|
|
FunctionNode(const std::string &type);
|
|
|
|
virtual void Initialize() override;
|
|
virtual std::string Build(IStoryPage &page, const StoryOptions &options, int nb_out_conns) override;
|
|
virtual std::string GenerateConstants(IStoryPage &page, const StoryOptions &options, int nb_out_conns) override;
|
|
|
|
void StoreInternalData();
|
|
|
|
private:
|
|
|
|
};
|
|
|