summaryrefslogblamecommitdiff
path: root/src/map/atcommand.hpp
blob: b494a25858d554e6fddee8b7b6cd0fa9750f4965 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                     
 
                              
 
                                     
 
                   

                                                              
                                    
 
                                            
 
                                                               
 
                       
                      
 

                                             
                       
#ifndef ATCOMMAND_HPP
#define ATCOMMAND_HPP

# include "../strings/fwd.hpp"

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

# include "map.hpp"

bool is_atcommand(const int fd, dumb_ptr<map_session_data> sd,
        ZString message, int gmlvl);

bool atcommand_config_read(ZString cfgName);

void log_atcommand(dumb_ptr<map_session_data> sd, ZString cmd);

// only used by map.cpp
extern FString gm_log;

void atcommand_config_write(ZString cfgName);

#endif // ATCOMMAND_HPP