Beispiel #1
0
int LogBestBrain::setLogOnlyLast(lua_State* luaState)
{
    bool onlyLast = luaL_checkbool(luaState, 1);
    setLogOnlyLast(onlyLast);

    return 0;
}
Beispiel #2
0
int LogBestBrain::setLogOnlyLast(lua_State* luaState)
{
    bool onlyLast = lua_toboolean(luaState, 1);
    setLogOnlyLast(onlyLast);

    return 0;
}