diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-21 23:23:06 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-12-21 23:23:06 +0000 |
commit | 537296dd156e22592606eedf539395288855639b (patch) | |
tree | 32b88c8962f5b02e3f243f9461b4cb699ba6f908 /src/map/script.h | |
parent | 8cd45c468ef250dde8ac68e9c9d4ad30da9cf351 (diff) | |
download | hercules-537296dd156e22592606eedf539395288855639b.tar.gz hercules-537296dd156e22592606eedf539395288855639b.tar.bz2 hercules-537296dd156e22592606eedf539395288855639b.tar.xz hercules-537296dd156e22592606eedf539395288855639b.zip |
* Added script_setarray_pc for setting temporary character array variables outside of script.c without requiring them to use script-interal code (add_str and reference_uid).
- Applied script_setarray_pc to assignment of dynamic shop arrays (related r5841).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14613 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index d95ecbbb2..d6ede0e8b 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -168,6 +168,7 @@ struct DBMap* script_get_userfunc_db(void); void script_run_autobonus(const char *autobonus,int id, int pos); void script_cleararray_pc(struct map_session_data* sd, const char* varname, void* value); +void script_setarray_pc(struct map_session_data* sd, const char* varname, uint8 idx, void* value, int* refcache); int script_config_read(char *cfgName); int do_init_script(void); |