Skip to content

ScriptingModule

#include "Scripting/ScriptingModule.h"

Inherits from Module

Public Functions

Name
voidclearTimers()
sol::state &environment()
std::ostringstream &outputStream()
std::optional< ScriptError >runScript(const char * luaSource)

Additional inherited members

Public Functions inherited from Module

Name
Module() =default
virtual~Module() =default
virtual voidonBeginFrame()
virtual voidonEndFrame()

Friends inherited from Module

Name
classApplication

Public Functions Documentation

function clearTimers

cpp
void clearTimers()
void clearTimers()

function environment

cpp
inline sol::state & environment()
inline sol::state & environment()

function outputStream

cpp
inline std::ostringstream & outputStream()
inline std::ostringstream & outputStream()

function runScript

cpp
std::optional< ScriptError > runScript(
    const char * luaSource
)
std::optional< ScriptError > runScript(
    const char * luaSource
)

Updated on 2025-01-07 at 13:40:43 +0000