#ifndef INTIF_HPP
#define INTIF_HPP

#include "../common/const_array.hpp"

int intif_parse(int fd);

void intif_GMmessage(const_string mes, int flag);

int intif_wis_message(struct map_session_data *sd, const char *nick, const char *mes,
        int mes_len);
int intif_wis_message_to_gm(const char *Wisp_name, int min_gm_level, const char *mes,
        int mes_len);

int intif_saveaccountreg(struct map_session_data *sd);
int intif_request_accountreg(struct map_session_data *sd);

int intif_request_storage(int account_id);
int intif_send_storage(struct storage *stor);

int intif_create_party(struct map_session_data *sd, const char *name);
int intif_request_partyinfo(int party_id);
int intif_party_addmember(int party_id, int account_id);
int intif_party_changeoption(int party_id, int account_id, int exp,
        int item);
int intif_party_leave(int party_id, int accound_id);
int intif_party_changemap(struct map_session_data *sd, int online);
int intif_party_message(int party_id, int account_id, const char *mes, int len);
int intif_party_checkconflict(int party_id, int account_id, const char *nick);

#endif // INTIF_HPP