summaryrefslogtreecommitdiff
path: root/src/map/atcommand.hpp
blob: d81f04d22e8b4107aa54a3f569e23264654dc9d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef ATCOMMAND_HPP
#define ATCOMMAND_HPP

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

#include "map.hpp"

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

int atcommand_config_read(const char *cfgName);

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

// only used by map.cpp
extern std::string gm_logfile_name;

#endif // ATCOMMAND_HPP