|
Atrinik Client 2.5
|
Go to the source code of this file.
Functions | |
| static void | script_dead (int i) |
| static void | script_process_cmd (int i) |
| static int | script_by_name (const char *name) |
| static void | script_send_item (int i, const char *head, const object *it) |
| void | script_load (const char *cparams) |
| void | script_list () |
| void | script_process () |
| int | script_trigger_event (const char *cmd, const uint8 *data, const int data_len, const enum CmdFormat format) |
| void | script_send (const char *params) |
| void | script_killall () |
| void | script_autoload () |
| void | script_unload (const char *params) |
Variables | |
| static struct script * | scripts = NULL |
| static int | num_scripts = 0 |
Implements client side scripting support.
Definition in file scripts.c.
| void script_autoload | ( | ) |
| static int script_by_name | ( | const char * | name | ) | [static] |
| static void script_dead | ( | int | i | ) | [static] |
| void script_killall | ( | ) |
| void script_load | ( | const char * | cparams | ) |
| static void script_process_cmd | ( | int | i | ) | [static] |
| void script_send | ( | const char * | params | ) |
| static void script_send_item | ( | int | i, |
| const char * | head, | ||
| const object * | it | ||
| ) | [static] |
| void script_unload | ( | const char * | params | ) |
Unload a script.
| params | Script name or ID. Uses script_by_name() to find the real script ID. |
int num_scripts = 0 [static] |
1.7.4