Tramway SDK
|
Classes | |
struct | Language |
Functions | |
void | SetGlobal (name_t name, value_t value) |
value_t | GetGlobal (name_t name) |
void | SetFunction (name_t name, std::vector< Type > parameters, value_t(*function)(valuearray_t)) |
value_t | CallFunction (name_t name, std::vector< Value > parameters) |
void | SetLanguage (Language lang) |
void | LoadScript (const char *path) |
void | Init () |
void tram::Script::Init | ( | ) |
void tram::Script::LoadScript | ( | const char * | path | ) |
void tram::Script::SetFunction | ( | name_t | name, |
std::vector< Type > | parameters, | ||
value_t(*)(valuearray_t) | function | ||
) |
void tram::Script::SetLanguage | ( | Language | lang | ) |