Tramway SDK
Classes | Namespaces | Functions
script.h File Reference
#include <framework/value.h>
#include <vector>

Go to the source code of this file.

Classes

struct  tram::Script::Language
 

Namespaces

namespace  tram
 
namespace  tram::Script
 

Functions

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