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

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

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

# include "map.hpp"

bool is_atcommand(Session *s, 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 AString gm_log;

void atcommand_config_write(ZString cfgName);

#endif // ATCOMMAND_HPP