summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-02-15 13:14:49 -0500
committergumi <git@gumi.ca>2018-02-15 13:38:29 -0500
commit000382738765bb2f96a92161c76ad14e3e58c61e (patch)
treeb27ea0060009a1641185b45105d512e3a7b8c762 /src/map/script.h
parent6ef4b0b7fa3ae0365dbd4f22949fa74f6e1657d9 (diff)
downloadhercules-000382738765bb2f96a92161c76ad14e3e58c61e.tar.gz
hercules-000382738765bb2f96a92161c76ad14e3e58c61e.tar.bz2
hercules-000382738765bb2f96a92161c76ad14e3e58c61e.tar.xz
hercules-000382738765bb2f96a92161c76ad14e3e58c61e.zip
expose script_sprintf to plugins
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 14d20838d..2dc3b2327 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -909,6 +909,7 @@ struct script_interface {
int (*buildin_mobuseskill_sub) (struct block_list *bl, va_list ap);
int (*cleanfloor_sub) (struct block_list *bl, va_list ap);
int (*run_func) (struct script_state *st);
+ bool (*sprintf) (struct script_state *st, int start, struct StringBuf *out);
const char *(*getfuncname) (struct script_state *st);
// for ENABLE_CASE_CHECK
unsigned int (*calc_hash_ci) (const char *p);