OpenMiner  0.0.1a
Voxel game engine
Public Member Functions | List of all members
sol::stack::probe_field_getter< T, P, b, raw, typename > Struct Template Reference

#include <sol.hpp>

Public Member Functions

template<typename Key >
probe get (lua_State *L, Key &&key, int tableindex=-2)
 

Member Function Documentation

§ get()

template<typename T, typename P, bool b, bool raw, typename >
template<typename Key >
probe sol::stack::probe_field_getter< T, P, b, raw, typename >::get ( lua_State *  L,
Key &&  key,
int  tableindex = -2 
)
inline
11651  {
11652  if (!b && !maybe_indexable(L, tableindex)) {
11653  return probe(false, 0);
11654  }
11655  get_field<b, raw>(L, std::forward<Key>(key), tableindex);
11656  return probe(check<P>(L), 1);
11657  }
bool maybe_indexable(lua_State *L, int index=-1)
Definition: sol.hpp:7738

The documentation for this struct was generated from the following file: