summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-02-18 20:54:23 +0100
committerGitHub <noreply@github.com>2018-02-18 20:54:23 +0100
commit38914c4b3362a055468e3d3d8c26204c4a2d50d2 (patch)
tree5e5b86cb10ca1cf0c779a2e8fee17063050cc0a9 /src/map/script.h
parent60870581e1e2dd740751c1104299536975015b9e (diff)
parentfdaa7d2568d03cd6bb7507e5cedbf597f847f178 (diff)
downloadhercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.tar.gz
hercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.tar.bz2
hercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.tar.xz
hercules-38914c4b3362a055468e3d3d8c26204c4a2d50d2.zip
Merge pull request #1976 from mekolat/printf
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);