Atrinik Server  4.0
Macros
Map event numbers

Macros

#define MEVENT_ENTER   1
 
#define MEVENT_LEAVE   2
 
#define MEVENT_RESET   3
 
#define MEVENT_SPELL_CAST   4
 
#define MEVENT_SKILL_USED   5
 
#define MEVENT_DROP   6
 
#define MEVENT_PICK   7
 
#define MEVENT_PUT   8
 
#define MEVENT_APPLY   9
 
#define MEVENT_LOGIN   10
 
#define MEVENT_CMD_DROP   11
 
#define MEVENT_CMD_TAKE   12
 
#define MEVENT_EXAMINE   13
 

Detailed Description

Map-wide events.

Macro Definition Documentation

#define MEVENT_APPLY   9

An item is being applied.

Definition at line 135 of file plugin.h.

#define MEVENT_CMD_DROP   11

The /drop command was used.

Definition at line 139 of file plugin.h.

#define MEVENT_CMD_TAKE   12

The /take command was used.

Definition at line 141 of file plugin.h.

#define MEVENT_DROP   6

Player is dropping an item.

Definition at line 129 of file plugin.h.

#define MEVENT_ENTER   1

A player entered a map.

Definition at line 119 of file plugin.h.

#define MEVENT_EXAMINE   13

Item was examined.

Definition at line 143 of file plugin.h.

#define MEVENT_LEAVE   2

A player left a map.

Definition at line 121 of file plugin.h.

#define MEVENT_LOGIN   10

Player has logged in.

Definition at line 137 of file plugin.h.

#define MEVENT_PICK   7

Player is trying to pick up an item.

Definition at line 131 of file plugin.h.

#define MEVENT_PUT   8

Player is trying to put an item to a container on map.

Definition at line 133 of file plugin.h.

#define MEVENT_RESET   3

A map is resetting.

Definition at line 123 of file plugin.h.

#define MEVENT_SKILL_USED   5

A skill is being used.

Definition at line 127 of file plugin.h.

#define MEVENT_SPELL_CAST   4

A spell is being cast.

Definition at line 125 of file plugin.h.