OpenTTD Source: SQConvert::Return< T > Struct Template Reference

OpenTTD Source 15.3

Static Public Member Functions
SQConvert::Return< T > Struct Template Reference

## Static Public Member Functions
static int | Set (HSQUIRRELVM vm, T res)
static int | Set (HSQUIRRELVM vm, T res)

## Detailed Description

template<typename T>
requires std::is_enum_v<T>
struct SQConvert::Return< T >

Definition at line 44 of file squirrel_helper.hpp.

## Member Function Documentation

## ◆ Set() [1/2]

template<typename T >

static int SQConvert::Return< T >::Set | ( | HSQUIRRELVM | vm,
|  | T | res
| ) |  |
| inlinestatic

Definition at line 45 of file squirrel_helper.hpp.

## ◆ Set() [2/2]

template<typename T >

static int SQConvert::Return< T >::Set | ( | HSQUIRRELVM | vm,
|  | T | res
| ) |  |
| inlinestatic

Definition at line 53 of file squirrel_helper.hpp.

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

- src/script/squirrel_helper.hpp