summaryrefslogtreecommitdiff
path: root/src/map/intif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-08-08 16:48:12 +0200
committerGitHub <noreply@github.com>2017-08-08 16:48:12 +0200
commit89ccf19c2780f80aa475c07fcea5750519266807 (patch)
treedeb8adacb1904b4c86e94e3ab8ce29d4ce862be7 /src/map/intif.h
parente1e27fd07bfa1a90eeb2d4bfff32c70258cc07df (diff)
parent544da439e81ff78ec102b754e16b6cc0a28a6d0a (diff)
downloadhercules-89ccf19c2780f80aa475c07fcea5750519266807.tar.gz
hercules-89ccf19c2780f80aa475c07fcea5750519266807.tar.bz2
hercules-89ccf19c2780f80aa475c07fcea5750519266807.tar.xz
hercules-89ccf19c2780f80aa475c07fcea5750519266807.zip
Merge pull request #1686 from guilherme-gm/rodex_
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