… | |
… | |
95 | #define EVENT_PLAYER_USE_SKILL 36 /* player was just trying to use a skill */ |
95 | #define EVENT_PLAYER_USE_SKILL 36 /* player was just trying to use a skill */ |
96 | #define EVENT_MONSTER_USE_SKILL 37 /* monster was just trying to use a skill*/ |
96 | #define EVENT_MONSTER_USE_SKILL 37 /* monster was just trying to use a skill*/ |
97 | #define EVENT_FIND_UNARMED_SKILL 38 /* lets a plugin find the unarmed skill */ |
97 | #define EVENT_FIND_UNARMED_SKILL 38 /* lets a plugin find the unarmed skill */ |
98 | #define EVENT_EXTCMD 39 /* Low-Level socket command */ |
98 | #define EVENT_EXTCMD 39 /* Low-Level socket command */ |
99 | #define EVENT_CAST_SPELL 40 /* Something successfully casted a spell */ |
99 | #define EVENT_CAST_SPELL 40 /* Something successfully casted a spell */ |
|
|
100 | #define EVENT_DROP_ON 41 /* Something was dropped on this (floor) */ |
100 | /* should add FREE_MAP, FREE_PLAYER */ |
101 | /* should add FREE_MAP, FREE_PLAYER */ |
101 | |
102 | |
102 | #define NR_EVENTS 41 |
103 | #define NR_EVENTS 42 |
103 | |
104 | |
104 | #include <stdarg.h> |
105 | #include <stdarg.h> |
105 | |
106 | |
106 | #define CFAPI_NONE 0 |
107 | #define CFAPI_NONE 0 |
107 | #define CFAPI_INT 1 |
108 | #define CFAPI_INT 1 |