From 8c5320a94b4c91f2801c05766f6a1747de42a2e5 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 18 May 2019 18:12:56 +0500 Subject: Implemented more scripting APIs --- src/Plugin.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Plugin.hpp') diff --git a/src/Plugin.hpp b/src/Plugin.hpp index a5f75e1..3b61011 100644 --- a/src/Plugin.hpp +++ b/src/Plugin.hpp @@ -5,7 +5,9 @@ namespace PluginSystem { void Init(); - void Execute(const std::string &luaCode); + void Execute(const std::string &luaCode, bool except = false); void CallOnChangeState(std::string newState); + + void CallOnTick(double deltaTime); } \ No newline at end of file -- cgit v1.2.3