|
Tramway SDK v0.1.1
|
Provides script language subclassing. More...
#include <entities/script.h>
Public Member Functions | |
| Scriptable (const SharedEntityData &shared_data, const ValueArray &field_array, name_t type) | |
| ~Scriptable () | |
| void | UpdateParameters () |
| void | SetParameters () |
| void | Load () |
| void | Unload () |
| void | Serialize () |
| void | SanitizeData (Value &data) |
| void | MessageHandler (Message &msg) |
| void | EventHandler (Event &evt) |
| name_t | GetType () |
Protected Attributes | |
| name_t | type |
Provides script language subclassing.
If you want to create a sublass in C++, it's easy – just #include the class header and make subclass. But if you want to do so from a scripting language, e.g. Lua, you will need an interface on the C++ side. This template provides such an interface.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |