summaryrefslogtreecommitdiff
path: root/src/map/storage.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/storage.hpp')
-rw-r--r--src/map/storage.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/map/storage.hpp b/src/map/storage.hpp
index 1974efb..8f31517 100644
--- a/src/map/storage.hpp
+++ b/src/map/storage.hpp
@@ -4,15 +4,17 @@
#ifndef STORAGE_HPP
#define STORAGE_HPP
-int storage_storageopen(struct map_session_data *sd);
-int storage_storageadd(struct map_session_data *sd, int index, int amount);
-int storage_storageget(struct map_session_data *sd, int index, int amount);
-int storage_storageclose(struct map_session_data *sd);
+#include "map.hpp"
+
+int storage_storageopen(dumb_ptr<map_session_data> sd);
+int storage_storageadd(dumb_ptr<map_session_data> sd, int index, int amount);
+int storage_storageget(dumb_ptr<map_session_data> sd, int index, int amount);
+int storage_storageclose(dumb_ptr<map_session_data> sd);
void do_init_storage(void);
void do_final_storage(void);
struct storage *account2storage(int account_id);
struct storage *account2storage2(int account_id);
-int storage_storage_quit(struct map_session_data *sd);
+int storage_storage_quit(dumb_ptr<map_session_data> sd);
int storage_storage_save(int account_id, int final);
int storage_storage_saved(int account_id);