summaryrefslogtreecommitdiff
path: root/src/map/chrif.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-02-02 18:35:15 -0200
committershennetsind <ind@henn.et>2014-02-02 18:35:15 -0200
commit9132878d911cfe720eaad94ad3d4a5dd11958f99 (patch)
treee24e9668836c9cf8d6856b12a8f75a261502a3f4 /src/map/chrif.h
parent00ef66fb9261a50e6761cf77c11e7f468494c95f (diff)
downloadhercules-9132878d911cfe720eaad94ad3d4a5dd11958f99.tar.gz
hercules-9132878d911cfe720eaad94ad3d4a5dd11958f99.tar.bz2
hercules-9132878d911cfe720eaad94ad3d4a5dd11958f99.tar.xz
hercules-9132878d911cfe720eaad94ad3d4a5dd11958f99.zip
Fixed Bug 7962
Fixed issue with "permanent" (durationless) status changes (such as carts) integrity caused on server shutdown. Special Thanks to Haru! http://hercules.ws/board/tracker/issue-7962-command-at/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/chrif.h')
-rw-r--r--src/map/chrif.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/chrif.h b/src/map/chrif.h
index 59e45a2ea..25e955604 100644
--- a/src/map/chrif.h
+++ b/src/map/chrif.h
@@ -9,6 +9,8 @@
#include <time.h>
#include "map.h" //TBL_stuff
+struct status_change_entry;
+
/**
* Defines
**/
@@ -140,6 +142,8 @@ struct chrif_interface {
void (*on_ready) (void);
void (*on_disconnect) (void);
int (*parse) (int fd);
+ void (*save_scdata_single) (int account_id, int char_id, short type, struct status_change_entry *sce);
+ void (*del_scdata_single) (int account_id, int char_id, short type);
};
struct chrif_interface *chrif;