diff options
author | Haru <haru@dotalux.com> | 2015-12-20 17:06:16 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-20 17:06:16 +0100 |
commit | 8382ee1cea443ac62a16c21c750423f3a2a624af (patch) | |
tree | 0a4e3323ef1067a80cc2434540387745ab3a0193 /src/map/script.h | |
parent | e1da188f662d32e2e737beef5aea5b0ca0a586e5 (diff) | |
parent | 23235fab728d1ac5cba1bfefc4209c7c9ae209fb (diff) | |
download | hercules-8382ee1cea443ac62a16c21c750423f3a2a624af.tar.gz hercules-8382ee1cea443ac62a16c21c750423f3a2a624af.tar.bz2 hercules-8382ee1cea443ac62a16c21c750423f3a2a624af.tar.xz hercules-8382ee1cea443ac62a16c21c750423f3a2a624af.zip |
Merge branch 'AnnieRuru-request_27' into hercules
Closes #950 as merged
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index c47956eeb..36b7edef3 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -647,6 +647,9 @@ struct script_interface { int (*conv_num) (struct script_state *st,struct script_data *data); const char* (*conv_str) (struct script_state *st,struct script_data *data); TBL_PC *(*rid2sd) (struct script_state *st); + TBL_PC *(*id2sd) (struct script_state *st, int account_id); + TBL_PC *(*charid2sd) (struct script_state *st, int char_id); + TBL_PC *(*nick2sd) (struct script_state *st, const char *name); void (*detach_rid) (struct script_state* st); struct script_data* (*push_val)(struct script_stack* stack, enum c_op type, int64 val, struct reg_db *ref); struct script_data *(*get_val) (struct script_state* st, struct script_data* data); |