diff options
author | shennetsind <notind@gmail.com> | 2013-08-08 11:19:02 -0700 |
---|---|---|
committer | shennetsind <notind@gmail.com> | 2013-08-08 11:19:02 -0700 |
commit | 1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f (patch) | |
tree | cbfd9f0847cb5b9e65cd77ab4e8861f34165c67d /src/map/HPMmap.h | |
parent | defac0ef9714121a872ab48c3f6c4ddd177ae509 (diff) | |
parent | 04db720ee56ad8ddddf4255575c5d60e2c214a13 (diff) | |
download | hercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.tar.gz hercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.tar.bz2 hercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.tar.xz hercules-1197e46b6ca1f399edc18fbd60a3e2c4adf6c32f.zip |
Merge pull request #83 from HerculesWS/HPMUpdateR2
Hercules Plugin Manager Update
Diffstat (limited to 'src/map/HPMmap.h')
-rw-r--r-- | src/map/HPMmap.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/map/HPMmap.h b/src/map/HPMmap.h new file mode 100644 index 000000000..a6cac4ace --- /dev/null +++ b/src/map/HPMmap.h @@ -0,0 +1,18 @@ +// Copyright (c) Hercules Dev Team, licensed under GNU GPL. +// See the LICENSE file + +#ifndef _HPM_MAP_ +#define _HPM_MAP_ + +#include "../common/cbasetypes.h" + +struct hplugin; +struct map_session_data; + +void HPM_map_addToMSD(struct map_session_data *sd, void *data, unsigned int id, unsigned int type, bool autofree); +void *HPM_map_getFromMSD(struct map_session_data *sd, unsigned int id, unsigned int type); +void HPM_map_removeFromMSD(struct map_session_data *sd, unsigned int id, unsigned int type); + +void HPM_map_plugin_load_sub(struct hplugin *plugin); + +#endif /* _HPM_MAP_ */ |