_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
29 #ifndef LUA_CALLBACK_HEADER_FILE
30 #define LUA_CALLBACK_HEADER_FILE
50 void pushTable(std::initializer_list<std::pair<std::string, std::variant<std::string, int>>> list);
51 void pushTable(std::map<std::string, std::variant<std::string, int>> map);
52 void run(
int results = 0);
bool popBoolean()
Definition: luacallback.cpp:141
void pushInteger(int value)
Definition: luacallback.cpp:72
void pushString(const std::string &eventId)
Definition: luacallback.cpp:99
void pushTable(std::initializer_list< std::pair< std::string, std::variant< std::string, int >>> list)
Definition: luacallback.cpp:108
void run(int results=0)
Definition: luacallback.cpp:178
~LuaCallback()
Definition: luacallback.cpp:187
void pushIntegers(const std::vector< int > &values)
Definition: luacallback.cpp:83
int lua_Object
Definition: luacallback.h:38
LuaCallback(lua_State *lua, lua_Object luaref)
Definition: luacallback.cpp:44
Definition: luacallback.h:41
void pushPreamble()
Definition: luacallback.cpp:59
int popInteger()
Definition: luacallback.cpp:158
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.