OpenTTD Source: SQConvert::HelperT< Tretval(Tcls::*)(Targs...)> Struct Template Reference

OpenTTD Source 13.1

Static Public Member Functions | Static Private Member Functions
SQConvert::HelperT< Tretval(Tcls::*)(Targs...)> Struct Template Reference

The real C++ caller for methods. More...

`#include <squirrel_helper.hpp>`

## Static Public Member Functions
static int | SQCall (Tcls *instance, Tretval(Tcls::*func)(Targs...), HSQUIRRELVM vm)
static Tcls * | SQConstruct (Tcls *instance, Tretval(Tcls::*func)(Targs...), HSQUIRRELVM vm)

## Static Private Member Functions
template<size_t... i>
static int | SQCall (Tcls *instance, Tretval(Tcls::*func)(Targs...), [[maybe_unused]] HSQUIRRELVM vm, std::index_sequence< i... >)
template<size_t... i>
static Tcls * | SQConstruct (Tcls *, Tretval(Tcls::*func)(Targs...), [[maybe_unused]] HSQUIRRELVM vm, std::index_sequence< i... >)

## Detailed Description

### template<class Tcls, typename Tretval, typename... Targs>
struct SQConvert::HelperT< Tretval(Tcls::*)(Targs...)>

The real C++ caller for methods.

Definition at line 167 of file squirrel_helper.hpp.

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

- src/script/squirrel_helper.hpp