open-story-teller/core/interfaces/i_script_node.h
anthony@rabine.fr f538148a9a
Some checks failed
build-story-editor / build_linux (push) Has been cancelled
build-story-editor / build_win32 (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
Create separated core (WIP) GUI agnostic, new sub pages for functions
2024-08-30 13:25:40 +02:00

15 lines
341 B
C++

#pragma once
#include <string>
#include "i_story_manager.h"
#include "base_node.h"
class IScriptNode
{
public:
virtual ~IScriptNode() {}
virtual std::string Build(IStoryManager &story, int nb_out_conns, BaseNode &base) = 0;
virtual std::string GenerateConstants(IStoryManager &story, int nb_out_conns, BaseNode &base) = 0;
};