ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/eventinc.h
Revision: 1.4
Committed: Sat Aug 26 08:44:06 2006 UTC (17 years, 9 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.3: +5 -0 lines
Log Message:
many, many cleanups

File Contents

# Content
1 // define event types by enumerating them here
2
3 // global events
4 def (GLOBAL, CLOCK) // NYI
5
6 // per-player
7 def (PLAYER, BIRTH) // called as very first thing after creating a player
8 def (PLAYER, QUIT) // called after logout
9 def (PLAYER, LOAD)
10 def (PLAYER, SAVE)
11 def (PLAYER, LOGIN)
12 def (PLAYER, LOGOUT)
13 def (PLAYER, DEATH)
14 def (PLAYER, ENTER)
15 def (PLAYER, LEAVE)
16 def (PLAYER, USE_SKILL)
17 def (PLAYER, EXTCMD)
18 def (PLAYER, PRAY_ALTAR)
19 def (PLAYER, TELL) //NYI
20 def (PLAYER, SAY) //NYI
21 def (PLAYER, SHOUT) //NYI
22
23 // per-object events
24 def (OBJECT, KILL)
25 def (OBJECT, APPLY)
26 def (OBJECT, USE_SKILL)
27 def (OBJECT, CAST_SPELL)
28 def (OBJECT, DROP_ON) // NYI
29 def (OBJECT, LISTEN) //NYI
30
31 // per-map
32 def (MAP, LOAD) // Original map has been loaded
33 def (MAP, SWAPIN) // Temporary map has been swapped in
34 def (MAP, SWAPOUT) // Map has been swapped out
35 def (MAP, RESET) // A map is resetting
36 def (MAP, CLEAN) // Temporary map will be deleted
37