summaryrefslogblamecommitdiff
path: root/src/map/intif.hpp
blob: 766af59c96cd89abc3ae9a20957f64d626cfb74d (plain) (tree)
1
2
3
4
5
6
7
8
9
                 
                 
 

                                    

                  
                        
 
                                                 
 
                                                                                       
                     
                                                                                     
                     
 

                                                            
 

                                             
 
                                                                        


                                                                   
                  
                                                    
                                                                     

                                                                                
 
                   
#ifndef INTIF_HPP
#define INTIF_HPP

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

#include "map.hpp"

int intif_parse(int fd);

void intif_GMmessage(const_string mes, int flag);

int intif_wis_message(dumb_ptr<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(dumb_ptr<map_session_data> sd);
int intif_request_accountreg(dumb_ptr<map_session_data> sd);

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

int intif_create_party(dumb_ptr<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(dumb_ptr<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