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 14:01:15 -0500
commitfdaa7d2568d03cd6bb7507e5cedbf597f847f178 (patch)
treefe84cd81e231f10d8b339b2b1cfac66f1bd8bad3 /src/map/script.h
parent59f02f1d406a1238f90d072949ac07279a90e9ea (diff)
downloadhercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.tar.gz
hercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.tar.bz2
hercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.tar.xz
hercules-fdaa7d2568d03cd6bb7507e5cedbf597f847f178.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);