1 | =head1 CROSSFIRE PLUG-IN EVENTS |
1 | =head1 CROSSFIRE+ PLUG-IN EVENTS |
2 | |
2 | |
3 | This document briefly describes each plug-in event. It is also used to |
3 | This document briefly describes each plug-in event. It is also used to |
4 | generate the event-list itself, so is always complete. Be careful wehn |
4 | generate the event-list itself, so is always complete. Be careful wehn |
5 | changing it, though. |
5 | changing it, though. |
6 | |
6 | |
… | |
… | |
183 | |
183 | |
184 | =head2 GLOBAL EVENTS |
184 | =head2 GLOBAL EVENTS |
185 | |
185 | |
186 | Global events have no relation to specific objects. |
186 | Global events have no relation to specific objects. |
187 | |
187 | |
|
|
188 | =head3 cleanup () |
|
|
189 | |
|
|
190 | Called when the server is cleaning up, just before it calls exit. |
|
|
191 | |
188 | =head3 clock ( ) |
192 | =head3 clock ( ) |
189 | |
193 | |
190 | Is invoked on every server tick, usually every 0.12 seconds. |
194 | Is invoked on every server tick, usually every 0.12 seconds. |
|
|
195 | |
191 | |
196 | |
192 | =head2 PLAYER EVENTS |
197 | =head2 PLAYER EVENTS |
193 | |
198 | |
194 | Player events always have a player object as first argument. |
199 | Player events always have a player object as first argument. |
195 | |
200 | |