1 #ifndef CORE_SCRIPTS_CONVERSATIONCONTEXT_HPP
2 #define CORE_SCRIPTS_CONVERSATIONCONTEXT_HPP
4 #include <BLIB/ECS/Entity.hpp>
5 #include <BLIB/Scripts.hpp>
32 using StatusCb = std::function<bool(bl::ecs::Entity)>;
44 virtual void addCustomSymbols(bl::script::SymbolTable& table)
const override;
49 const bl::ecs::Entity owner;
Core classes and functionality for both the editor and game.
Special script context for conversation scripts. Adds the default Peoplemon built-ins and the convers...
virtual void addCustomSymbols(bl::script::SymbolTable &table) const override
std::function< bool(bl::ecs::Entity)> StatusCb
Special callback type for reporting conversation state.
ConversationContext(system::Systems &systems, bl::ecs::Entity entity, const StatusCb &cb)
Construct a new ConversationContext.
Owns all primary systems and a reference to the engine.