diff options
author | shennetsind <ind@henn.et> | 2013-11-04 21:13:19 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-04 22:32:36 -0200 |
commit | 0a965aafde882e905ea71f3bcef8f4ff81c1c327 (patch) | |
tree | ab98747ab350cf16847418c68be191db99765a34 /src/map/pc.h | |
parent | fa07bc455ebb511defa9623fedc8074d66135c19 (diff) | |
download | hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.gz hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.bz2 hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.tar.xz hercules-0a965aafde882e905ea71f3bcef8f4ff81c1c327.zip |
pc_groups interfaced
The last file without a interface is now no more (date.h doesn't count :P).
Modified the way permissions are stored in order to enable plugins to be able to create permissions ( pcg->add_permission("name") [returns permission key] ).
Special Thanks to Haruna!
Closes #121
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 8eb7e692a..05e8ba7b4 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -751,7 +751,7 @@ struct pc_interface { bool (*can_give_items) (struct map_session_data *sd); bool (*can_use_command) (struct map_session_data *sd, const char *command); - bool (*has_permission) (struct map_session_data *sd, enum e_pc_permission permission); + bool (*has_permission) (struct map_session_data *sd, unsigned int permission); int (*set_group) (struct map_session_data *sd, int group_id); bool (*should_log_commands) (struct map_session_data *sd); |