Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Copyright (c) Athena Dev Teams - Licensed under GNU GPL
- // For more information, see LICENCE in the main folder
- // Legend Of Fea Statistics modules
- #ifndef _STATSLOF_H_
- #define _STATSLOF_H_
- #define MAX_SKILL_CNT 100 //Nombre de skill different max stocker
- #define MAX_CONSO_CNT 100 //Nombre de item different max stocker
- #define MAX_CHAR_ID 500 //Nombre de char different max stocker
- #define MAX_DMG_DONE 9 //Nombre de dmg different max stocker
- #define MAX_KILL_CNT 7 //Nombre de kill different max stocker
- #define MAX_HEAL_CNT 4 //Nombre de heal different max stocker
- #define MAX_GSKILL_CNT 5 //Nombre de gskill different max stocker
- #define MAX_GUILD_ID 500 //Nombre de guild different max stocker
- #define MAX_GKILL_CNT 7
- #define QUERY_LENGTH 128 //Taille max de nos requetes
- #define TYPEWOE 1 //Stats type
- #define TYPERWC 2
- #define CMDOK 1 //CMD status
- #define CMDFAIL -1
- #define CMDDEF 0
- #define STATSKILL 0
- #define STATCONSO 1
- #define STATDMG 2
- #define STATKILL 3
- #define STATDMGDONE 4
- #define STATHEAL 5
- #define STATGSKILL 6
- #define STATGKILL 7
- #define SKILL_OFFENSIVE 1
- #define SKILL_DEFENSIVE 2
- #define HEAL_REC 1
- #define HEAL_DONE 2
- #define MAX_BUFFER 512
- #define PLDEATH 1
- #define PLKILL 2
- #include "../common/mmo.h" // MAX_SKILL, struct square
- #include "map.h" // struct block_list
- //Definition part (please don't touch unless you know what you're doing)
- struct map_session_data;
- struct homun_data;
- struct skill_unit;
- struct skill_unit_group;
- struct status_change_entry;
- int statslof_addchar(int statstype,int index, int idplayers);
- int statslof_skill_cnt(struct map_session_data *sd, int idplayers, int idskill, int skilltype);
- int statslof_addskill(int index, int idskill, int skilltype);
- int statslof_conso_cnt(struct map_session_data *sd, int idplayers, int iditem);
- int statslof_addconso(int index, int idconso);
- int statslof_damage_cnt(struct map_session_data *sd, int idplayers, int idbyplayers,int dammage);
- int statslof_kill_cnt(struct map_session_data *sd, int idplayers, int idkill);
- int statslof_heal_cnt(struct map_session_data *sd, int idplayers, int hp, int healtype);
- int statslof_addguild(int statstype,int index, int idguild);
- int statslof_gskill_cnt(struct map_session_data *sd, int idguild, int idskill);
- int statslof_addgskill(int index, int idskill);
- int statslof_gkill_cnt(struct map_session_data *sd, int idguild, int idkill);
- int statslof_init();
- int statslof_insert_inCSV();
- #ifndef TXT_ONLY
- int statslof_insert_inDB();
- #endif /* not TXT_ONLY */
- int statslof_clean();
- int statslof_clean_tab();
- int statslof_reset();
- int statslof_enable(int typeStat);
- int statslof_disable(int typeStat);
- int statslof_display(struct map_session_data *sd, int statstype);
- int statslof_test(struct map_session_data *sd);
- int statslof_getCurrentTime();
- int statslof_getCurrentDate();
- #endif // _STATSLOF_H_
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement