blob: 0345c0b4569458c4eba247fa69f3ce17b1548903 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef STORAGE_HPP
#define STORAGE_HPP
#include "../common/mmo.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_storageaddfromcart(struct map_session_data *sd, int index,
int amount);
int storage_storagegettocart(struct map_session_data *sd, int index,
int amount);
int storage_storageclose(struct map_session_data *sd);
int do_init_storage(void);
void do_final_storage(void);
void do_reconnect_storage(void);
struct storage *account2storage(int account_id);
struct storage *account2storage2(int account_id);
int storage_delete(int account_id);
int storage_storage_quit(struct map_session_data *sd);
int storage_storage_save(int account_id, int final);
int storage_storage_saved(int account_id);
void storage_storage_dirty(struct map_session_data *sd);
int storage_comp_item(const void *_i1, const void *_i2);
//int storage_comp_item(const struct item* i1, const struct item* i2);
void sortage_sortitem(struct storage *stor);
#endif // STORAGE_HPP
|