Tramway SDK
Public Attributes | List of all members
tram::Script::Language Struct Reference

#include <script.h>

Public Attributes

name_t name
 
value_t(* get_global )(name_t name)
 
void(* set_global )(name_t name, value_t value)
 
void(* set_function )(name_t name, std::vector< Type > parameters, value_t(*function)(valuearray_t))
 
value_t(* call_function )(name_t name, std::vector< Value > parameters)
 
void(* load_script )(const char *path)
 

Member Data Documentation

◆ call_function

value_t(* tram::Script::Language::call_function) (name_t name, std::vector< Value > parameters)

◆ get_global

value_t(* tram::Script::Language::get_global) (name_t name)

◆ load_script

void(* tram::Script::Language::load_script) (const char *path)

◆ name

name_t tram::Script::Language::name

◆ set_function

void(* tram::Script::Language::set_function) (name_t name, std::vector< Type > parameters, value_t(*function)(valuearray_t))

◆ set_global

void(* tram::Script::Language::set_global) (name_t name, value_t value)

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