Otclient  14/8/2020
luaobject.h File Reference
#include "declarations.h"
#include "luainterface.h"
Include dependency graph for luaobject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LuaObject
 LuaObject, all script-able classes have it as base. More...
 
struct  luabinder::connect_lambda< F >
 
struct  luabinder::connect_lambda< Ret(Lambda::*)(Args...) const >
 

Namespaces

 luabinder
 

Functions

template<typename F >
void connect (const LuaObjectPtr &obj, const std::string &field, const std::function< F > &f, bool pushFront=false)
 
template<typename Lambda >
std::enable_if< std::is_constructible< decltype(&Lambda::operator())>::value, void >::type connect (const LuaObjectPtr &obj, const std::string &field, const Lambda &f, bool pushFront)
 

Variables

template<typename Lambda >
std::enable_if< std::is_constructible< decltype(&Lambda::operator())>::value, void >::type connect (const LuaObjectPtr &obj, const std::string &field, const Lambda &f, bool pushFront=false)
 

Function Documentation

◆ connect() [1/2]

template<typename Lambda >
std::enable_if<std::is_constructible<decltype(&Lambda::operator())>::value, void>::type connect ( const LuaObjectPtr obj,
const std::string &  field,
const Lambda &  f,
bool  pushFront 
)

Definition at line 146 of file luaobject.h.

◆ connect() [2/2]

template<typename F >
void connect ( const LuaObjectPtr obj,
const std::string &  field,
const std::function< F > &  f,
bool  pushFront = false 
)

Definition at line 127 of file luaobject.h.

Variable Documentation

◆ connect

template<typename Lambda >
std::enable_if<std::is_constructible<decltype(&Lambda::operator())>::value, void>::type connect(const LuaObjectPtr &obj, const std::string &field, const Lambda &f, bool pushFront=false)

Definition at line 96 of file luaobject.h.