summaryrefslogtreecommitdiff
path: root/src/map/HPMmap.h
blob: b1957b139bbacb9d85d0059438f1997960ff7637 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file

#ifndef MAP_HPMMAP_H
#define MAP_HPMMAP_H

#ifndef HERCULES_CORE
#error You should never include HPMmap.h from a plugin.
#endif

#include "map/atcommand.h"
#include "common/cbasetypes.h"
#include "common/HPM.h"

struct hplugin;
struct map_session_data;

bool HPM_map_data_store_validate(enum HPluginDataTypes type, struct hplugin_data_store **storeptr, bool initialize);

bool HPM_map_add_atcommand(char *name, AtCommandFunc func);
void HPM_map_atcommands(void);

void HPM_map_plugin_load_sub(struct hplugin *plugin);

void HPM_map_do_final(void);

void HPM_map_add_group_permission(unsigned int pluginID, char *name, unsigned int *mask);

void HPM_map_do_init(void);

#endif /* MAP_HPMMAP_H */