diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-23 20:20:06 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-23 20:20:06 +0000 |
commit | be12ec3ffb1632d8f9f7727ae9a17ea137bde375 (patch) | |
tree | 821d07f7d405ec9c89010cadac06395ea5ca622b /src/map/log.h | |
parent | 3a582ad4976cd2672e22a33cd738346e5e09a9bd (diff) | |
download | hercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.tar.gz hercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.tar.bz2 hercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.tar.xz hercules-be12ec3ffb1632d8f9f7727ae9a17ea137bde375.zip |
Added LOGMES script command
implemented an example: kafra_bank.txt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@759 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.h')
-rw-r--r-- | src/map/log.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/log.h b/src/map/log.h index d4ad0bd66..7130a8f6a 100644 --- a/src/map/log.h +++ b/src/map/log.h @@ -19,15 +19,16 @@ int log_trade(struct map_session_data *sd,struct map_session_data *target_sd,int int log_vend(struct map_session_data *sd,struct map_session_data *vsd,int n,int amount,int zeny); int log_zeny(struct map_session_data *sd, struct map_session_data *target_sd,int amount); int log_atcommand(struct map_session_data *sd, const char *message); +int log_npc(struct map_session_data *sd, const char *message); int log_config_read(char *cfgName); extern struct Log_Config { int enable_logs; int sql_logs; - int branch, drop, mvpdrop, present, produce, refine, trade, vend, zeny, gm; - char log_branch[32], log_drop[32], log_mvpdrop[32], log_present[32], log_produce[32], log_refine[32], log_trade[32], log_vend[32], log_gm[32]; - char log_branch_db[32], log_drop_db[32], log_mvpdrop_db[32], log_present_db[32], log_produce_db[32], log_refine_db[32], log_trade_db[32], log_vend_db[32], log_gm_db[32]; + int branch, drop, mvpdrop, present, produce, refine, trade, vend, zeny, gm, npc; + char log_branch[32], log_drop[32], log_mvpdrop[32], log_present[32], log_produce[32], log_refine[32], log_trade[32], log_vend[32], log_gm[32], log_npc[32]; + char log_branch_db[32], log_drop_db[32], log_mvpdrop_db[32], log_present_db[32], log_produce_db[32], log_refine_db[32], log_trade_db[32], log_vend_db[32], log_gm_db[32], log_npc_db[32]; } log_config; #endif |