Freeciv-3.3: fc_lua Struct Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Data Fields
fc_lua Struct Reference

`#include <luascript.h>`

## Data Fields

lua_State * | state
luascript_log_func_t | output_fct
struct connection * | caller
struct luascript_func_hash * | funcs
struct luascript_signal_hash * | signals
struct luascript_signal_name_list * | signal_names

## Detailed Description

Definition at line 44 of file luascript.h.

## Field Documentation

## ◆ caller

struct connection* fc_lua::caller

Definition at line 49 of file luascript.h.

## ◆ funcs

struct luascript_func_hash* fc_lua::funcs

Definition at line 51 of file luascript.h.

## ◆ output_fct

luascript_log_func_t fc_lua::output_fct

Definition at line 47 of file luascript.h.

Referenced by luascript_new().

## ◆ signal_names

struct luascript_signal_name_list* fc_lua::signal_names

Definition at line 54 of file luascript.h.

## ◆ signals

struct luascript_signal_hash* fc_lua::signals

Definition at line 53 of file luascript.h.

## ◆ state

lua_State* fc_lua::state

Definition at line 45 of file luascript.h.

Referenced by script_client_init(), and script_server_init().