summaryrefslogtreecommitdiff
path: root/src/map/intif.h
diff options
context:
space:
mode:
authorKirieZ <guilherme.menaldo@outlook.com>2017-07-30 13:45:41 -0300
committerKirieZ <guilherme.menaldo@outlook.com>2017-07-30 13:45:41 -0300
commit544da439e81ff78ec102b754e16b6cc0a28a6d0a (patch)
tree6fef53b94dec9f72b65b39df08fb8eb4160a467f /src/map/intif.h
parent71d694baa88d2beb6ec0f89fb2f8b733898acea5 (diff)
downloadhercules-544da439e81ff78ec102b754e16b6cc0a28a6d0a.tar.gz
hercules-544da439e81ff78ec102b754e16b6cc0a28a6d0a.tar.bz2
hercules-544da439e81ff78ec102b754e16b6cc0a28a6d0a.tar.xz
hercules-544da439e81ff78ec102b754e16b6cc0a28a6d0a.zip
Implementation of RoDEX
Diffstat (limited to 'src/map/intif.h')
-rw-r--r--src/map/intif.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/intif.h b/src/map/intif.h
index 3d6a52440..4bca5f167 100644
--- a/src/map/intif.h
+++ b/src/map/intif.h
@@ -37,6 +37,7 @@ struct s_elemental;
struct s_homunculus;
struct s_mercenary;
struct s_pet;
+struct rodex_message;
/**
* Defines
@@ -131,6 +132,12 @@ struct intif_interface {
int (*elemental_request) (int ele_id, int char_id);
int (*elemental_delete) (int ele_id);
int (*elemental_save) (struct s_elemental *ele);
+ // RoDEX
+ int(*rodex_requestinbox) (int char_id, int account_id, int8 flag, int8 opentype, int64 mail_id);
+ int(*rodex_checkhasnew) (struct map_session_data *sd);
+ int(*rodex_updatemail) (int64 mail_id, int8 flag);
+ int(*rodex_sendmail) (struct rodex_message *msg);
+ int(*rodex_checkname) (struct map_session_data *sd, const char *name);
/* @accinfo */
void (*request_accinfo) (int u_fd, int aid, int group_lv, char* query);
/* */
@@ -200,6 +207,11 @@ struct intif_interface {
void (*pRecvHomunculusData) (int fd);
void (*pSaveHomunculusOk) (int fd);
void (*pDeleteHomunculusOk) (int fd);
+ /* RoDEX */
+ void(*pRequestRodexOpenInbox) (int fd);
+ void(*pRodexHasNew) (int fd);
+ void(*pRodexSendMail) (int fd);
+ void(*pRodexCheckName) (int fd);
};
#ifdef HERCULES_CORE